/linux/net/dcb/ |
A D | dcbnl.c | 187 struct nlmsghdr *nlh; in dcbnl_newmsg() local 207 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate() 218 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg() 277 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap() 322 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs() 369 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs() 431 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp() 501 static int dcbnl_setapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setapp() 747 static int dcbnl_setall(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setall() 1375 struct nlmsghdr *nlh; in dcbnl_notify() local [all …]
|
/linux/drivers/staging/gdm724x/ |
A D | netlink_k.c | 20 #define ND_NLMSG_DATA(nlh) ((void *)((char *)NLMSG_DATA(nlh) + \ argument 23 #define ND_NLMSG_R_LEN(nlh) ((nlh)->nlmsg_len - ND_IFINDEX_LEN) argument 24 #define ND_NLMSG_IFIDX(nlh) NLMSG_DATA(nlh) argument 31 struct nlmsghdr *nlh; in netlink_rcv_cb() local 97 struct nlmsghdr *nlh; in netlink_send() local
|
/linux/tools/testing/selftests/netfilter/ |
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/ |
A D | xfrm_user.c | 1040 struct nlmsghdr *nlh; in dump_one_state() local 1195 struct nlmsghdr *nlh; in build_spdinfo() local 1318 struct nlmsghdr *nlh; in build_sadinfo() local 1864 struct nlmsghdr *nlh; in dump_one_policy() local 1968 struct nlmsghdr *nlh; in xfrm_notify_userpolicy() local 2184 struct nlmsghdr *nlh; in build_aevent() local 2669 struct nlmsghdr *nlh; in build_migrate() local 2947 struct nlmsghdr *nlh; in build_expire() local 3009 struct nlmsghdr *nlh; in xfrm_notify_sa_flush() local 3080 struct nlmsghdr *nlh; in xfrm_notify_sa() local [all …]
|
/linux/drivers/infiniband/core/ |
A D | nldev.c | 1015 static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_get_doit() 1061 static int nldev_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_set_doit() 1120 struct nlmsghdr *nlh; in _nldev_get_dumpit() local 1211 struct nlmsghdr *nlh; in nldev_port_get_dumpit() local 1313 struct nlmsghdr *nlh; in _nldev_res_get_dumpit() local 1497 struct nlmsghdr *nlh; in res_get_common_dumpit() local 1677 static int nldev_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_newlink() 1724 static int nldev_dellink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_dellink() 2130 struct nlmsghdr *nlh, in stat_get_doit_default_counter() 2222 static int stat_get_doit_qp(struct sk_buff *skb, struct nlmsghdr *nlh, in stat_get_doit_qp() [all …]
|
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
|
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
|
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/crypto/ |
A D | crypto_user_base.c | 159 struct nlmsghdr *nlh; in crypto_report_alg() local 260 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() 296 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() 334 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() 382 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng() 422 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg()
|
/linux/net/ipv6/ |
A D | addrlabel.c | 384 static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh, in ip6addrlbl_newdel() 435 static void ip6addrlbl_putmsg(struct nlmsghdr *nlh, in ip6addrlbl_putmsg() 452 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill() local 469 static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh, in ip6addrlbl_valid_dump_req() 496 const struct nlmsghdr *nlh = cb->nlh; in ip6addrlbl_dump() local 535 const struct nlmsghdr *nlh, in ip6addrlbl_valid_get_req() 578 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get()
|
/linux/net/phonet/ |
A D | pn_netlink.c | 51 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in addr_doit() 99 struct nlmsghdr *nlh; in fill_addr() local 164 struct nlmsghdr *nlh; in fill_route() local 218 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in route_doit()
|
/linux/include/net/ |
A D | netlink.h | 454 struct nlmsghdr *nlh; member 568 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() 577 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 587 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata() 609 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() 625 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() 748 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse() 787 nlmsg_parse_deprecated_strict(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse_deprecated_strict() 886 static inline int nlmsg_report(const struct nlmsghdr *nlh) in nlmsg_report() 898 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ argument [all …]
|
/linux/tools/bpf/bpftool/ |
A D | net.c | 197 static int __dump_class_nlmsg(struct nlmsghdr *nlh, in __dump_class_nlmsg() 217 struct nlmsghdr nlh; in netlink_get_class() member 236 static int __dump_qdisc_nlmsg(struct nlmsghdr *nlh, in __dump_qdisc_nlmsg() 256 struct nlmsghdr nlh; in netlink_get_qdisc() member 275 static int __dump_filter_nlmsg(struct nlmsghdr *nlh, in __dump_filter_nlmsg() 295 struct nlmsghdr nlh; in netlink_get_filter() member 315 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg() 334 struct nlmsghdr nlh; in netlink_get_link() member
|
/linux/net/core/ |
A D | sock_diag.c | 165 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat() 173 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat() 213 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd() 244 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in sock_diag_rcv_msg()
|
A D | rtnetlink.c | 726 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify() 1700 struct nlmsghdr *nlh; in rtnl_fill_ifinfo() local 2069 const struct nlmsghdr *nlh = cb->nlh; in rtnl_dump_ifinfo() local 3512 const struct nlmsghdr *nlh, in rtnl_valid_getlink_req() 3870 struct nlmsghdr *nlh; in nlmsg_populate_fdb_fill() local 4243 static int valid_fdb_dump_strict(const struct nlmsghdr *nlh, in valid_fdb_dump_strict() 4297 static int valid_fdb_dump_legacy(const struct nlmsghdr *nlh, in valid_fdb_dump_legacy() 4432 static int valid_fdb_get_strict(const struct nlmsghdr *nlh, in valid_fdb_get_strict() 4607 struct nlmsghdr *nlh; in ndo_dflt_bridge_getlink() local 4758 const struct nlmsghdr *nlh = cb->nlh; in rtnl_bridge_getlink() local [all …]
|
A D | fib_rules.c | 516 static int fib_nl2rule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl2rule() 753 int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_newrule() 861 int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_delrule() 991 struct nlmsghdr *nlh; in fib_nl_fill_rule() local 1095 static int fib_valid_dumprule_req(const struct nlmsghdr *nlh, in fib_valid_dumprule_req() 1123 const struct nlmsghdr *nlh = cb->nlh; in fib_nl_dumprule() local 1166 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
|
/linux/drivers/connector/ |
A D | connector.c | 67 struct nlmsghdr *nlh; in cn_netlink_send_mult() local 133 struct nlmsghdr *nlh; in cn_call_callback() local 172 struct nlmsghdr *nlh; in cn_rx_skb() local
|
/linux/net/netfilter/ |
A D | nfnetlink.c | 211 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg() 312 struct nlmsghdr *nlh; member 317 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add() 365 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch() 599 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch() 639 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv() local
|
/linux/net/ipv4/ |
A D | inet_diag.c | 206 static int inet_diag_parse_attrs(const struct nlmsghdr *nlh, int hdrlen, in inet_diag_parse_attrs() 244 struct nlmsghdr *nlh; in inet_sk_diag_fill() local 421 struct nlmsghdr *nlh; in inet_twsk_diag_fill() local 461 struct nlmsghdr *nlh; in inet_req_diag_fill() local 592 const struct nlmsghdr *nlh, in inet_diag_cmd_exact() 1202 const struct nlmsghdr *nlh = cb->nlh; in __inet_diag_dump_start() local 1290 const struct nlmsghdr *nlh) in inet_diag_get_exact_compat() 1305 static int inet_diag_rcv_msg_compat(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_diag_rcv_msg_compat() 1352 struct nlmsghdr *nlh; in inet_diag_handler_get_info() local
|
/linux/security/selinux/ |
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/net/bridge/ |
A D | br_mdb.c | 381 static int br_mdb_valid_dump_req(const struct nlmsghdr *nlh, in br_mdb_valid_dump_req() 408 struct nlmsghdr *nlh = NULL; in br_mdb_dump() local 467 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill() local 589 struct nlmsghdr *nlh; in nlmsg_populate_rtr_fill() local 755 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse() 980 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_add() 1100 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_del()
|
/linux/net/mpls/ |
A D | af_mpls.c | 542 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route() local 1136 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 1803 struct nlmsghdr *nlh, in rtm_to_route_config() 1988 struct nlmsghdr *nlh; in mpls_dump_route() local 2174 const struct nlmsghdr *nlh = cb->nlh; in mpls_dump_routes() local 2269 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib() 2296 const struct nlmsghdr *nlh, in mpls_valid_getroute_req() [all …]
|
/linux/net/ieee802154/ |
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/include/linux/netfilter/ |
A D | nfnetlink.h | 13 const struct nlmsghdr *nlh; member 68 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr() 84 struct nlmsghdr *nlh; in nfnl_msg_put() local
|
/linux/net/decnet/netfilter/ |
A D | dn_rtmsg.c | 36 struct nlmsghdr *nlh; in dnrmg_build_message() local 101 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb() local
|