/tools/testing/selftests/bpf/ |
D | tcp_client.py | 11 def read(sock, n): argument 20 def send(sock, s): argument 35 sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) variable
|
D | tcp_server.py | 11 def read(sock, n): argument 20 def send(sock, s): argument
|
D | bpf_tcp_helpers.h | 28 struct sock { struct 29 struct sock_common __sk_common; argument 35 struct sock sk; argument
|
/tools/testing/selftests/net/ |
D | psock_tpacket.c | 101 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() local 220 static void walk_v1_v2_rx(int sock, struct ring *ring) in walk_v1_v2_rx() 342 static void __v1_v2_set_packet_loss_discard(int sock) in __v1_v2_set_packet_loss_discard() 369 static void walk_tx(int sock, struct ring *ring) in walk_tx() 500 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2() 581 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx() 622 static void walk_v3(int sock, struct ring *ring) in walk_v3() 667 static void setup_ring(int sock, struct ring *ring, int version, int type) in setup_ring() 708 static void mmap_ring(int sock, struct ring *ring) in mmap_ring() 726 static void bind_ring(int sock, struct ring *ring) in bind_ring() [all …]
|
D | fin_ack_lat.c | 30 int sock = 0; in client() local 86 static void server(int sock, struct sockaddr_in address) in server() 112 int sock; in main() local
|
D | timestamping.c | 118 static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len) in sendpacket() 136 int sock, int recvmsg_flags, in printpacket() 259 static void recvpacket(int sock, int recvmsg_flags, in recvpacket() 306 int sock; in main() local
|
D | hwtstamp_config.c | 91 int sock; in main() local
|
D | ipsec.c | 154 static int netlink_sock(int *sock, uint32_t *seq_nr, int proto) in netlink_sock() 246 static int netlink_check_answer(int sock) in netlink_check_answer() 269 static int veth_add(int sock, uint32_t seq, const char *peera, int ns_a, in veth_add() 319 static int ip4_addr_set(int sock, uint32_t seq, const char *intf, in ip4_addr_set() 361 static int link_set_up(int sock, uint32_t seq, const char *intf) in link_set_up() 387 static int ip4_route_set(int sock, uint32_t seq, const char *intf, in ip4_route_set() 1337 static int netlink_sock_bind(int *sock, uint32_t *seq, int proto, uint32_t groups) in netlink_sock_bind()
|
/tools/testing/selftests/vm/ |
D | map_populate.c | 33 static int parent_f(int sock, unsigned long *smap, int child) in parent_f() 53 static int child_f(int sock, unsigned long *smap, int fd) in child_f() 77 int sock[2], child, ret; in main() local
|
/tools/testing/selftests/exec/ |
D | non-regular.c | 170 FIXTURE(sock) in FIXTURE() argument 175 FIXTURE_SETUP(sock) in FIXTURE_SETUP() argument 181 FIXTURE_TEARDOWN(sock) in FIXTURE_TEARDOWN() argument 187 TEST_F(sock, exec_errno) in TEST_F() argument
|
/tools/lib/bpf/ |
D | netlink.c | 38 int sock; in libbpf_netlink_open() local 76 static int bpf_netlink_recv(int sock, __u32 nl_pid, int seq, in bpf_netlink_recv() 137 int sock, seq = 0, ret; in __bpf_set_link_xdp_fd_replace() local 292 int sock, ret; in bpf_get_link_xdp_info() local 352 int libbpf_nl_get_link(int sock, unsigned int nl_pid, in libbpf_nl_get_link()
|
/tools/testing/selftests/bpf/progs/ |
D | local_storage.c | 41 struct sock {} __attribute__((preserve_access_index)); struct 82 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() 108 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, in BPF_PROG()
|
D | udp_limit.c | 17 int sock(struct bpf_sock *ctx) in sock() function
|
D | test_tcp_estats.c | 74 struct sock { struct 75 struct sock_common __sk_common; argument 160 struct sock *sock; member
|
/tools/bpf/bpftool/ |
D | net.c | 101 int sock; in netlink_open() local 139 static int netlink_recv(int sock, __u32 nl_pid, __u32 seq, in netlink_recv() 213 static int netlink_get_class(int sock, unsigned int nl_pid, int ifindex, in netlink_get_class() 252 static int netlink_get_qdisc(int sock, unsigned int nl_pid, int ifindex, in netlink_get_qdisc() 291 static int netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, in netlink_get_filter() 330 static int netlink_get_link(int sock, unsigned int nl_pid, in netlink_get_link() 423 static int show_dev_tc_bpf(int sock, unsigned int nl_pid, in show_dev_tc_bpf() 651 int i, sock, ret, filter_idx = -1; in do_show() local
|
/tools/perf/util/ |
D | cpumap.h | 31 static inline int cpu_map__socket(struct perf_cpu_map *sock, int s) in cpu_map__socket()
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 146 int sock; in sock_listen_mptcp() local 202 int sock = -1, ret = 0; in sock_test_tcpulp() local 239 int sock = -1; in sock_connect_mptcp() local
|
/tools/usb/usbip/src/ |
D | usbipd.c | 386 int sock; in listen_all_addrinfo() local
|
/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 902 long current, sock; in tcp_client() local
|
/tools/bpf/ |
D | bpf_dbg.c | 500 int sock, ret, i; in bpf_runnable() local
|