/linux-4.1.27/include/net/ |
D | switchdev.h | 77 struct nlmsghdr *nlh, u16 flags); 79 struct nlmsghdr *nlh, u16 flags); 81 struct nlmsghdr *nlh, u16 flags); 83 struct nlmsghdr *nlh, u16 flags); 121 struct nlmsghdr *nlh, in netdev_switch_port_bridge_setlink() 128 struct nlmsghdr *nlh, in netdev_switch_port_bridge_dellink() 135 struct nlmsghdr *nlh, in ndo_dflt_netdev_switch_port_bridge_dellink() 142 struct nlmsghdr *nlh, in ndo_dflt_netdev_switch_port_bridge_setlink()
|
D | netlink.h | 226 struct nlmsghdr *nlh; 232 int (*cb)(struct sk_buff *, struct nlmsghdr *)); 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() 335 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok() 336 nlh->nlmsg_len >= sizeof(struct nlmsghdr) && in nlmsg_ok() 348 static inline struct nlmsghdr * [all …]
|
D | genetlink.h | 91 struct nlmsghdr * nlhdr; 188 u32 group, struct nlmsghdr *nlh, gfp_t flags); 202 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr, in genlmsg_nlhdr() 205 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr() 219 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse() 368 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len()
|
D | rtnetlink.h | 7 typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *); 9 typedef u16 (*rtnl_calcit_func)(struct sk_buff *, struct nlmsghdr *); 18 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family()
|
D | dn_fib.h | 81 struct nlattr *attrs[], struct nlmsghdr *n, 84 struct nlattr *attrs[], struct nlmsghdr *n, 104 const struct nlmsghdr *nlh, int *errp);
|
/linux-4.1.27/include/rdma/ |
D | rdma_netlink.h | 45 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, 56 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, 66 int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh, 77 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh,
|
/linux-4.1.27/include/linux/ |
D | sock_diag.h | 8 struct nlmsghdr; 13 int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh); 19 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); 20 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
|
D | inet_diag.h | 9 struct nlmsghdr; 20 const struct nlmsghdr *nlh, 34 const struct nlmsghdr *unlh); 40 struct sk_buff *in_skb, const struct nlmsghdr *nlh,
|
D | netlink.h | 13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr() 15 return (struct nlmsghdr *)skb->data; in nlmsg_hdr() 67 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); 122 const struct nlmsghdr *nlh; 141 struct nlmsghdr * 153 const struct nlmsghdr *nlh, 156 const struct nlmsghdr *nlh, in netlink_dump_start()
|
D | rtnetlink.h | 13 u32 group, struct nlmsghdr *nlh, gfp_t flags);
|
D | netdevice.h | 1171 struct nlmsghdr *nlh, 1179 struct nlmsghdr *nlh,
|
/linux-4.1.27/include/uapi/linux/ |
D | netlink.h | 42 struct nlmsghdr { struct 81 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 86 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 87 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 88 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 101 struct nlmsghdr msg;
|
/linux-4.1.27/drivers/infiniband/core/ |
D | netlink.c | 105 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg() 124 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr() 141 static int ibnl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in ibnl_rcv_msg() 175 int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_unicast() 182 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_multicast()
|
D | iwpm_util.c | 442 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, in iwpm_create_nlmsg() 584 struct nlmsghdr *nlh; in send_mapinfo_num() 621 struct nlmsghdr *nlh = NULL; in send_nlmsg_done() 632 ret = ibnl_unicast(skb, (struct nlmsghdr *)skb->data, iwpm_pid); in send_nlmsg_done() 642 struct nlmsghdr *nlh; in iwpm_send_mapinfo()
|
D | iwpm_util.h | 230 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh,
|
D | iwpm_msg.c | 61 struct nlmsghdr *nlh; in iwpm_register_pid() 138 struct nlmsghdr *nlh; in iwpm_add_mapping() 208 struct nlmsghdr *nlh; in iwpm_add_and_query_mapping() 282 struct nlmsghdr *nlh; in iwpm_remove_mapping()
|
D | cma.c | 3599 struct nlmsghdr *nlh; in cma_get_id_stats()
|
/linux-4.1.27/net/dcb/ |
D | dcbnl.c | 200 u32 flags, struct nlmsghdr **nlhp) in dcbnl_newmsg() 204 struct nlmsghdr *nlh; in dcbnl_newmsg() 224 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate() 235 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg() 280 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr() 294 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap() 338 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs() 384 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs() 417 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate() 427 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate() [all …]
|
/linux-4.1.27/include/linux/netfilter/ |
D | nfnetlink.h | 12 const struct nlmsghdr *nlh, 15 const struct nlmsghdr *nlh, 18 const struct nlmsghdr *nlh,
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
D | netlink_k.c | 24 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 49 struct nlmsghdr *nlh; in netlink_rcv_cb() 56 nlh = (struct nlmsghdr *)skb->data; in netlink_rcv_cb() 120 struct nlmsghdr *nlh; in netlink_send()
|
/linux-4.1.27/net/core/ |
D | sock_diag.c | 13 static int (*inet_rcv_compat)(struct sk_buff *skb, struct nlmsghdr *nlh); 107 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat() 115 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat() 155 static int __sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_rcv_msg() 182 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in sock_diag_rcv_msg()
|
D | fib_rules.c | 65 struct fib_rules_ops *ops, struct nlmsghdr *nlh, 265 static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_newrule() 422 static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_delrule() 550 struct nlmsghdr *nlh; in fib_nl_fill_rule() 677 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
|
D | drop_monitor.c | 141 struct nlmsghdr *nlh; in trace_drop_common() 156 nlh = (struct nlmsghdr *)dskb->data; in trace_drop_common()
|
D | rtnetlink.c | 642 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify() 1027 struct nlmsghdr *nlh; in rtnl_fill_ifinfo() 1823 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_setlink() 1900 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_dellink() 2033 static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_newlink() 2278 static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh) in rtnl_getlink() 2326 static u16 rtnl_calcit(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_calcit() 2439 struct nlmsghdr *nlh; in nlmsg_populate_fdb_fill() 2556 static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_add() 2655 static int rtnl_fdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_del() [all …]
|
D | net_namespace.c | 496 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_newid() 544 struct nlmsghdr *nlh; in rtnl_net_fill() 575 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_getid()
|
D | neighbour.c | 1587 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_delete() 1644 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_add() 1785 struct nlmsghdr *nlh; in neightbl_fill_info() 1876 struct nlmsghdr *nlh; in neightbl_fill_param_info() 1928 static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh) in neightbl_set() 2145 struct nlmsghdr *nlh; in neigh_fill_info() 2197 struct nlmsghdr *nlh; in pneigh_fill_info()
|
/linux-4.1.27/Documentation/connector/ |
D | ucon.c | 62 struct nlmsghdr *nlh; in netlink_send() 70 nlh = (struct nlmsghdr *)buf; in netlink_send() 116 struct nlmsghdr *reply; in main() 228 reply = (struct nlmsghdr *)buf; in main()
|
D | cn_test.c | 59 struct nlmsghdr *nlh;
|
D | connector.txt | 110 nlmsghdr->nlmsg_seq too.
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | netlink_k.c | 46 struct nlmsghdr *nlh; in netlink_rcv_cb() 62 nlh = (struct nlmsghdr *)skb->data; in netlink_rcv_cb() 119 struct nlmsghdr *nlh; in netlink_send()
|
/linux-4.1.27/crypto/ |
D | crypto_user.c | 171 struct nlmsghdr *nlh; in crypto_report_alg() 196 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report() 266 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() 302 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() 393 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() 469 int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **); 481 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in crypto_user_rcv_msg()
|
/linux-4.1.27/net/wimax/ |
D | op-msg.c | 186 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data_len() 208 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data() 229 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_len() 337 struct nlmsghdr *nlh = info->nlhdr; in wimax_gnl_doit_msg_from_user()
|
/linux-4.1.27/net/netfilter/ |
D | nfnetlink_cttimeout.c | 72 const struct nlmsghdr *nlh, in cttimeout_new_timeout() 162 struct nlmsghdr *nlh; in ctnl_timeout_fill_info() 245 const struct nlmsghdr *nlh, in cttimeout_get_timeout() 315 const struct nlmsghdr *nlh, in cttimeout_del_timeout() 345 const struct nlmsghdr *nlh, in cttimeout_default_set() 389 struct nlmsghdr *nlh; in cttimeout_default_fill_info() 434 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; 233 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err) in nfnl_err_add() 272 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch() 434 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv()
|
D | nfnetlink_acct.c | 53 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_new() 135 struct nlmsghdr *nlh; in nfnl_acct_fill_info() 258 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_get() 337 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_del()
|
D | nf_conntrack_netlink.c | 461 struct nlmsghdr *nlh; in ctnetlink_fill_info() 613 struct nlmsghdr *nlh; in ctnetlink_conntrack_event() 1052 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack() 1105 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack() 1265 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying() 1287 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed() 1798 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack() 1896 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info() 1965 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu() 1982 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info() [all …]
|
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() 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 | nf_tables_api.c | 93 const struct nlmsghdr *nlh, in nft_ctx_init() 408 struct nlmsghdr *nlh; in nf_tables_fill_table_info() 508 const struct nlmsghdr *nlh, in nf_tables_gettable() 639 const struct nlmsghdr *nlh, in nf_tables_newtable() 775 const struct nlmsghdr *nlh, in nf_tables_deltable() 925 struct nlmsghdr *nlh; in nf_tables_fill_chain_info() 1059 const struct nlmsghdr *nlh, in nf_tables_getchain() 1177 const struct nlmsghdr *nlh, in nf_tables_newchain() 1406 const struct nlmsghdr *nlh, in nf_tables_delchain() 1721 struct nlmsghdr *nlh; in nf_tables_fill_rule_info() [all …]
|
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_core.c | 292 struct nlmsghdr *nlh; in nfqnl_build_packet_message() 930 const struct nlmsghdr *nlh, in nfqnl_recv_verdict_batch() 980 const struct nlmsghdr *nlh, in nfqnl_recv_verdict() 1043 const struct nlmsghdr *nlh, in nfqnl_recv_unsupp() 1061 const struct nlmsghdr *nlh, in nfqnl_recv_config()
|
D | nfnetlink_log.c | 354 struct nlmsghdr *nlh = nlmsg_put(inst->skb, 0, 0, in __nfulnl_send() 407 struct nlmsghdr *nlh; in __build_packet_message() 776 const struct nlmsghdr *nlh, in nfulnl_recv_unsupp() 800 const struct nlmsghdr *nlh, in nfulnl_recv_config()
|
D | nft_compat.c | 492 struct nlmsghdr *nlh; in nfnl_compat_fill_info() 522 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_compat_get()
|
/linux-4.1.27/net/switchdev/ |
D | switchdev.c | 142 struct nlmsghdr *nlh, u16 flags) in netdev_switch_port_bridge_setlink() 167 struct nlmsghdr *nlh, u16 flags) in netdev_switch_port_bridge_dellink() 192 struct nlmsghdr *nlh, u16 flags) in ndo_dflt_netdev_switch_port_bridge_setlink() 222 struct nlmsghdr *nlh, u16 flags) in ndo_dflt_netdev_switch_port_bridge_dellink()
|
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_core.c | 714 flag_exist(const struct nlmsghdr *nlh) in flag_exist() 719 static struct nlmsghdr * 723 struct nlmsghdr *nlh; in start_msg() 804 const struct nlmsghdr *nlh, in ip_set_none() 812 const struct nlmsghdr *nlh, in ip_set_create() 964 const struct nlmsghdr *nlh, in ip_set_destroy() 1034 const struct nlmsghdr *nlh, in ip_set_flush() 1074 const struct nlmsghdr *nlh, in ip_set_rename() 1124 const struct nlmsghdr *nlh, in ip_set_swap() 1191 dump_attrs(struct nlmsghdr *nlh) in dump_attrs() [all …]
|
/linux-4.1.27/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()
|
D | hooks.c | 4759 struct nlmsghdr *nlh; in selinux_nlmsg_perm()
|
/linux-4.1.27/net/ipv4/ |
D | inet_diag.c | 111 const struct nlmsghdr *unlh) in inet_sk_diag_fill() 118 struct nlmsghdr *nlh; in inet_sk_diag_fill() 255 const struct nlmsghdr *unlh) in inet_csk_diag_fill() 264 const struct nlmsghdr *unlh) in inet_twsk_diag_fill() 268 struct nlmsghdr *nlh; in inet_twsk_diag_fill() 300 const struct nlmsghdr *unlh) in inet_req_diag_fill() 303 struct nlmsghdr *nlh; in inet_req_diag_fill() 335 const struct nlmsghdr *unlh) in sk_diag_fill() 351 const struct nlmsghdr *nlh, in inet_diag_dump_one_icsk() 414 const struct nlmsghdr *nlh, in inet_diag_get_exact() [all …]
|
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() 182 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()
|
D | tcp_diag.c | 42 static int tcp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in tcp_diag_dump_one()
|
D | devinet.c | 177 static void rtmsg_ifa(int event, struct in_ifaddr *, struct nlmsghdr *, u32); 327 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa() 436 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa() 571 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_deladdr() 742 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr() 843 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newaddr() 1508 struct nlmsghdr *nlh; in inet_fill_ifaddr() 1621 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa() 1752 struct nlmsghdr *nlh; in inet_netconf_fill_devconf() 1825 struct nlmsghdr *nlh) in inet_netconf_get_devconf()
|
D | fib_frontend.c | 597 struct nlmsghdr *nlh, struct fib_config *cfg) in rtm_to_fib_config() 667 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_delroute() 689 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newroute() 1023 struct nlmsghdr *nlh; in nl_fib_input()
|
D | ipmr.c | 640 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_destroy_unres() 924 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_cache_resolve() 2272 struct nlmsghdr *nlh; in ipmr_fill_mroute()
|
D | fib_semantics.c | 994 struct nlmsghdr *nlh; in fib_dump_info()
|
D | route.c | 2347 struct nlmsghdr *nlh; in rt_fill_info() 2454 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet_rtm_getroute()
|
/linux-4.1.27/net/sched/ |
D | act_api.c | 646 struct nlmsghdr *nlh; in tca_get_fill() 676 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in act_get_notify() 707 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) in tcf_action_get_1() 759 struct nlmsghdr *n, u32 portid) in tca_action_flush() 763 struct nlmsghdr *nlh; in tca_action_flush() 831 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_del_notify() 862 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd() 905 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_add_notify() 929 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tcf_action_add() 948 static int tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_action() [all …]
|
D | sch_api.c | 39 struct nlmsghdr *n, u32 clid, 42 struct nlmsghdr *n, struct Qdisc *q, 784 struct nlmsghdr *n, u32 clid, in notify_and_destroy() 804 struct sk_buff *skb, struct nlmsghdr *n, u32 classid, in qdisc_graft() 1108 static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_get_qdisc() 1177 static int tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_modify_qdisc() 1337 struct nlmsghdr *nlh; in tc_fill_qdisc() 1400 struct nlmsghdr *n, u32 clid, in qdisc_notify() 1519 static int tc_ctl_tclass(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_tclass() 1657 struct nlmsghdr *nlh; in tc_fill_tclass() [all …]
|
D | cls_api.c | 103 struct nlmsghdr *n, struct tcf_proto *tp, 121 static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_tfilter() 358 struct nlmsghdr *nlh; in tcf_fill_node() 389 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_notify()
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_user.c | 590 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa() 665 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa() 848 struct nlmsghdr *nlh; in dump_one_state() 980 struct nlmsghdr *nlh; in build_spdinfo() 1026 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo() 1071 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo() 1102 struct nlmsghdr *nlh; in build_sadinfo() 1129 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo() 1148 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa() 1172 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi() [all …]
|
/linux-4.1.27/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() 175 struct nlmsghdr *nlh; in fill_route() 229 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh) in route_doit()
|
/linux-4.1.27/net/decnet/netfilter/ |
D | dn_rtmsg.c | 38 struct nlmsghdr *nlh; in dnrmg_build_message() 103 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb()
|
/linux-4.1.27/drivers/connector/ |
D | connector.c | 79 struct nlmsghdr *nlh; in cn_netlink_send_mult() 144 struct nlmsghdr *nlh; in cn_call_callback() 183 struct nlmsghdr *nlh; in cn_rx_skb()
|
/linux-4.1.27/net/ieee802154/ |
D | netlink.c | 63 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() 92 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply()
|
/linux-4.1.27/tools/hv/ |
D | hv_vss_daemon.c | 148 struct nlmsghdr nlh = { .nlmsg_type = NLMSG_DONE }; in netlink_send() 187 struct nlmsghdr *incoming_msg; in main() 305 incoming_msg = (struct nlmsghdr *)vss_recv_buffer; in main()
|
D | hv_kvp_daemon.c | 1393 struct nlmsghdr nlh = { .nlmsg_type = NLMSG_DONE }; in netlink_send() 1432 struct nlmsghdr *incoming_msg; in main() 1578 incoming_msg = (struct nlmsghdr *)kvp_recv_buffer; in main()
|
/linux-4.1.27/net/tipc/ |
D | netlink.h | 40 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***buf);
|
D | netlink.c | 151 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr) in tipc_nlmsg_parse()
|
D | netlink_compat.c | 174 struct nlmsghdr *nlmsg; in __tipc_nl_compat_dumpit() 178 cb.nlh = (struct nlmsghdr *)arg->data; in __tipc_nl_compat_dumpit() 1007 struct nlmsghdr *req_nlh; in tipc_nl_compat_recv() 1008 struct nlmsghdr *rep_nlh; in tipc_nl_compat_recv() 1014 req_nlh = (struct nlmsghdr *)skb->data; in tipc_nl_compat_recv()
|
/linux-4.1.27/net/bridge/ |
D | br_mdb.c | 118 struct nlmsghdr *nlh = NULL; in br_mdb_dump() 169 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill() 270 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse() 388 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_add() 469 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_del()
|
D | br_netlink.c | 281 struct nlmsghdr *nlh; in br_fill_ifinfo() 587 int br_setlink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_setlink() 652 int br_dellink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_dellink()
|
D | br_private.h | 828 int br_setlink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags); 829 int br_dellink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
|
D | br_fdb.c | 606 struct nlmsghdr *nlh; in fdb_fill_info()
|
/linux-4.1.27/net/unix/ |
D | diag.c | 115 struct nlmsghdr *nlh; in sk_diag_fill() 244 const struct nlmsghdr *nlh, in unix_diag_get_exact() 293 static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in unix_diag_handler_dump()
|
/linux-4.1.27/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() 524 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh) in ip6addrlbl_get()
|
D | addrconf.c | 488 struct nlmsghdr *nlh; in inet6_netconf_fill_devconf() 555 struct nlmsghdr *nlh) in inet6_netconf_get_devconf() 3996 inet6_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_deladdr() 4105 inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newaddr() 4169 static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags, in put_ifaddrmsg() 4219 struct nlmsghdr *nlh; in inet6_fill_ifaddr() 4276 struct nlmsghdr *nlh; in inet6_fill_ifmcaddr() 4302 struct nlmsghdr *nlh; in inet6_fill_ifacaddr() 4467 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getaddr() 4855 struct nlmsghdr *nlh; in inet6_fill_ifinfo() [all …]
|
D | ip6mr.c | 853 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_destroy_unres() 1111 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_cache_resolve() 2364 struct nlmsghdr *nlh; in ip6mr_fill_mroute()
|
D | route.c | 2426 static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_fib6_config() 2705 static int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_delroute() 2720 static int inet6_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newroute() 2759 struct nlmsghdr *nlh; in rt6_fill_node() 2918 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getroute()
|
D | ndisc.c | 1025 struct nlmsghdr *nlh; in ndisc_ra_useropt()
|
/linux-4.1.27/net/netlink/ |
D | diag.c | 61 struct nlmsghdr *nlh; in sk_diag_fill() 203 static int netlink_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in netlink_diag_handler_dump()
|
D | genetlink.c | 499 struct nlmsghdr *nlh; in genlmsg_put() 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() 1141 struct nlmsghdr *nlh, gfp_t flags) in genl_notify()
|
D | af_netlink.c | 2657 struct nlmsghdr * 2660 struct nlmsghdr *nlh; in __nlmsg_put() 2663 nlh = (struct nlmsghdr *)skb_put(skb, NLMSG_ALIGN(size)); in __nlmsg_put() 2685 struct nlmsghdr *nlh; in netlink_dump() 2777 const struct nlmsghdr *nlh, in __netlink_dump_start() 2849 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err) in netlink_ack() 2852 struct nlmsghdr *rep; in netlink_ack() 2886 struct nlmsghdr *)) in netlink_rcv_skb() argument 2888 struct nlmsghdr *nlh; in netlink_rcv_skb()
|
/linux-4.1.27/Documentation/accounting/ |
D | getdelays.c | 67 struct nlmsghdr n; 165 struct nlmsghdr n; in get_family_id() 461 sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len); in main()
|
D | taskstats.txt | 71 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
|
/linux-4.1.27/net/mpls/ |
D | af_mpls.c | 41 struct nlmsghdr *nlh, struct net *net, u32 portid, 283 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route() 675 static int rtm_to_route_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_route_config() 793 static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_delroute() 806 static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_newroute() 822 struct nlmsghdr *nlh; in mpls_dump_route() 904 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_netlink.c | 48 struct nlmsghdr *nlh; in scsi_nl_rcv_msg()
|
D | scsi_transport_iscsi.c | 2349 struct nlmsghdr *nlh; in iscsi_recv_pdu() 2388 struct nlmsghdr *nlh; in iscsi_offload_mesg() 2421 struct nlmsghdr *nlh; in iscsi_conn_error_event() 2456 struct nlmsghdr *nlh; in iscsi_conn_login_event() 2491 struct nlmsghdr *nlh; in iscsi_post_host_event() 2522 struct nlmsghdr *nlh; in iscsi_ping_comp_event() 2552 struct nlmsghdr *nlh; in iscsi_if_send_reply() 2570 iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_if_get_stats() 2576 struct nlmsghdr *nlhstat; in iscsi_if_get_stats() 2646 struct nlmsghdr *nlh; in iscsi_session_event() [all …]
|
D | scsi_transport_fc.c | 538 struct nlmsghdr *nlh; in fc_host_post_event() 607 struct nlmsghdr *nlh; in fc_host_post_vendor_event()
|
/linux-4.1.27/net/dccp/ |
D | diag.c | 58 const struct nlmsghdr *nlh, in dccp_diag_dump_one()
|
/linux-4.1.27/net/packet/ |
D | diag.c | 135 struct nlmsghdr *nlh; in sk_diag_fill() 224 static int packet_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in packet_diag_handler_dump()
|
/linux-4.1.27/net/decnet/ |
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() 380 struct nlmsghdr *nlh, struct netlink_skb_parms *req) in dn_rtmsg_fib() 527 struct nlmsghdr *n, struct netlink_skb_parms *req) in dn_fib_table_insert() 664 struct nlmsghdr *n, struct netlink_skb_parms *req) in dn_fib_table_delete()
|
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()
|
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()
|
D | dn_route.c | 1555 struct nlmsghdr *nlh; in dn_rt_fill_info() 1638 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in dn_cache_getroute()
|
/linux-4.1.27/fs/dlm/ |
D | netlink.c | 57 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
|
/linux-4.1.27/kernel/ |
D | audit.c | 194 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); in audit_set_portid() 394 struct nlmsghdr *nlh = nlmsg_hdr(skb); in audit_printk_skb() 548 struct nlmsghdr *nlh; in audit_make_reply() 799 static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in audit_receive_msg() 1074 struct nlmsghdr *nlh; in audit_receive_skb() 1239 struct nlmsghdr *nlh; in audit_buffer_alloc() 1953 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); in audit_log_end()
|
/linux-4.1.27/drivers/net/ |
D | nlmon.c | 36 return new_mtu >= (int) sizeof(struct nlmsghdr); in nlmon_is_valid_mtu()
|
D | vxlan.c | 313 struct nlmsghdr *nlh; in vxlan_fdb_info()
|
/linux-4.1.27/net/can/ |
D | gw.c | 488 struct nlmsghdr *nlh; in cgw_put_job() 625 static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, in cgw_parse_attr() 801 static int cgw_create_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_create_job() 887 static int cgw_remove_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_remove_job()
|
/linux-4.1.27/net/wireless/ |
D | wext-core.c | 417 static struct nlmsghdr *rtnetlink_ifinfo_prep(struct net_device *dev, in rtnetlink_ifinfo_prep() 421 struct nlmsghdr *nlh; in rtnetlink_ifinfo_prep() 464 struct nlmsghdr *nlh; in wireless_send_event()
|
D | nl80211.c | 10326 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nl80211_post_doit()
|
/linux-4.1.27/Documentation/networking/ |
D | netlink_mmap.txt | 243 struct nlmsghdr *nlh; 309 struct nlmsghdr *nlh;
|
D | xfrm_sync.txt | 36 nlmsghdr:aevent_id:optional-TLVs.
|
/linux-4.1.27/net/dsa/ |
D | slave.c | 236 struct nlmsghdr *nlh; in dsa_slave_fill_info()
|
/linux-4.1.27/drivers/net/team/ |
D | team.c | 2319 struct nlmsghdr *nlh; in team_nl_send_options_get() 2587 struct nlmsghdr *nlh; in team_nl_send_port_list_get()
|
/linux-4.1.27/net/openvswitch/ |
D | datapath.c | 498 ((struct nlmsghdr *) user_skb->data)->nlmsg_len = user_skb->len; in queue_userspace_packet()
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
D | rocker.c | 4075 struct nlmsghdr *nlh; in rocker_fdb_fill_info() 4143 struct nlmsghdr *nlh, u16 flags) in rocker_port_bridge_setlink()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 4801 static int be_ndo_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh, in be_ndo_bridge_setlink()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 8011 struct nlmsghdr *nlh, u16 flags) in ixgbe_ndo_bridge_setlink()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 7991 struct nlmsghdr *nlh) in i40e_ndo_bridge_setlink()
|