| /tools/testing/selftests/net/ |
| D | tap.c | 33 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 …]
|
| D | ipsec.c | 210 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 …]
|
| D | tun.c | 70 struct nlmsghdr nh; in tun_delete() member
|
| D | msg_zerocopy.c | 494 } nh; in do_tx() local
|
| /tools/testing/selftests/net/mptcp/ |
| D | pm_nl_ctl.c | 47 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/ |
| D | netlink.c | 60 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/ |
| D | xfrm_info.c | 171 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/ |
| D | bpf_iter_ipv6_route.c | 19 struct nexthop *nh; in dump_ipv6_route() local
|
| /tools/lib/bpf/ |
| D | netlink.c | 143 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()
|
| D | nlattr.h | 58 struct nlmsghdr nh; member
|
| /tools/testing/selftests/bpf/ |
| D | xsk.c | 87 struct nlmsghdr nh; member 338 struct nlmsghdr *nh; in netlink_recv() local
|
| /tools/testing/selftests/net/lib/ |
| D | csum.c | 653 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/ |
| D | net.c | 158 struct nlmsghdr *nh; in netlink_recv() local
|