Home
last modified time | relevance | path

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

/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
/tools/bpf/bpftool/
Dnet.c197 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
/tools/lib/bpf/
Dnlattr.c81 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
158 int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh) in libbpf_nla_dump_errormsg()
Dnetlink.c294 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg()
/tools/include/uapi/linux/
Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/tools/testing/vsock/
Dvsock_diag_test.c170 struct nlmsghdr nlh; in send_req() member
/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c119 static int genl_parse_getfamily(struct nlmsghdr *nlh) in genl_parse_getfamily()