| /tools/testing/selftests/net/ |
| D | reuseport_addr_any.c | 34 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count, in build_rcv_fd() 101 static int connect_and_send(int family, int proto) in connect_and_send() 168 static int receive_once(int epfd, int proto) in receive_once() 194 static void test(int *rcv_fds, int count, int family, int proto, int fd) in test() 221 static void run_one_test(int fam_send, int fam_rcv, int proto, in run_one_test() 244 static void test_proto(int proto, const char *proto_str) in test_proto()
|
| D | reuseport_dualstack.c | 31 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count) in build_rcv_fd() 73 static void send_from_v4(int proto) in send_from_v4() 102 static int receive_once(int epfd, int proto) in receive_once() 128 static void test(int *rcv_fds, int count, int proto) in test()
|
| D | sk_so_peek_off.c | 13 static char *afstr(int af, int proto) in afstr() 21 int sk_peek_offset_probe(sa_family_t af, int proto) in sk_peek_offset_probe() 57 static int sk_peek_offset_test(sa_family_t af, int proto) in sk_peek_offset_test() 170 static int do_test(int proto) in do_test()
|
| D | reuseport_bpf_cpu.c | 34 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() 94 static void send_from_cpu(int cpu_id, int family, int proto) in send_from_cpu() 151 void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto) in receive_on_cpu() 184 static void test(int *rcv_fd, int len, int family, int proto) in test()
|
| D | reuseport_bpf_numa.c | 30 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() 107 static void send_from_node(int node_id, int family, int proto) in send_from_node() 161 void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto) in receive_on_node() 194 static void test(int *rcv_fd, int len, int family, int proto) in test()
|
| D | tcp_fastopen_backup_key.c | 89 static void build_rcv_fd(int family, int proto, int *rcv_fds) in build_rcv_fd() 141 static int connect_and_send(int family, int proto) in connect_and_send()
|
| D | ipsec.c | 192 static int netlink_sock(int *sock, uint32_t *seq_nr, int proto) in netlink_sock() 539 uint8_t proto; member 1099 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_policy_add() 1155 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_prepare() 1224 struct in_addr src, struct in_addr dst, uint8_t proto) in xfrm_state_del() 1259 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_delete() 1275 uint32_t spi, uint8_t proto) in xfrm_state_allocspi() 1326 static int netlink_sock_bind(int *sock, uint32_t *seq, int proto, uint32_t groups) in netlink_sock_bind() 2034 static int write_desc(int proto, int test_desc_fd, in write_desc() 2084 static int write_proto_plan(int fd, int proto) in write_proto_plan()
|
| D | toeplitz.c | 287 static void __set_filter(int fd, int off_proto, uint8_t proto, int off_dport) in __set_filter() 311 uint8_t proto; in set_filter() local
|
| /tools/testing/selftests/bpf/bpf_testmod/ |
| D | bpf_testmod-events.h | 53 #define BPF_TESTMOD_DECLARE_TRACE(call, proto, args, size) \ argument 56 #define BPF_TESTMOD_DECLARE_TRACE(call, proto, args, size) \ argument
|
| /tools/testing/selftests/bpf/progs/ |
| D | test_tcp_custom_syncookie.h | 54 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold() 79 __u8 proto, __wsum sum) in csum_tcpudp_magic() 87 __u32 len, __u8 proto, __wsum csum) in csum_ipv6_magic()
|
| D | bpf_flow.c | 51 __be16 proto; member 116 static __always_inline int parse_eth_proto(struct __sk_buff *skb, __be16 proto) in parse_eth_proto() 165 static __always_inline int parse_ip_proto(struct __sk_buff *skb, __u8 proto) in parse_ip_proto()
|
| D | test_tc_peer.c | 46 __u16 proto = skb->protocol; in tc_src_l3() local
|
| D | skb_pkt_end.c | 35 __u8 proto = 0; in main_prog() local
|
| D | test_pkt_access.c | 109 __u8 proto = 255; in test_pkt_access() local
|
| D | xdp_flowtable.c | 46 u8 proto) in xdp_flowtable_offload_check_tcp_state()
|
| D | xdpwall.c | 102 __u8 proto; member 327 __u32 proto; in edgewall() local
|
| /tools/testing/selftests/bpf/ |
| D | network_helpers.h | 27 int proto; member 109 __u32 len, __u8 proto, in csum_tcpudp_magic() 125 __u32 len, __u8 proto, in csum_ipv6_magic()
|
| D | test_flow_dissector.c | 165 static void build_ipv4_header(void *header, uint8_t proto, in build_ipv4_header() 193 static void build_ipv6_header(void *header, uint8_t proto, in build_ipv6_header() 254 static void build_gue_header(void *header, uint8_t proto) in build_gue_header() 261 static void build_gre_header(void *header, uint16_t proto) in build_gre_header()
|
| D | netlink_helpers.h | 15 int proto; member
|
| D | network_helpers.c | 778 u16 proto, bool ipv6, u8 pkt_type) in show_transport() 843 u_char proto; in show_ipv6_packet() local 862 u_char proto; in show_ipv4_packet() local 888 u16 proto; in traffic_monitor_thread() local
|
| /tools/testing/selftests/net/lib/ |
| D | csum.c | 169 static uint16_t checksum(void *th, uint16_t proto, size_t len) in checksum() 187 static void *build_packet_ipv4(void *_iph, uint8_t proto, unsigned int len) in build_packet_ipv4() 207 static void *build_packet_ipv6(void *_ip6h, uint8_t proto, unsigned int len) in build_packet_ipv6() 297 uint8_t proto; in build_packet() local 656 uint16_t proto = cfg_encap ? IPPROTO_UDP : cfg_proto; in recv_verify_packet_ipv4() local 677 uint16_t proto = cfg_encap ? IPPROTO_UDP : cfg_proto; in recv_verify_packet_ipv6() local
|
| /tools/testing/selftests/net/tcp_ao/ |
| D | icmps-accept.c | 165 static void set_ip4hdr(struct iphdr *iph, size_t packet_len, int proto, in set_ip4hdr() 229 static void set_ip6hdr(struct ipv6hdr *iph, size_t packet_len, int proto, in set_ip6hdr() 271 void *ptr, size_t len, uint8_t proto) in icmp6_checksum()
|
| D | icmps-discard.c | 165 static void set_ip4hdr(struct iphdr *iph, size_t packet_len, int proto, in set_ip4hdr() 229 static void set_ip6hdr(struct ipv6hdr *iph, size_t packet_len, int proto, in set_ip6hdr() 271 void *ptr, size_t len, uint8_t proto) in icmp6_checksum()
|
| /tools/testing/selftests/ir/ |
| D | ir_loopback.c | 43 enum rc_proto proto; member
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | cls_redirect.c | 218 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init() 255 int proto; in build_input() local
|