| /tools/net/ynl/lib/ |
| D | ynl-priv.h | 142 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in ynl_nlmsg_put_header() local 150 static inline unsigned int ynl_nlmsg_data_len(const struct nlmsghdr *nlh) in ynl_nlmsg_data_len() 155 static inline void *ynl_nlmsg_data(const struct nlmsghdr *nlh) in ynl_nlmsg_data() 161 ynl_nlmsg_data_offset(const struct nlmsghdr *nlh, unsigned int offset) in ynl_nlmsg_data_offset() 166 static inline void *ynl_nlmsg_end_addr(const struct nlmsghdr *nlh) in ynl_nlmsg_end_addr() 172 ynl_nlmsg_put_extra_header(struct nlmsghdr *nlh, unsigned int size) in ynl_nlmsg_put_extra_header() 202 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument 245 __ynl_attr_put_overflow(struct nlmsghdr *nlh, size_t size) in __ynl_attr_put_overflow() 260 ynl_attr_nest_start(struct nlmsghdr *nlh, unsigned int attr_type) in ynl_attr_nest_start() 275 ynl_attr_nest_end(struct nlmsghdr *nlh, struct nlattr *attr) in ynl_attr_nest_end() [all …]
|
| D | ynl.c | 140 ynl_ext_ack_check(struct ynl_sock *ys, const struct nlmsghdr *nlh, in ynl_ext_ack_check() 260 ynl_cb_error(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_cb_error() 279 static int ynl_cb_done(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_cb_done() 398 struct nlmsghdr *nlh; in ynl_msg_start() local 416 static int ynl_msg_end(struct ynl_sock *ys, struct nlmsghdr *nlh) in ynl_msg_end() 439 struct nlmsghdr *nlh; in ynl_gemsg_start() local 477 static int ynl_cb_null(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_cb_null() 489 const struct nlmsghdr *nlh; in __ynl_sock_read_msgs() local 595 ynl_get_family_info_cb(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg) in ynl_get_family_info_cb() 628 struct nlmsghdr *nlh; in ynl_sock_read_family() local [all …]
|
| D | ynl.h | 78 struct nlmsghdr *nlh; member
|
| /tools/testing/selftests/net/netfilter/ |
| D | conntrack_dump_flush.c | 20 static int build_cta_tuple_v4(struct nlmsghdr *nlh, int type, in build_cta_tuple_v4() 50 static int build_cta_tuple_v6(struct nlmsghdr *nlh, int type, in build_cta_tuple_v6() 80 static int build_cta_proto(struct nlmsghdr *nlh) in build_cta_proto() 101 static int conntrack_data_insert(struct mnl_socket *sock, struct nlmsghdr *nlh, in conntrack_data_insert() 149 struct nlmsghdr *nlh; in conntrack_data_generate_v4() local 183 struct nlmsghdr *nlh; in conntrack_data_generate_v6() local 213 static int count_entries(const struct nlmsghdr *nlh, void *data) in count_entries() 222 struct nlmsghdr *nlh, *rplnlh; in conntracK_count_zone() local 269 struct nlmsghdr *nlh, *rplnlh; in conntrack_flush_zone() local
|
| 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
|
| D | audit_logread.c | 21 struct nlmsghdr nlh; member
|
| /tools/bpf/bpftool/ |
| D | net.c | 210 static int __dump_class_nlmsg(struct nlmsghdr *nlh, in __dump_class_nlmsg() 230 struct nlmsghdr nlh; in netlink_get_class() member 249 static int __dump_qdisc_nlmsg(struct nlmsghdr *nlh, in __dump_qdisc_nlmsg() 269 struct nlmsghdr nlh; in netlink_get_qdisc() member 288 static int __dump_filter_nlmsg(struct nlmsghdr *nlh, in __dump_filter_nlmsg() 308 struct nlmsghdr nlh; in netlink_get_filter() member 328 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg() 347 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() 157 int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh) in libbpf_nla_dump_errormsg()
|
| D | netlink.c | 344 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg()
|
| /tools/testing/selftests/net/af_unix/ |
| D | diag_uid.c | 81 struct nlmsghdr nlh; in send_request() member 151 struct nlmsghdr *nlh; in receive_response() local
|
| /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/lib/thermal/ |
| D | sampling.c | 13 struct nlmsghdr *nlh = nlmsg_hdr(n); in handle_thermal_sample() local
|
| D | events.c | 23 struct nlmsghdr *nlh = nlmsg_hdr(n); in handle_thermal_event() local
|
| /tools/power/x86/intel-speed-select/ |
| D | hfi-events.c | 192 struct nlmsghdr *nlh = nlmsg_hdr(n); in handle_event() local
|
| /tools/testing/vsock/ |
| D | vsock_diag_test.c | 172 struct nlmsghdr nlh; in send_req() member
|
| /tools/testing/selftests/net/mptcp/ |
| D | pm_nl_ctl.c | 246 static int genl_parse_getfamily(struct nlmsghdr *nlh, int *pm_family, in genl_parse_getfamily()
|