idiag: deprecate netlink message type defines in idiagnl.h
Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
22eb2569a5
commit
3b5226e3a2
2 changed files with 5 additions and 2 deletions
|
@ -21,6 +21,9 @@ extern "C" {
|
|||
|
||||
/**
|
||||
* Inet Diag message types
|
||||
*
|
||||
* deprecated: use TCPDIAG_GETSOCK, DCCPDIAG_GETSOCK and
|
||||
* INET_DIAG_GETSOCK_MAX from linux/inet_diag.h
|
||||
*/
|
||||
#define IDIAG_TCPDIAG_GETSOCK 18
|
||||
#define IDIAG_DCCPDIAG_GETSOCK 19
|
||||
|
|
|
@ -71,8 +71,8 @@ static struct nl_cache_ops idiagnl_msg_ops = {
|
|||
.co_name = "idiag/idiag",
|
||||
.co_hdrsize = sizeof(struct inet_diag_msg),
|
||||
.co_msgtypes = {
|
||||
{ IDIAG_TCPDIAG_GETSOCK, NL_ACT_NEW, "new" },
|
||||
{ IDIAG_DCCPDIAG_GETSOCK, NL_ACT_NEW, "new" },
|
||||
{ TCPDIAG_GETSOCK, NL_ACT_NEW, "new" },
|
||||
{ DCCPDIAG_GETSOCK, NL_ACT_NEW, "new" },
|
||||
END_OF_MSGTYPES_LIST,
|
||||
},
|
||||
.co_protocol = NETLINK_INET_DIAG,
|
||||
|
|
Loading…
Add table
Reference in a new issue