Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-4.19/net/dcb/
Ddcbnl.c198 struct nlmsghdr *nlh; in dcbnl_newmsg() local
218 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
229 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
273 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
287 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
331 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
377 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
410 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
420 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
438 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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
/kernel/linux/linux-5.10/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
97 struct nlmsghdr *nlh; in netlink_send() local
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dnf-queue.c77 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
/kernel/linux/linux-4.19/net/wimax/
Dop-msg.c186 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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dnldev.c868 static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_get_doit()
914 static int nldev_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_set_doit()
973 struct nlmsghdr *nlh; in _nldev_get_dumpit() local
1004 static int nldev_port_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_port_get_doit()
1064 struct nlmsghdr *nlh; in nldev_port_get_dumpit() local
1116 static int nldev_res_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_res_get_doit()
1166 struct nlmsghdr *nlh; in _nldev_res_get_dumpit() local
1241 static int res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in res_get_common_doit()
1337 struct nlmsghdr *nlh; in res_get_common_dumpit() local
1515 static int nldev_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_newlink()
[all …]
/kernel/linux/linux-5.10/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.c182 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg()
267 struct nlmsghdr *nlh; member
272 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add()
320 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
545 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch()
585 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv() local
/kernel/linux/linux-4.19/net/netfilter/
Dnfnetlink_cttimeout.c79 const struct nlmsghdr *nlh, in cttimeout_new_timeout()
166 struct nlmsghdr *nlh; in ctnl_timeout_fill_info() local
252 const struct nlmsghdr *nlh, in cttimeout_get_timeout()
324 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
356 const struct nlmsghdr *nlh, in cttimeout_default_set()
398 struct nlmsghdr *nlh; in cttimeout_default_fill_info() local
443 const struct nlmsghdr *nlh, in cttimeout_default_get()
Dnfnetlink.c164 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg()
248 struct nlmsghdr *nlh; member
253 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add()
301 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
510 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch()
550 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv() local
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_user.c671 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
750 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
980 struct nlmsghdr *nlh; in dump_one_state() local
1135 struct nlmsghdr *nlh; in build_spdinfo() local
1181 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1226 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1258 struct nlmsghdr *nlh; in build_sadinfo() local
1285 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1305 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1329 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/include/net/
Dnetlink.h234 struct nlmsghdr *nlh; member
313 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
322 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
332 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
344 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
354 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
370 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
390 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
410 static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh, in nlmsg_find_attr()
425 static inline int nlmsg_validate(const struct nlmsghdr *nlh, in nlmsg_validate()
[all …]
/kernel/linux/linux-5.10/net/netfilter/ipset/
Dip_set_core.c957 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
966 struct nlmsghdr *nlh; in start_msg() local
1046 const struct nlmsghdr *nlh, in ip_set_none()
1054 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_create()
1196 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_destroy()
1275 const struct nlmsghdr *nlh, in ip_set_flush()
1315 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_rename()
1365 const struct nlmsghdr *nlh, in ip_set_swap()
1468 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
1490 struct nlmsghdr *nlh = nlmsg_hdr(cb->skb); in ip_set_dump_start() local
[all …]
/kernel/linux/linux-4.19/net/netfilter/ipset/
Dip_set_core.c784 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
793 struct nlmsghdr *nlh; in start_msg() local
873 const struct nlmsghdr *nlh, in ip_set_none()
881 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_create()
1023 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_destroy()
1102 const struct nlmsghdr *nlh, in ip_set_flush()
1142 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_rename()
1192 const struct nlmsghdr *nlh, in ip_set_swap()
1271 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
1285 struct nlmsghdr *nlh = nlmsg_hdr(cb->skb); in dump_init() local
[all …]
/kernel/linux/linux-5.10/crypto/
Dcrypto_user_base.c159 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()
/kernel/linux/linux-4.19/crypto/
Dcrypto_user.c235 struct nlmsghdr *nlh; in crypto_report_alg() local
335 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg()
371 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg()
408 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg()
456 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng()
494 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg()
/kernel/linux/linux-4.19/net/phonet/
Dpn_netlink.c64 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in addr_doit()
112 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv6/
Daddrlabel.c384 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()
/kernel/linux/linux-4.19/drivers/infiniband/core/
Dnetlink.c136 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg()
146 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr()
157 static int rdma_nl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in rdma_nl_rcv_msg()
211 struct nlmsghdr *nlh; in rdma_nl_rcv_skb() local
/kernel/linux/linux-4.19/net/core/
Dsock_diag.c163 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
171 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
211 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd()
242 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in sock_diag_rcv_msg()
/kernel/linux/linux-5.10/net/core/
Dsock_diag.c165 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()

123456789