/linux-4.4.14/net/dcb/ |
D | dcbnl.c | 201 struct nlmsghdr *nlh; in dcbnl_newmsg() local 221 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate() 232 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg() 277 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr() 291 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap() 335 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs() 381 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs() 414 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate() 424 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate() 442 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp() [all …]
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | netlink_k.c | 30 #define ND_NLMSG_DATA(nlh) \ argument 33 #define ND_NLMSG_R_LEN(nlh) (nlh->nlmsg_len-ND_IFINDEX_LEN) argument 34 #define ND_NLMSG_IFIDX(nlh) nlmsg_data(nlh) argument 49 struct nlmsghdr *nlh; in netlink_rcv_cb() local 120 struct nlmsghdr *nlh; in netlink_send() local
|
/linux-4.4.14/drivers/staging/gdm724x/ |
D | netlink_k.c | 35 #define ND_NLMSG_DATA(nlh) ((void *)((char *)NLMSG_DATA(nlh) + \ argument 38 #define ND_NLMSG_R_LEN(nlh) (nlh->nlmsg_len - ND_IFINDEX_LEN) argument 39 #define ND_NLMSG_IFIDX(nlh) NLMSG_DATA(nlh) argument 46 struct nlmsghdr *nlh; in netlink_rcv_cb() local 119 struct nlmsghdr *nlh; in netlink_send() local
|
/linux-4.4.14/drivers/infiniband/core/ |
D | netlink.c | 113 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg() 132 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr() 149 static int ibnl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in ibnl_rcv_msg() 195 struct nlmsghdr *nlh; in ibnl_rcv_reply_skb() local 230 int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_unicast() 237 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_multicast()
|
D | iwpm_msg.c | 61 struct nlmsghdr *nlh; in iwpm_register_pid() local 138 struct nlmsghdr *nlh; in iwpm_add_mapping() local 208 struct nlmsghdr *nlh; in iwpm_add_and_query_mapping() local 282 struct nlmsghdr *nlh; in iwpm_remove_mapping() local
|
D | iwpm_util.c | 450 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, in iwpm_create_nlmsg() 592 struct nlmsghdr *nlh; in send_mapinfo_num() local 629 struct nlmsghdr *nlh = NULL; in send_nlmsg_done() local 650 struct nlmsghdr *nlh; in iwpm_send_mapinfo() local
|
D | sa_query.c | 518 struct nlmsghdr *nlh; in ib_nl_send_msg() local 616 const struct nlmsghdr *nlh) in ib_nl_process_good_resolve_rsp() 709 const struct nlmsghdr *nlh = (struct nlmsghdr *)cb->nlh; in ib_nl_handle_set_timeout() local 765 static inline int ib_nl_is_good_resolve_resp(const struct nlmsghdr *nlh) in ib_nl_is_good_resolve_resp() 784 const struct nlmsghdr *nlh = (struct nlmsghdr *)cb->nlh; in ib_nl_handle_resolve_resp() local
|
D | cma.c | 3954 struct nlmsghdr *nlh; in cma_get_id_stats() local
|
/linux-4.4.14/include/net/ |
D | netlink.h | 226 struct nlmsghdr *nlh; member 292 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() 301 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 311 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata() 323 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen() 333 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() 349 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() 368 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse() 387 static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh, in nlmsg_find_attr() 401 static inline int nlmsg_validate(const struct nlmsghdr *nlh, in nlmsg_validate() [all …]
|
D | genetlink.h | 218 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse() 367 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
|
D | rtnetlink.h | 18 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family()
|
D | switchdev.h | 273 struct nlmsghdr *nlh, in switchdev_port_bridge_setlink() 280 struct nlmsghdr *nlh, in switchdev_port_bridge_dellink()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_user.c | 613 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa() 688 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa() 873 struct nlmsghdr *nlh; in dump_one_state() local 1003 struct nlmsghdr *nlh; in build_spdinfo() local 1049 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo() 1094 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo() 1125 struct nlmsghdr *nlh; in build_sadinfo() local 1152 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo() 1171 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa() 1195 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi() [all …]
|
/linux-4.4.14/net/netfilter/ |
D | nfnetlink_cttimeout.c | 72 const struct nlmsghdr *nlh, in cttimeout_new_timeout() 162 struct nlmsghdr *nlh; in ctnl_timeout_fill_info() local 245 const struct nlmsghdr *nlh, in cttimeout_get_timeout() 344 const struct nlmsghdr *nlh, in cttimeout_del_timeout() 374 const struct nlmsghdr *nlh, in cttimeout_default_set() 418 struct nlmsghdr *nlh; in cttimeout_default_fill_info() local 463 const struct nlmsghdr *nlh, in cttimeout_default_get()
|
D | nfnetlink.c | 153 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_msg() 229 struct nlmsghdr *nlh; member 233 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err) in nfnl_err_add() 278 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch() 444 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv() local
|
D | nf_tables_api.c | 94 const struct nlmsghdr *nlh, in nft_ctx_init() 446 struct nlmsghdr *nlh; in nf_tables_fill_table_info() local 546 const struct nlmsghdr *nlh, in nf_tables_gettable() 677 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newtable() 814 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_deltable() 965 struct nlmsghdr *nlh; in nf_tables_fill_chain_info() local 1102 const struct nlmsghdr *nlh, in nf_tables_getchain() 1224 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newchain() 1478 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_delchain() 1792 struct nlmsghdr *nlh; in nf_tables_fill_rule_info() local [all …]
|
D | nf_conntrack_netlink.c | 476 struct nlmsghdr *nlh; in ctnetlink_fill_info() local 637 struct nlmsghdr *nlh; in ctnetlink_conntrack_event() local 1118 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack() 1173 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack() 1335 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying() 1357 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed() 1870 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack() 1970 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info() local 2039 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu() 2056 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info() local [all …]
|
D | nfnetlink_acct.c | 51 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_new() 134 struct nlmsghdr *nlh; in nfnl_acct_fill_info() local 258 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_get() 338 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_del()
|
D | nfnetlink_cthelper.c | 291 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_new() 414 struct nlmsghdr *nlh; in nfnl_cthelper_fill_info() local 503 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_get() 575 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_del()
|
D | xt_osf.c | 65 const struct nlmsghdr *nlh, in xt_osf_add_callback() 108 const struct nlmsghdr *nlh, in xt_osf_remove_callback()
|
D | nfnetlink_queue.c | 309 struct nlmsghdr *nlh; in nfqnl_build_packet_message() local 962 const struct nlmsghdr *nlh, in nfqnl_recv_verdict_batch() 1011 const struct nlmsghdr *nlh, in nfqnl_ct_parse() 1034 const struct nlmsghdr *nlh, in nfqnl_recv_verdict() 1097 const struct nlmsghdr *nlh, in nfqnl_recv_unsupp() 1115 const struct nlmsghdr *nlh, in nfqnl_recv_config()
|
D | nfnetlink_log.c | 355 struct nlmsghdr *nlh = nlmsg_put(inst->skb, 0, 0, in __nfulnl_send() local 410 struct nlmsghdr *nlh; in __build_packet_message() local 794 const struct nlmsghdr *nlh, in nfulnl_recv_unsupp() 818 const struct nlmsghdr *nlh, in nfulnl_recv_config()
|
D | nft_compat.c | 494 struct nlmsghdr *nlh; in nfnl_compat_fill_info() local 524 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_compat_get()
|
/linux-4.4.14/net/wimax/ |
D | op-msg.c | 186 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data_len() local 208 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data() local 229 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_len() local 337 struct nlmsghdr *nlh = info->nlhdr; in wimax_gnl_doit_msg_from_user() local
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_core.c | 740 flag_exist(const struct nlmsghdr *nlh) in flag_exist() 749 struct nlmsghdr *nlh; in start_msg() local 830 const struct nlmsghdr *nlh, in ip_set_none() 838 const struct nlmsghdr *nlh, in ip_set_create() 981 const struct nlmsghdr *nlh, in ip_set_destroy() 1057 const struct nlmsghdr *nlh, in ip_set_flush() 1097 const struct nlmsghdr *nlh, in ip_set_rename() 1147 const struct nlmsghdr *nlh, in ip_set_swap() 1219 dump_attrs(struct nlmsghdr *nlh) in dump_attrs() 1233 struct nlmsghdr *nlh = nlmsg_hdr(cb->skb); in dump_init() local [all …]
|
/linux-4.4.14/crypto/ |
D | crypto_user.c | 193 struct nlmsghdr *nlh; in crypto_report_alg() local 288 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() 324 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() 387 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() 444 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng() 481 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in crypto_user_rcv_msg()
|
/linux-4.4.14/net/phonet/ |
D | pn_netlink.c | 64 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh) in addr_doit() 110 struct nlmsghdr *nlh; in fill_addr() local 175 struct nlmsghdr *nlh; in fill_route() local 229 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh) in route_doit()
|
/linux-4.4.14/net/core/ |
D | sock_diag.c | 169 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat() 177 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat() 217 static int __sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_rcv_msg() 244 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in sock_diag_rcv_msg()
|
D | fib_rules.c | 268 static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_newrule() 428 static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_delrule() 564 struct nlmsghdr *nlh; in fib_nl_fill_rule() local 693 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
|
D | rtnetlink.c | 643 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify() 1199 struct nlmsghdr *nlh; in rtnl_fill_ifinfo() local 1947 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_setlink() 2040 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_dellink() 2165 static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_newlink() 2410 static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh) in rtnl_getlink() 2458 static u16 rtnl_calcit(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_calcit() 2571 struct nlmsghdr *nlh; in nlmsg_populate_fdb_fill() local 2688 static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_add() 2787 static int rtnl_fdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_del() [all …]
|
D | net_namespace.c | 541 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_newid() 594 struct nlmsghdr *nlh; in rtnl_net_fill() local 615 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_getid()
|
D | neighbour.c | 1594 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_delete() 1651 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_add() 1792 struct nlmsghdr *nlh; in neightbl_fill_info() local 1884 struct nlmsghdr *nlh; in neightbl_fill_param_info() local 1936 static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh) in neightbl_set() 2153 struct nlmsghdr *nlh; in neigh_fill_info() local 2205 struct nlmsghdr *nlh; in pneigh_fill_info() local 2264 const struct nlmsghdr *nlh = cb->nlh; in neigh_dump_table() local
|
D | drop_monitor.c | 141 struct nlmsghdr *nlh; in trace_drop_common() local
|
/linux-4.4.14/net/bridge/ |
D | br_mdb.c | 119 struct nlmsghdr *nlh = NULL; in br_mdb_dump() local 170 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill() local 256 struct nlmsghdr *nlh; in nlmsg_populate_rtr_fill() local 342 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse() 464 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_add() 566 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_del()
|
D | br_netlink.c | 340 struct nlmsghdr *nlh; in br_fill_ifinfo() local 669 int br_setlink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_setlink() 724 int br_dellink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_dellink()
|
D | br_fdb.c | 636 struct nlmsghdr *nlh; in fdb_fill_info() local
|
/linux-4.4.14/net/ipv4/ |
D | udp_diag.c | 35 const struct nlmsghdr *nlh, in udp_dump_one() 155 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udp_diag_dump_one() 183 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()
|
D | inet_diag.c | 118 struct nlmsghdr *nlh; in inet_sk_diag_fill() local 272 struct nlmsghdr *nlh; in inet_twsk_diag_fill() local 307 struct nlmsghdr *nlh; in inet_req_diag_fill() local 355 const struct nlmsghdr *nlh, in inet_diag_dump_one_icsk() 418 const struct nlmsghdr *nlh, in inet_diag_get_exact() 930 const struct nlmsghdr *nlh) in inet_diag_get_exact_compat() 944 static int inet_diag_rcv_msg_compat(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_diag_rcv_msg_compat() 1009 struct nlmsghdr *nlh; in inet_diag_handler_get_info() local
|
D | devinet.c | 327 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa() 440 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa() 575 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_deladdr() 746 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr() 847 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newaddr() 1511 struct nlmsghdr *nlh; in inet_fill_ifaddr() local 1624 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa() 1759 struct nlmsghdr *nlh; in inet_netconf_fill_devconf() local 1837 struct nlmsghdr *nlh) in inet_netconf_get_devconf()
|
D | tcp_diag.c | 43 static int tcp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in tcp_diag_dump_one()
|
D | fib_frontend.c | 633 struct nlmsghdr *nlh, struct fib_config *cfg) in rtm_to_fib_config() 709 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_delroute() 731 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newroute() 1078 struct nlmsghdr *nlh; in nl_fib_input() local
|
D | ipmr.c | 631 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_destroy_unres() local 915 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_cache_resolve() local 2264 struct nlmsghdr *nlh; in ipmr_fill_mroute() local
|
D | route.c | 2417 struct nlmsghdr *nlh; in rt_fill_info() local 2524 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet_rtm_getroute()
|
D | fib_semantics.c | 1219 struct nlmsghdr *nlh; in fib_dump_info() local
|
/linux-4.4.14/security/selinux/ |
D | netlink.c | 46 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload() 75 struct nlmsghdr *nlh; in selnl_notify() local
|
D | hooks.c | 4776 struct nlmsghdr *nlh; in selinux_nlmsg_perm() local
|
/linux-4.4.14/drivers/connector/ |
D | connector.c | 79 struct nlmsghdr *nlh; in cn_netlink_send_mult() local 145 struct nlmsghdr *nlh; in cn_call_callback() local 184 struct nlmsghdr *nlh; in cn_rx_skb() local
|
/linux-4.4.14/net/ieee802154/ |
D | netlink.c | 63 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local 92 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
|
/linux-4.4.14/net/decnet/netfilter/ |
D | dn_rtmsg.c | 38 struct nlmsghdr *nlh; in dnrmg_build_message() local 103 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb() local
|
/linux-4.4.14/include/uapi/linux/ |
D | netlink.h | 85 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument 86 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 91 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|
/linux-4.4.14/net/decnet/ |
D | dn_fib.c | 264 const struct nlmsghdr *nlh, int *errp) in dn_fib_create_info() 501 static int dn_fib_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_fib_rtm_delroute() 526 static int dn_fib_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_fib_rtm_newroute() 555 struct nlmsghdr nlh; in fib_magic() member
|
D | dn_table.c | 227 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn… in dn_fib_nh_match() 304 struct nlmsghdr *nlh; in dn_fib_dump_info() local 380 struct nlmsghdr *nlh, struct netlink_skb_parms *req) in dn_rtmsg_fib()
|
D | dn_dev.c | 568 static int dn_nl_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_nl_deladdr() 612 static int dn_nl_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_nl_newaddr() 683 struct nlmsghdr *nlh; in dn_nl_fill_ifaddr() local
|
D | dn_route.c | 1560 struct nlmsghdr *nlh; in dn_rt_fill_info() local 1643 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in dn_cache_getroute()
|
/linux-4.4.14/net/tipc/ |
D | netlink.c | 151 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr) in tipc_nlmsg_parse()
|
/linux-4.4.14/net/ipv6/ |
D | addrlabel.c | 407 static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh) in ip6addrlbl_newdel() 456 static void ip6addrlbl_putmsg(struct nlmsghdr *nlh, in ip6addrlbl_putmsg() 473 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill() local 524 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh) in ip6addrlbl_get()
|
D | addrconf.c | 496 struct nlmsghdr *nlh; in inet6_netconf_fill_devconf() local 569 struct nlmsghdr *nlh) in inet6_netconf_get_devconf() 4079 inet6_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_deladdr() 4188 inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newaddr() 4252 static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags, in put_ifaddrmsg() 4302 struct nlmsghdr *nlh; in inet6_fill_ifaddr() local 4359 struct nlmsghdr *nlh; in inet6_fill_ifmcaddr() local 4385 struct nlmsghdr *nlh; in inet6_fill_ifacaddr() local 4550 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getaddr() 4953 struct nlmsghdr *nlh; in inet6_fill_ifinfo() local [all …]
|
D | route.c | 2705 static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_fib6_config() 2999 static int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_delroute() 3014 static int inet6_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newroute() 3055 struct nlmsghdr *nlh; in rt6_fill_node() local 3224 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getroute()
|
D | ip6mr.c | 848 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_destroy_unres() local 1106 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_cache_resolve() local 2359 struct nlmsghdr *nlh; in ip6mr_fill_mroute() local
|
D | ndisc.c | 1039 struct nlmsghdr *nlh; in ndisc_ra_useropt() local
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_netlink.c | 48 struct nlmsghdr *nlh; in scsi_nl_rcv_msg() local
|
D | scsi_transport_iscsi.c | 2352 struct nlmsghdr *nlh; in iscsi_recv_pdu() local 2391 struct nlmsghdr *nlh; in iscsi_offload_mesg() local 2424 struct nlmsghdr *nlh; in iscsi_conn_error_event() local 2459 struct nlmsghdr *nlh; in iscsi_conn_login_event() local 2494 struct nlmsghdr *nlh; in iscsi_post_host_event() local 2525 struct nlmsghdr *nlh; in iscsi_ping_comp_event() local 2555 struct nlmsghdr *nlh; in iscsi_if_send_reply() local 2573 iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_if_get_stats() 2649 struct nlmsghdr *nlh; in iscsi_session_event() local 3017 iscsi_get_chap(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_get_chap() [all …]
|
D | scsi_transport_fc.c | 538 struct nlmsghdr *nlh; in fc_host_post_event() local 607 struct nlmsghdr *nlh; in fc_host_post_vendor_event() local
|
/linux-4.4.14/net/unix/ |
D | diag.c | 115 struct nlmsghdr *nlh; in sk_diag_fill() local 244 const struct nlmsghdr *nlh, in unix_diag_get_exact()
|
/linux-4.4.14/kernel/ |
D | audit.c | 194 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); in audit_set_portid() local 394 struct nlmsghdr *nlh = nlmsg_hdr(skb); in audit_printk_skb() local 565 struct nlmsghdr *nlh; in audit_make_reply() local 813 static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in audit_receive_msg() 1088 struct nlmsghdr *nlh; in audit_receive_skb() local 1253 struct nlmsghdr *nlh; in audit_buffer_alloc() local 1967 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); in audit_log_end() local
|
/linux-4.4.14/net/dccp/ |
D | diag.c | 58 const struct nlmsghdr *nlh, in dccp_diag_dump_one()
|
/linux-4.4.14/net/can/ |
D | gw.c | 489 struct nlmsghdr *nlh; in cgw_put_job() local 632 static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, in cgw_parse_attr() 812 static int cgw_create_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_create_job() 924 static int cgw_remove_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_remove_job()
|
/linux-4.4.14/net/mpls/ |
D | af_mpls.c | 392 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route() local 1096 static int rtm_to_route_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_route_config() 1195 static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_delroute() 1208 static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_newroute() 1224 struct nlmsghdr *nlh; in mpls_dump_route() local 1365 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib()
|
/linux-4.4.14/include/linux/ |
D | netlink.h | 133 const struct nlmsghdr *nlh; member 167 const struct nlmsghdr *nlh, in netlink_dump_start()
|
/linux-4.4.14/Documentation/connector/ |
D | ucon.c | 62 struct nlmsghdr *nlh; in netlink_send() local
|
/linux-4.4.14/net/wireless/ |
D | wext-core.c | 421 struct nlmsghdr *nlh; in rtnetlink_ifinfo_prep() local 464 struct nlmsghdr *nlh; in wireless_send_event() local
|
D | nl80211.c | 10707 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nl80211_post_doit() local
|
/linux-4.4.14/net/netlink/ |
D | genetlink.c | 499 struct nlmsghdr *nlh; in genlmsg_put() local 544 struct nlmsghdr *nlh) in genl_family_rcv_msg() 647 static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in genl_rcv_msg()
|
D | diag.c | 61 struct nlmsghdr *nlh; in sk_diag_fill() local
|
D | af_netlink.c | 2761 struct nlmsghdr *nlh; in __nlmsg_put() local 2786 struct nlmsghdr *nlh; in netlink_dump() local 2881 const struct nlmsghdr *nlh, in __netlink_dump_start() 2953 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err) in netlink_ack() 2995 struct nlmsghdr *nlh; in netlink_rcv_skb() local
|
/linux-4.4.14/net/packet/ |
D | diag.c | 135 struct nlmsghdr *nlh; in sk_diag_fill() local
|
/linux-4.4.14/net/sched/ |
D | act_api.c | 664 struct nlmsghdr *nlh; in tca_get_fill() local 781 struct nlmsghdr *nlh; in tca_action_flush() local 1047 struct nlmsghdr *nlh; in tc_dump_action() local
|
D | cls_api.c | 358 struct nlmsghdr *nlh; in tcf_fill_node() local
|
D | sch_api.c | 1339 struct nlmsghdr *nlh; in tc_fill_qdisc() local 1659 struct nlmsghdr *nlh; in tc_fill_tclass() local
|
/linux-4.4.14/net/switchdev/ |
D | switchdev.c | 914 struct nlmsghdr *nlh, u16 flags) in switchdev_port_bridge_setlink() 949 struct nlmsghdr *nlh, u16 flags) in switchdev_port_bridge_dellink() 1028 struct nlmsghdr *nlh; in switchdev_port_fdb_dump_cb() local
|
/linux-4.4.14/drivers/net/team/ |
D | team.c | 2328 struct nlmsghdr *nlh; in team_nl_send_options_get() local 2596 struct nlmsghdr *nlh; in team_nl_send_port_list_get() local
|
/linux-4.4.14/drivers/net/ |
D | vxlan.c | 279 struct nlmsghdr *nlh; in vxlan_fdb_info() local
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 5087 static int be_ndo_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh, in be_ndo_bridge_setlink()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 8450 struct nlmsghdr *nlh, in i40e_ndo_bridge_setlink()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 8240 struct nlmsghdr *nlh, u16 flags) in ixgbe_ndo_bridge_setlink()
|