/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 | 134 static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len, int ptpv2) in sendpacket() 153 int sock, int recvmsg_flags, in printpacket() 277 static void recvpacket(int sock, int recvmsg_flags, in recvpacket() 324 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() 1340 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/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/testing/selftests/bpf/progs/ |
D | udp_limit.c | 17 int sock(struct bpf_sock *ctx) in sock() function
|
D | local_storage.c | 105 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() 133 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, in BPF_PROG()
|
D | bpf_iter_bpf_sk_storage_helpers.c | 30 struct socket *sock; in fill_socket_owner() local
|
D | socket_cookie_prog.c | 79 int BPF_PROG(update_cookie_tracing, struct socket *sock, in BPF_PROG()
|
D | test_tcp_estats.c | 74 struct sock { struct 75 struct sock_common __sk_common; argument 160 struct sock *sock; member
|
/tools/lib/bpf/ |
D | netlink.c | 41 int sock; in libbpf_netlink_open() local 79 static void libbpf_netlink_close(int sock) in libbpf_netlink_close() 90 static int netlink_recvmsg(int sock, struct msghdr *mhdr, int flags) in netlink_recvmsg() 116 static int libbpf_netlink_recv(int sock, __u32 nl_pid, int seq, in libbpf_netlink_recv() 212 int sock, ret; in libbpf_netlink_send_recv() local
|
/tools/perf/util/ |
D | cpumap.h | 47 static inline int cpu_map__socket(struct perf_cpu_map *sock, int s) in cpu_map__socket()
|
/tools/testing/selftests/bpf/ |
D | bpf_tcp_helpers.h | 32 struct sock { struct 33 struct sock_common __sk_common; argument 40 struct sock sk; argument
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 191 int sock; in sock_listen_mptcp() local 247 int sock = -1, ret = 0; in sock_test_tcpulp() local 284 int sock = -1; in sock_connect_mptcp() local
|
/tools/testing/selftests/cgroup/ |
D | test_kmem.c | 165 long current, slab, anon, file, kernel_stack, pagetables, percpu, sock, sum; in test_kmem_memcg_deletion() local
|
D | test_memcontrol.c | 902 long current, sock; in tcp_client() local
|
/tools/usb/usbip/src/ |
D | usbipd.c | 386 int sock; in listen_all_addrinfo() local
|
/tools/testing/selftests/nci/ |
D | nci_dev.c | 698 int sock; in connect_socket() local
|
/tools/bpf/ |
D | bpf_dbg.c | 500 int sock, ret, i; in bpf_runnable() local
|