Home
last modified time | relevance | path

Searched defs:nh (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/net/
Dtap.c33 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add()
44 static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type) in rtattr_begin()
49 static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
56 static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type, in rtattr_add_str()
65 static struct rtattr *rtattr_add_strsz(struct nlmsghdr *nh, unsigned short type, in rtattr_add_strsz()
74 static struct rtattr *rtattr_add_any(struct nlmsghdr *nh, unsigned short type, in rtattr_add_any()
84 int (*fill_rtattr)(struct nlmsghdr *nh), in dev_create()
85 int (*fill_info_data)(struct nlmsghdr *nh)) in dev_create()
88 struct nlmsghdr nh; in dev_create() member
146 struct nlmsghdr nh; in dev_delete() member
[all …]
Dipsec.c210 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) in rtattr_hdr()
215 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack()
236 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin()
247 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin()
253 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
260 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb()
313 struct nlmsghdr nh; in veth_add() member
363 struct nlmsghdr nh; in ip4_addr_set() member
403 struct nlmsghdr nh; in link_set_up() member
430 struct nlmsghdr nh; in ip4_route_set() member
[all …]
Dtun.c70 struct nlmsghdr nh; in tun_delete() member
Dmsg_zerocopy.c494 } nh; in do_tx() local
/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c47 struct nlmsghdr *nh = (void *)data; in init_genl_req() local
63 static int nl_error(struct nlmsghdr *nh) in nl_error()
105 struct nlmsghdr *nh; in capture_events() local
209 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req()
320 struct nlmsghdr *nh; in resolve_mptcp_pm_netlink() local
347 struct nlmsghdr *nh; in dsf() local
459 struct nlmsghdr *nh; in csf() local
591 struct nlmsghdr *nh; in remove_addr() local
644 struct nlmsghdr *nh; in announce_addr() local
768 struct nlmsghdr *nh; in add_addr() local
[all …]
/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c60 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) in rtattr_hdr()
65 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack()
85 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin()
96 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin()
102 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
109 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb()
139 struct nlmsghdr nh; in __add_veth() member
202 struct nlmsghdr nh; in __ip_addr_add() member
249 struct nlmsghdr nh; in __ip_route_add() member
311 struct nlmsghdr nh; in __link_set_up() member
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dxfrm_info.c171 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add()
182 static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type, in rtattr_add_str()
191 static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type) in rtattr_begin()
196 static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
206 struct nlmsghdr nh; in setup_xfrmi_external_dev() member
213 struct nlmsghdr *nh; in setup_xfrmi_external_dev() local
/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c19 struct nexthop *nh; in dump_ipv6_route() local
/tools/lib/bpf/
Dnetlink.c143 struct nlmsghdr *nh; in libbpf_netlink_recv() local
249 static int parse_genl_family_id(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in parse_genl_family_id()
405 static int parse_xdp_features(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in parse_xdp_features()
681 static int get_tc_info(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in get_tc_info()
Dnlattr.h58 struct nlmsghdr nh; member
/tools/testing/selftests/bpf/
Dxsk.c87 struct nlmsghdr nh; member
338 struct nlmsghdr *nh; in netlink_recv() local
/tools/testing/selftests/net/lib/
Dcsum.c653 static int recv_verify_packet_ipv4(void *nh, int len) in recv_verify_packet_ipv4()
674 static int recv_verify_packet_ipv6(void *nh, int len) in recv_verify_packet_ipv6()
/tools/bpf/bpftool/
Dnet.c158 struct nlmsghdr *nh; in netlink_recv() local