Home
last modified time | relevance | path

Searched defs:proto (Results 1 – 25 of 28) sorted by relevance

12

/tools/testing/selftests/net/
Dreuseport_addr_any.c34 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()
Dreuseport_dualstack.c31 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()
Dreuseport_bpf_cpu.c34 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()
Dreuseport_bpf_numa.c30 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()
Dtcp_fastopen_backup_key.c91 static void build_rcv_fd(int family, int proto, int *rcv_fds) in build_rcv_fd()
143 static int connect_and_send(int family, int proto) in connect_and_send()
Dipsec.c154 static int netlink_sock(int *sock, uint32_t *seq_nr, int proto) in netlink_sock()
500 uint8_t proto; member
1113 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_policy_add()
1169 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_prepare()
1238 struct in_addr src, struct in_addr dst, uint8_t proto) in xfrm_state_del()
1273 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) in xfrm_delete()
1289 uint32_t spi, uint8_t proto) in xfrm_state_allocspi()
1340 static int netlink_sock_bind(int *sock, uint32_t *seq, int proto, uint32_t groups) in netlink_sock_bind()
2048 static int write_desc(int proto, int test_desc_fd, in write_desc()
2098 static int write_proto_plan(int fd, int proto) in write_proto_plan()
Dtoeplitz.c285 static void __set_filter(int fd, int off_proto, uint8_t proto, int off_dport) in __set_filter()
309 uint8_t proto; in set_filter() local
/tools/testing/selftests/bpf/progs/
Dskb_pkt_end.c33 __u8 proto = 0; in main_prog() local
Dtest_tc_peer.c46 __u16 proto = skb->protocol; in tc_src_l3() local
Dbpf_flow.c50 __be16 proto; member
115 static __always_inline int parse_eth_proto(struct __sk_buff *skb, __be16 proto) in parse_eth_proto()
151 static __always_inline int parse_ip_proto(struct __sk_buff *skb, __u8 proto) in parse_ip_proto()
Dtest_pkt_access.c107 __u8 proto = 255; in test_pkt_access() local
Dtest_sk_assign.c62 __u8 proto = 0; in get_tuple() local
Dtest_sk_lookup_kern.c27 __u8 proto = 0; in get_tuple() local
Dtest_cls_redirect.c348 pkt_parse_ipv6(buf_t *pkt, struct ipv6hdr *scratch, uint8_t *proto, in pkt_parse_ipv6()
410 uint16_t proto = ETH_P_IP; in forward_with_gre() local
698 static INLINING verdict_t classify_icmp(struct __sk_buff *skb, uint8_t proto, in classify_icmp()
Dtest_xdp_noinline.c118 __u8 proto; member
141 __u8 proto; member
Dtest_tc_tunnel.c529 static int decap_internal(struct __sk_buff *skb, int off, int len, char proto) in decap_internal()
Dtest_l4lb.c136 __u8 proto; member
Dtest_l4lb_noinline.c130 __u8 proto; member
/tools/testing/selftests/bpf/
Dtest_flow_dissector.c165 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()
Dxdpxceiver.c165 static __u32 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __u32 sum) in csum_tcpudp_nofold()
183 static __u16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __u32 sum) in csum_tcpudp_magic()
188 static u16 udp_csum(u32 saddr, u32 daddr, u32 len, u8 proto, u16 *udp_pkt) in udp_csum()
/tools/testing/selftests/ir/
Dir_loopback.c34 enum rc_proto proto; member
/tools/testing/selftests/bpf/prog_tests/
Dcls_redirect.c249 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init()
286 int proto; in build_input() local
/tools/include/uapi/linux/
Dif_tun.h96 __be16 proto; member
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c277 const char * const port, int proto) in sock_connect_mptcp()
968 int parse_proto(const char *proto) in parse_proto()
/tools/testing/selftests/nci/
Dnci_dev.c303 int proto; in FIXTURE() local
581 int start_polling(int dev_idx, int proto, int virtual_fd, int sd, int fid, int pid) in start_polling()

12