Searched defs:nlh (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/netfilter/ |
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
|
/tools/bpf/bpftool/ |
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
|
/tools/lib/bpf/ |
D | nlattr.c | 81 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()
|
D | netlink.c | 294 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg()
|
/tools/include/uapi/linux/ |
D | netlink.h | 94 #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/ |
D | vsock_diag_test.c | 170 struct nlmsghdr nlh; in send_req() member
|
/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 119 static int genl_parse_getfamily(struct nlmsghdr *nlh) in genl_parse_getfamily()
|