Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-6.6/tools/net/ynl/generated/
Dethtool-user.c675 int ethtool_header_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_header_put()
732 int ethtool_pause_stat_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_pause_stat_put()
783 int ethtool_fec_stat_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_fec_stat_put()
957 int ethtool_bitset_bit_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_bitset_bit_put()
1043 int ethtool_string_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_string_put()
1140 int ethtool_bitset_bits_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_bitset_bits_put()
1202 int ethtool_strings_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_strings_put()
1260 int ethtool_bitset_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_bitset_put()
1322 int ethtool_stringset_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_stringset_put()
1462 int ethtool_stringsets_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_stringsets_put()
[all …]
Ddevlink-user.c438 int devlink_get_rsp_parse(const struct nlmsghdr *nlh, void *data) in devlink_get_rsp_parse()
503 struct nlmsghdr *nlh; in devlink_get() local
550 struct nlmsghdr *nlh; in devlink_get_dump() local
588 int devlink_port_get_rsp_parse(const struct nlmsghdr *nlh, void *data) in devlink_port_get_rsp_parse()
637 struct nlmsghdr *nlh; in devlink_port_get() local
668 int devlink_port_get_rsp_dump_parse(const struct nlmsghdr *nlh, void *data) in devlink_port_get_rsp_dump_parse()
731 struct nlmsghdr *nlh; in devlink_port_get_dump() local
775 int devlink_sb_get_rsp_parse(const struct nlmsghdr *nlh, void *data) in devlink_sb_get_rsp_parse()
824 struct nlmsghdr *nlh; in devlink_sb_get() local
873 struct nlmsghdr *nlh; in devlink_sb_get_dump() local
[all …]
Dfou-user.c75 struct nlmsghdr *nlh; in fou_add() local
120 struct nlmsghdr *nlh; in fou_del() local
166 int fou_get_rsp_parse(const struct nlmsghdr *nlh, void *data) in fou_get_rsp_parse()
246 struct nlmsghdr *nlh; in fou_get() local
304 struct nlmsghdr *nlh; in fou_get_dump() local
Dnetdev-user.c74 int netdev_dev_get_rsp_parse(const struct nlmsghdr *nlh, void *data) in netdev_dev_get_rsp_parse()
111 struct nlmsghdr *nlh; in netdev_dev_get() local
153 struct nlmsghdr *nlh; in netdev_dev_get_dump() local
/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-6.6/net/dcb/
Ddcbnl.c221 struct nlmsghdr *nlh; in dcbnl_newmsg() local
241 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
252 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
297 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
311 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
356 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
403 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
437 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
447 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
465 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp()
[all …]
/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-6.6/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-6.6/tools/net/ynl/lib/
Dynl.c139 ynl_ext_ack_check(struct ynl_sock *ys, const struct nlmsghdr *nlh, in ynl_ext_ack_check()
256 static int ynl_cb_error(const struct nlmsghdr *nlh, void *data) in ynl_cb_error()
276 static int ynl_cb_done(const struct nlmsghdr *nlh, void *data) in ynl_cb_done()
293 static int ynl_cb_noop(const struct nlmsghdr *nlh, void *data) in ynl_cb_noop()
396 struct nlmsghdr *nlh; in ynl_msg_start() local
413 struct nlmsghdr *nlh; in ynl_gemsg_start() local
470 int ynl_cb_null(const struct nlmsghdr *nlh, void *data) in ynl_cb_null()
516 static int ynl_get_family_info_cb(const struct nlmsghdr *nlh, void *data) in ynl_get_family_info_cb()
550 struct nlmsghdr *nlh; in ynl_sock_read_family() local
698 static int ynl_ntf_parse(struct ynl_sock *ys, const struct nlmsghdr *nlh) in ynl_ntf_parse()
[all …]
/kernel/linux/linux-6.6/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-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-5.10/net/xfrm/
Dxfrm_user.c683 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
762 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
997 struct nlmsghdr *nlh; in dump_one_state() local
1161 struct nlmsghdr *nlh; in build_spdinfo() local
1207 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1252 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1284 struct nlmsghdr *nlh; in build_sadinfo() local
1311 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1331 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1355 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[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
238 const struct nlmsghdr *nlh, in cttimeout_get_timeout()
309 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
341 const struct nlmsghdr *nlh, in cttimeout_default_set()
379 struct nlmsghdr *nlh; in cttimeout_default_fill_info() local
415 const struct nlmsghdr *nlh, in cttimeout_default_get()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dnldev.c870 static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_get_doit()
916 static int nldev_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_set_doit()
975 struct nlmsghdr *nlh; in _nldev_get_dumpit() local
1006 static int nldev_port_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_port_get_doit()
1066 struct nlmsghdr *nlh; in nldev_port_get_dumpit() local
1118 static int nldev_res_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_res_get_doit()
1168 struct nlmsghdr *nlh; in _nldev_res_get_dumpit() local
1243 static int res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in res_get_common_doit()
1339 struct nlmsghdr *nlh; in res_get_common_dumpit() local
1517 static int nldev_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_newlink()
[all …]
/kernel/linux/linux-6.6/net/xfrm/
Dxfrm_user.c786 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
865 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
1204 struct nlmsghdr *nlh; in dump_one_state() local
1368 struct nlmsghdr *nlh; in build_spdinfo() local
1414 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1468 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1501 struct nlmsghdr *nlh; in build_sadinfo() local
1528 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1549 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1573 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/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-6.6/drivers/infiniband/core/
Dnldev.c1017 static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_get_doit()
1067 static int nldev_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_set_doit()
1126 struct nlmsghdr *nlh; in _nldev_get_dumpit() local
1157 static int nldev_port_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_port_get_doit()
1221 struct nlmsghdr *nlh; in nldev_port_get_dumpit() local
1273 static int nldev_res_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_res_get_doit()
1327 struct nlmsghdr *nlh; in _nldev_res_get_dumpit() local
1415 static int res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in res_get_common_doit()
1511 struct nlmsghdr *nlh; in res_get_common_dumpit() local
1691 static int nldev_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_newlink()
[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-6.6/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-5.10/net/netfilter/ipset/
Dip_set_core.c962 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
1040 const struct nlmsghdr *nlh, in ip_set_none()
1048 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_create()
1199 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_destroy()
1289 const struct nlmsghdr *nlh, in ip_set_flush()
1329 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_rename()
1379 const struct nlmsghdr *nlh, in ip_set_swap()
1482 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
1504 struct nlmsghdr *nlh = nlmsg_hdr(cb->skb); in ip_set_dump_start() local
1559 struct nlmsghdr *nlh = NULL; in ip_set_dump_do() local
[all …]
/kernel/linux/linux-6.6/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()
453 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill() local
470 static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh, in ip6addrlbl_valid_dump_req()
497 const struct nlmsghdr *nlh = cb->nlh; in ip6addrlbl_dump() local
536 const struct nlmsghdr *nlh, in ip6addrlbl_valid_get_req()
579 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get()
/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()
453 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill() local
470 static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh, in ip6addrlbl_valid_dump_req()
497 const struct nlmsghdr *nlh = cb->nlh; in ip6addrlbl_dump() local
536 const struct nlmsghdr *nlh, in ip6addrlbl_valid_get_req()
579 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get()
/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-6.6/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-6.6/include/net/
Dnetlink.h466 struct nlmsghdr *nlh; member
580 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
589 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
599 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
611 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
621 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
637 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
734 static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in __nlmsg_parse()
761 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
781 static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse_deprecated()
[all …]

12345678910