Home
last modified time | relevance | path

Searched defs:nlh (Results 1 – 25 of 110) sorted by relevance

12345

/Linux-v5.4/net/dcb/
Ddcbnl.c187 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()
263 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
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()
403 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
413 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
431 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp()
[all …]
/Linux-v5.4/drivers/staging/gdm724x/
Dnetlink_k.c20 #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
96 struct nlmsghdr *nlh; in netlink_send() local
/Linux-v5.4/drivers/infiniband/core/
Dnldev.c797 static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_get_doit()
843 static int nldev_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_set_doit()
898 struct nlmsghdr *nlh; in _nldev_get_dumpit() local
929 static int nldev_port_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_port_get_doit()
989 struct nlmsghdr *nlh; in nldev_port_get_dumpit() local
1041 static int nldev_res_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_res_get_doit()
1091 struct nlmsghdr *nlh; in _nldev_res_get_dumpit() local
1181 static int res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in res_get_common_doit()
1278 struct nlmsghdr *nlh; in res_get_common_dumpit() local
1452 static int nldev_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_newlink()
[all …]
Dnetlink.c131 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
/Linux-v5.4/net/wimax/
Dop-msg.c171 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data_len() local
193 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data() local
214 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_len() local
322 struct nlmsghdr *nlh = info->nlhdr; in wimax_gnl_doit_msg_from_user() local
/Linux-v5.4/net/xfrm/
Dxfrm_user.c670 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
749 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
978 struct nlmsghdr *nlh; in dump_one_state() local
1110 struct nlmsghdr *nlh; in build_spdinfo() local
1156 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1201 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1233 struct nlmsghdr *nlh; in build_sadinfo() local
1260 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1280 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1304 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/Linux-v5.4/tools/lib/bpf/
Dnetlink.c190 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg()
288 struct nlmsghdr nlh; in libbpf_nl_get_link() member
306 static int __dump_class_nlmsg(struct nlmsghdr *nlh, in __dump_class_nlmsg()
326 struct nlmsghdr nlh; in libbpf_nl_get_class() member
345 static int __dump_qdisc_nlmsg(struct nlmsghdr *nlh, in __dump_qdisc_nlmsg()
365 struct nlmsghdr nlh; in libbpf_nl_get_qdisc() member
384 static int __dump_filter_nlmsg(struct nlmsghdr *nlh, in __dump_filter_nlmsg()
404 struct nlmsghdr nlh; in libbpf_nl_get_filter() member
/Linux-v5.4/net/netfilter/
Dnfnetlink_cttimeout.c76 const struct nlmsghdr *nlh, in cttimeout_new_timeout()
162 struct nlmsghdr *nlh; in ctnl_timeout_fill_info() local
243 const struct nlmsghdr *nlh, in cttimeout_get_timeout()
314 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
346 const struct nlmsghdr *nlh, in cttimeout_default_set()
384 struct nlmsghdr *nlh; in cttimeout_default_fill_info() local
425 const struct nlmsghdr *nlh, in cttimeout_default_get()
Dnfnetlink.c159 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg()
244 struct nlmsghdr *nlh; member
249 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add()
297 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
508 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch()
548 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv() local
Dnf_conntrack_netlink.c514 struct nlmsghdr *nlh; in ctnetlink_fill_info() local
684 struct nlmsghdr *nlh; in ctnetlink_conntrack_event() local
1254 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack()
1314 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack()
1469 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying()
1492 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed()
2099 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack()
2202 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info() local
2268 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu()
2286 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info() local
[all …]
/Linux-v5.4/net/netfilter/ipset/
Dip_set_core.c789 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
798 struct nlmsghdr *nlh; in start_msg() local
878 const struct nlmsghdr *nlh, in ip_set_none()
886 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_create()
1028 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_destroy()
1107 const struct nlmsghdr *nlh, in ip_set_flush()
1147 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_rename()
1197 const struct nlmsghdr *nlh, in ip_set_swap()
1276 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
1298 struct nlmsghdr *nlh = nlmsg_hdr(cb->skb); in dump_init() local
[all …]
/Linux-v5.4/crypto/
Dcrypto_user_base.c159 struct nlmsghdr *nlh; in crypto_report_alg() local
258 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg()
294 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg()
331 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg()
379 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng()
419 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg()
/Linux-v5.4/net/ipv6/
Daddrlabel.c376 static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh, in ip6addrlbl_newdel()
427 static void ip6addrlbl_putmsg(struct nlmsghdr *nlh, in ip6addrlbl_putmsg()
444 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill() local
461 static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh, in ip6addrlbl_valid_dump_req()
488 const struct nlmsghdr *nlh = cb->nlh; in ip6addrlbl_dump() local
527 const struct nlmsghdr *nlh, in ip6addrlbl_valid_get_req()
570 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get()
/Linux-v5.4/net/phonet/
Dpn_netlink.c51 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-v5.4/include/net/
Dnetlink.h387 struct nlmsghdr *nlh; member
501 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
510 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
520 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
532 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
542 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
558 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
655 static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in __nlmsg_parse()
682 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
701 static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse_deprecated()
[all …]
/Linux-v5.4/net/core/
Dsock_diag.c164 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
172 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
212 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd()
243 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in sock_diag_rcv_msg()
Dfib_rules.c486 static int fib_nl2rule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl2rule()
723 int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_newrule()
831 int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_delrule()
961 struct nlmsghdr *nlh; in fib_nl_fill_rule() local
1065 static int fib_valid_dumprule_req(const struct nlmsghdr *nlh, in fib_valid_dumprule_req()
1093 const struct nlmsghdr *nlh = cb->nlh; in fib_nl_dumprule() local
1136 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
Drtnetlink.c729 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify()
1595 struct nlmsghdr *nlh; in rtnl_fill_ifinfo() local
1883 static int rtnl_valid_dump_ifinfo_req(const struct nlmsghdr *nlh, in rtnl_valid_dump_ifinfo_req()
1930 const struct nlmsghdr *nlh = cb->nlh; in rtnl_dump_ifinfo() local
2747 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_setlink()
2842 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_dellink()
3009 static int __rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in __rtnl_newlink()
3266 static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_newlink()
3282 const struct nlmsghdr *nlh, in rtnl_valid_getlink_req()
3328 static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_getlink()
[all …]
/Linux-v5.4/net/bridge/
Dbr_mdb.c185 static int br_mdb_valid_dump_req(const struct nlmsghdr *nlh, in br_mdb_valid_dump_req()
212 struct nlmsghdr *nlh = NULL; in br_mdb_dump() local
269 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill() local
466 struct nlmsghdr *nlh; in nlmsg_populate_rtr_fill() local
552 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse()
680 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_add()
785 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_del()
/Linux-v5.4/drivers/connector/
Dconnector.c67 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-v5.4/security/selinux/
Dnetlink.c43 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-v5.4/net/ieee802154/
Dnetlink.c47 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local
76 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
/Linux-v5.4/net/mpls/
Daf_mpls.c540 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
1783 struct nlmsghdr *nlh, in rtm_to_route_config()
1921 static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, in mpls_rtm_delroute()
1943 static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, in mpls_rtm_newroute()
1968 struct nlmsghdr *nlh; in mpls_dump_route() local
2075 static int mpls_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in mpls_valid_fib_dump_req()
[all …]
/Linux-v5.4/net/decnet/netfilter/
Ddn_rtmsg.c36 struct nlmsghdr *nlh; in dnrmg_build_message() local
101 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb() local
/Linux-v5.4/net/ipv4/
Dudp_diag.c31 const struct nlmsghdr *nlh, in udp_dump_one()
154 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udp_diag_dump_one()
258 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()

12345