/linux/tools/net/ynl/lib/ |
H A D | ynl-priv.h | 161 return nlh->nlmsg_len - NLMSG_HDRLEN; in ynl_nlmsg_data_offset() argument 166 return (unsigned char *)nlh argument 142 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; ynl_nlmsg_put_header() local 150 ynl_nlmsg_data_len(const struct nlmsghdr * nlh) ynl_nlmsg_data_len() argument 155 ynl_nlmsg_data(const struct nlmsghdr * nlh) ynl_nlmsg_data() argument 172 ynl_nlmsg_put_extra_header(struct nlmsghdr * nlh,unsigned int size) ynl_nlmsg_put_extra_header() argument 202 ynl_attr_for_each(attr,nlh,fixed_hdr_sz) global() argument 245 __ynl_attr_put_overflow(struct nlmsghdr * nlh,size_t size) __ynl_attr_put_overflow() argument 260 ynl_attr_nest_start(struct nlmsghdr * nlh,unsigned int attr_type) ynl_attr_nest_start() argument 275 ynl_attr_nest_end(struct nlmsghdr * nlh,struct nlattr * attr) ynl_attr_nest_end() argument 281 ynl_attr_put(struct nlmsghdr * nlh,unsigned int attr_type,const void * value,size_t size) ynl_attr_put() argument 299 ynl_attr_put_str(struct nlmsghdr * nlh,unsigned int attr_type,const char * str) ynl_attr_put_str() argument 369 ynl_attr_put_s8(struct nlmsghdr * nlh,unsigned int attr_type,__s8 value) ynl_attr_put_s8() argument 375 ynl_attr_put_s16(struct nlmsghdr * nlh,unsigned int attr_type,__s16 value) ynl_attr_put_s16() argument 381 ynl_attr_put_s32(struct nlmsghdr * nlh,unsigned int attr_type,__s32 value) ynl_attr_put_s32() argument 387 ynl_attr_put_s64(struct nlmsghdr * nlh,unsigned int attr_type,__s64 value) ynl_attr_put_s64() argument 393 ynl_attr_put_u8(struct nlmsghdr * nlh,unsigned int attr_type,__u8 value) ynl_attr_put_u8() argument 399 ynl_attr_put_u16(struct nlmsghdr * nlh,unsigned int attr_type,__u16 value) ynl_attr_put_u16() argument 405 ynl_attr_put_u32(struct nlmsghdr * nlh,unsigned int attr_type,__u32 value) ynl_attr_put_u32() argument 411 ynl_attr_put_u64(struct nlmsghdr * nlh,unsigned int attr_type,__u64 value) ynl_attr_put_u64() argument 441 ynl_attr_put_uint(struct nlmsghdr * nlh,__u16 type,__u64 data) ynl_attr_put_uint() argument 450 ynl_attr_put_sint(struct nlmsghdr * nlh,__u16 type,__s64 data) ynl_attr_put_sint() argument [all...] |
H A D | ynl.c | 206 ynl_ext_ack_check(struct ynl_sock *ys, const struct nlmsghdr *nlh, in ynl_ext_ack_check() 326 ynl_cb_error(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_cb_error() 345 static int ynl_cb_done(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_cb_done() 473 struct nlmsghdr *nlh; in ynl_msg_start() local 491 static int ynl_msg_end(struct ynl_sock *ys, struct nlmsghdr *nlh) in ynl_msg_end() 514 struct nlmsghdr *nlh; in ynl_gemsg_start() local 552 static int ynl_cb_null(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_cb_null() 564 const struct nlmsghdr *nlh; in __ynl_sock_read_msgs() local 670 ynl_get_family_info_cb(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_get_family_info_cb() 703 struct nlmsghdr *nlh; in ynl_sock_read_family() local [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | nf_queue.c | 77 static int queue_cb(const struct nlmsghdr *nlh, void *data) in queue_cb() 123 struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf); in nfq_build_cfg_request() local 147 struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf); in nfq_build_cfg_params() local 174 struct nlmsghdr *nlh; in nfq_build_verdict() local 212 struct nlmsghdr *nlh; in open_queue() local 274 struct nlmsghdr *nlh; in mainloop() local
|
/linux/net/xfrm/ |
H A D | xfrm_user.c | 973 xfrm_add_sa(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_add_sa() argument 1052 xfrm_del_sa(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_del_sa() argument 1412 struct nlmsghdr *nlh; dump_one_state() local 1576 struct nlmsghdr *nlh; build_spdinfo() local 1622 xfrm_set_spdinfo(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_set_spdinfo() argument 1676 xfrm_get_spdinfo(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_get_spdinfo() argument 1709 struct nlmsghdr *nlh; build_sadinfo() local 1736 xfrm_get_sadinfo(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_get_sadinfo() argument 1757 xfrm_get_sa(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_get_sa() argument 1781 xfrm_alloc_userspi(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_alloc_userspi() argument 2192 xfrm_add_policy(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_add_policy() argument 2321 struct nlmsghdr *nlh; dump_one_policy() local 2427 struct nlmsghdr *nlh; xfrm_notify_userpolicy() local 2461 xfrm_set_default(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_set_default() argument 2482 xfrm_get_default(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_get_default() argument 2512 xfrm_get_policy(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_get_policy() argument 2596 xfrm_flush_sa(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_flush_sa() argument 2640 struct nlmsghdr *nlh; build_aevent() local 2710 xfrm_get_ae(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_get_ae() argument 2754 xfrm_new_ae(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_new_ae() argument 2811 xfrm_flush_policy(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_flush_policy() argument 2840 xfrm_add_pol_expire(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_add_pol_expire() argument 2907 xfrm_add_sa_expire(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_add_sa_expire() argument 2945 xfrm_add_acquire(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_add_acquire() argument 3061 xfrm_do_migrate(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_do_migrate() argument 3110 xfrm_do_migrate(struct sk_buff * skb,struct nlmsghdr * nlh,struct nlattr ** attrs,struct netlink_ext_ack * extack) xfrm_do_migrate() argument 3166 struct nlmsghdr *nlh; build_migrate() local 3389 xfrm_user_rcv_msg(struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack) xfrm_user_rcv_msg() argument 3496 struct nlmsghdr *nlh; build_expire() local 3569 struct nlmsghdr *nlh; xfrm_notify_sa_flush() local 3654 struct nlmsghdr *nlh; xfrm_notify_sa() local 3748 struct nlmsghdr *nlh; build_acquire() local 3878 struct nlmsghdr *nlh; build_polexpire() local 3930 struct nlmsghdr *nlh; xfrm_notify_policy() local 3998 struct nlmsghdr *nlh; xfrm_notify_policy_flush() local 4053 struct nlmsghdr *nlh; build_report() local 4099 struct nlmsghdr *nlh; build_mapping() local [all...] |
/linux/net/core/ |
H A D | rtnetlink.c | 954 const struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify() 2026 struct nlmsghdr *nlh; in rtnl_fill_ifinfo() local 2384 static int rtnl_valid_dump_ifinfo_req(const struct nlmsghdr *nlh, in rtnl_valid_dump_ifinfo_req() 2432 const struct nlmsghdr *nlh = cb->nlh; in rtnl_dump_ifinfo() local 3415 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_setlink() 3501 int rtnl_delete_link(struct net_device *dev, u32 portid, const struct nlmsghdr *nlh) in rtnl_delete_link() 3517 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_dellink() 3570 u32 portid, const struct nlmsghdr *nlh) in rtnl_configure_link() 3697 static int rtnl_changelink(const struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_changelink() 3786 const struct nlmsghdr *nlh, in rtnl_newlink_create() [all …]
|
H A D | fib_rules.c | 569 static int fib_nl2rule(struct net *net, struct nlmsghdr *nlh, in fib_nl2rule() 873 int fib_newrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh, in fib_newrule() 996 static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_newrule() 1002 int fib_delrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh, in fib_delrule() 1115 static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_delrule() 1152 struct nlmsghdr *nlh; in fib_nl_fill_rule() local 1260 static int fib_valid_dumprule_req(const struct nlmsghdr *nlh, in fib_valid_dumprule_req() 1288 const struct nlmsghdr *nlh = cb->nlh; in fib_nl_dumprule() local 1331 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
|
/linux/net/phonet/ |
H A D | pn_netlink.c | 52 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in addr_doit() 106 struct nlmsghdr *nlh; in fill_addr() local 177 struct nlmsghdr *nlh; in fill_route() local 231 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in route_doit()
|
/linux/include/net/ |
H A D | netlink.h | 486 struct nlmsghdr *nlh; global() member 600 nlmsg_data(const struct nlmsghdr * nlh) nlmsg_data() argument 609 nlmsg_len(const struct nlmsghdr * nlh) nlmsg_len() argument 619 nlmsg_attrdata(const struct nlmsghdr * nlh,int hdrlen) nlmsg_attrdata() argument 631 nlmsg_attrlen(const struct nlmsghdr * nlh,int hdrlen) nlmsg_attrlen() argument 641 nlmsg_ok(const struct nlmsghdr * nlh,int remaining) nlmsg_ok() argument 657 nlmsg_next(const struct nlmsghdr * nlh,int * remaining) nlmsg_next() argument 754 __nlmsg_parse(const struct nlmsghdr * nlh,int hdrlen,struct nlattr * tb[],int maxtype,const struct nla_policy * policy,unsigned int validate,struct netlink_ext_ack * extack) __nlmsg_parse() argument 781 nlmsg_parse(const struct nlmsghdr * nlh,int hdrlen,struct nlattr * tb[],int maxtype,const struct nla_policy * policy,struct netlink_ext_ack * extack) nlmsg_parse() argument 801 nlmsg_parse_deprecated(const struct nlmsghdr * nlh,int hdrlen,struct nlattr * tb[],int maxtype,const struct nla_policy * policy,struct netlink_ext_ack * extack) nlmsg_parse_deprecated() argument 822 nlmsg_parse_deprecated_strict(const struct nlmsghdr * nlh,int hdrlen,struct nlattr * tb[],int maxtype,const struct nla_policy * policy,struct netlink_ext_ack * extack) nlmsg_parse_deprecated_strict() argument 839 nlmsg_find_attr(const struct nlmsghdr * nlh,int hdrlen,int attrtype) nlmsg_find_attr() argument 899 nlmsg_validate_deprecated(const struct nlmsghdr * nlh,int hdrlen,int maxtype,const struct nla_policy * policy,struct netlink_ext_ack * extack) nlmsg_validate_deprecated() argument 920 nlmsg_report(const struct nlmsghdr * nlh) nlmsg_report() argument 931 nlmsg_seq(const struct nlmsghdr * nlh) nlmsg_seq() argument 943 nlmsg_for_each_attr(pos,nlh,hdrlen,rem) global() argument 1045 nlmsg_end(struct sk_buff * skb,struct nlmsghdr * nlh) nlmsg_end() argument 1084 nlmsg_cancel(struct sk_buff * skb,struct nlmsghdr * nlh) nlmsg_cancel() argument 1198 nl_dump_check_consistent(struct netlink_callback * cb,struct nlmsghdr * nlh) nl_dump_check_consistent() argument [all...] |
/linux/drivers/infiniband/core/ |
H A D | netlink.c | 131 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg() 141 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr() 152 static int rdma_nl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in rdma_nl_rcv_msg() 212 struct nlmsghdr *nlh; in rdma_nl_rcv_skb() local
|
H A D | iwpm_util.c | 438 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, in iwpm_create_nlmsg() 581 struct nlmsghdr *nlh; in send_mapinfo_num() local 620 struct nlmsghdr *nlh = NULL; in send_nlmsg_done() local 642 struct nlmsghdr *nlh; in iwpm_send_mapinfo() local 764 struct nlmsghdr *nlh; in iwpm_send_hello() local
|
H A D | iwpm_msg.c | 67 struct nlmsghdr *nlh; in iwpm_register_pid() local 147 struct nlmsghdr *nlh; in iwpm_add_mapping() local 230 struct nlmsghdr *nlh; in iwpm_add_and_query_mapping() local 317 struct nlmsghdr *nlh; in iwpm_remove_mapping() local
|
/linux/net/netfilter/ |
H A D | nfnetlink.c | 216 nfnetlink_rcv_msg(struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack) nfnetlink_rcv_msg() argument 318 struct nlmsghdr *nlh; global() member 323 nfnl_err_add(struct list_head * list,struct nlmsghdr * nlh,int err,const struct netlink_ext_ack * extack) nfnl_err_add() argument 371 nfnetlink_rcv_batch(struct sk_buff * skb,struct nlmsghdr * nlh,u16 subsys_id,u32 genid) nfnetlink_rcv_batch() argument 612 nfnetlink_rcv_skb_batch(struct sk_buff * skb,struct nlmsghdr * nlh) nfnetlink_rcv_skb_batch() argument 652 struct nlmsghdr *nlh = nlmsg_hdr(skb); nfnetlink_rcv() local [all...] |
/linux/net/mpls/ |
H A D | af_mpls.c | 543 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route() local 1137 struct nlmsghdr *nlh; in mpls_netconf_fill_devconf() local 1212 const struct nlmsghdr *nlh, in mpls_netconf_valid_get_req() 1252 struct nlmsghdr *nlh, in mpls_netconf_get_devconf() 1303 const struct nlmsghdr *nlh = cb->nlh; in mpls_netconf_dump_devconf() local 1790 struct nlmsghdr *nlh, in rtm_to_route_config() 1928 static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, in mpls_rtm_delroute() 1950 static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, in mpls_rtm_newroute() 1975 struct nlmsghdr *nlh; in mpls_dump_route() local 2082 static int mpls_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in mpls_valid_fib_dump_req() [all …]
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_diag.c | 67 struct nlmsghdr nlh; send_query() member 163 parse_nlmsg(struct nlmsghdr * nlh) parse_nlmsg() argument 188 recv_nlmsg(int fd,struct nlmsghdr * nlh) recv_nlmsg() argument 228 struct nlmsghdr *nlh = NULL; get_mptcpinfo() local [all...] |
/linux/net/ipv4/ |
H A D | inet_diag.c | 209 static int inet_diag_parse_attrs(const struct nlmsghdr *nlh, int hdrlen, in inet_diag_parse_attrs() argument 247 struct nlmsghdr *nlh; in inet_sk_diag_fill() local 432 struct nlmsghdr *nlh; inet_twsk_diag_fill() local 472 struct nlmsghdr *nlh; inet_req_diag_fill() local 603 inet_diag_cmd_exact(int cmd,struct sk_buff * in_skb,const struct nlmsghdr * nlh,int hdrlen,const struct inet_diag_req_v2 * req) inet_diag_cmd_exact() argument 1307 const struct nlmsghdr *nlh = cb->nlh; __inet_diag_dump_start() local 1396 inet_diag_get_exact_compat(struct sk_buff * in_skb,const struct nlmsghdr * nlh) inet_diag_get_exact_compat() argument 1412 inet_diag_rcv_msg_compat(struct sk_buff * skb,struct nlmsghdr * nlh) inet_diag_rcv_msg_compat() argument 1459 struct nlmsghdr *nlh; inet_diag_handler_get_info() local [all...] |
H A D | devinet.c | 373 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa() argument 491 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa() argument 653 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_deladdr() argument 845 inet_validate_rtm(struct nlmsghdr * nlh,struct nlattr ** tb,struct netlink_ext_ack * extack,__u32 * valid_lft,__u32 * prefered_lft) inet_validate_rtm() argument 883 inet_rtm_to_ifa(struct net * net,struct nlmsghdr * nlh,struct nlattr ** tb,struct netlink_ext_ack * extack) inet_rtm_to_ifa() argument 961 inet_rtm_newaddr(struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack) inet_rtm_newaddr() argument 1711 struct nlmsghdr *nlh; inet_fill_ifaddr() local 1785 inet_valid_dump_ifaddr_req(const struct nlmsghdr * nlh,struct inet_fill_args * fillargs,struct net ** tgt_net,struct sock * sk,struct netlink_callback * cb) inet_valid_dump_ifaddr_req() argument 1932 const struct nlmsghdr *nlh = cb->nlh; inet_dump_addr() local 2000 rtmsg_ifa(int event,struct in_ifaddr * ifa,struct nlmsghdr * nlh,u32 portid) rtmsg_ifa() argument 2148 struct nlmsghdr *nlh; inet_netconf_fill_devconf() local 2237 inet_netconf_valid_get_req(struct sk_buff * skb,const struct nlmsghdr * nlh,struct nlattr ** tb,struct netlink_ext_ack * extack) inet_netconf_valid_get_req() argument 2276 inet_netconf_get_devconf(struct sk_buff * in_skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack) inet_netconf_get_devconf() argument 2340 const struct nlmsghdr *nlh = cb->nlh; inet_netconf_dump_devconf() local [all...] |
/linux/drivers/connector/ |
H A D | connector.c | 68 struct nlmsghdr *nlh; in cn_netlink_send_mult() local 136 struct nlmsghdr *nlh; in cn_call_callback() local 200 struct nlmsghdr *nlh; in cn_rx_skb() local
|
/linux/tools/bpf/bpftool/ |
H A D | net.c | 210 static int __dump_class_nlmsg(struct nlmsghdr *nlh, in __dump_class_nlmsg() argument 230 struct nlmsghdr nlh; in netlink_get_class() member 249 static int __dump_qdisc_nlmsg(struct nlmsghdr *nlh, in __dump_qdisc_nlmsg() argument 269 struct nlmsghdr nlh; netlink_get_qdisc() member 288 __dump_filter_nlmsg(struct nlmsghdr * nlh,dump_nlmsg_t dump_filter_nlmsg,void * cookie) __dump_filter_nlmsg() argument 308 struct nlmsghdr nlh; netlink_get_filter() member 328 __dump_link_nlmsg(struct nlmsghdr * nlh,dump_nlmsg_t dump_link_nlmsg,void * cookie) __dump_link_nlmsg() argument 347 struct nlmsghdr nlh; netlink_get_link() member [all...] |
/linux/security/selinux/ |
H A D | netlink.c | 43 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload() 72 struct nlmsghdr *nlh; in selnl_notify() local
|
/linux/include/linux/netfilter/ |
H A D | nfnetlink.h | 13 const struct nlmsghdr *nlh; member 67 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr() 83 struct nlmsghdr *nlh; in nfnl_msg_put() local
|
/linux/net/ieee802154/ |
H A D | netlink.c | 47 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local 76 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
|
/linux/net/mptcp/ |
H A D | pm_netlink.c | 424 struct nlmsghdr *nlh; in mptcp_event_addr_removed() local 458 struct nlmsghdr *nlh; in mptcp_event_addr_announced() local 514 struct nlmsghdr *nlh; in mptcp_event_pm_listener() local 563 struct nlmsghdr *nlh; in mptcp_event() local
|
/linux/net/mctp/ |
H A D | neigh.c | 115 static int mctp_rtm_newneigh(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_newneigh() argument 173 static int mctp_rtm_delneigh(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_delneigh() argument 213 struct nlmsghdr *nlh; in mctp_fill_neigh() local [all...] |
/linux/tools/lib/bpf/ |
H A D | nlattr.c | 81 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() argument 158 libbpf_nla_dump_errormsg(struct nlmsghdr * nlh) libbpf_nla_dump_errormsg() argument
|
/linux/tools/include/uapi/linux/ |
H A D | netlink.h | 94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument 95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|