socklen_t 218 samples/bpf/cookie_uid_helper_example.c socklen_t cookie_len = sizeof(cookie); socklen_t 219 samples/bpf/cookie_uid_helper_example.c socklen_t slen = sizeof(si_other); socklen_t 128 samples/bpf/test_cgrp2_sock.c socklen_t optlen = len; socklen_t 142 samples/bpf/test_cgrp2_sock.c socklen_t optlen = sizeof(mark); socklen_t 155 samples/bpf/test_cgrp2_sock.c socklen_t optlen = sizeof(prio); socklen_t 16 samples/bpf/test_probe_write_user_user.c socklen_t sockaddr_len; socklen_t 33 tools/lib/bpf/netlink.c socklen_t addrlen; socklen_t 184 tools/lib/bpf/xsk.c socklen_t optlen; socklen_t 44 tools/testing/selftests/android/ion/ipcsocket.c socklen_t sklen; socklen_t 70 tools/testing/selftests/android/ion/ipcsocket.c (socklen_t *)&sklen); socklen_t 18 tools/testing/selftests/bpf/prog_tests/sockmap_basic.c socklen_t len = sizeof(addr); socklen_t 27 tools/testing/selftests/bpf/prog_tests/sockopt.c socklen_t set_optlen; socklen_t 32 tools/testing/selftests/bpf/prog_tests/sockopt.c socklen_t get_optlen; socklen_t 33 tools/testing/selftests/bpf/prog_tests/sockopt.c socklen_t get_optlen_ret; socklen_t 926 tools/testing/selftests/bpf/prog_tests/sockopt.c socklen_t optlen = test->get_optlen; socklen_t 927 tools/testing/selftests/bpf/prog_tests/sockopt.c socklen_t expected_get_optlen = test->get_optlen_ret ?: socklen_t 13 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c socklen_t len = sizeof(addr); socklen_t 41 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c socklen_t optlen = 1; socklen_t 68 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c socklen_t len = sizeof(addr); socklen_t 60 tools/testing/selftests/bpf/prog_tests/sockopt_multi.c socklen_t optlen; socklen_t 209 tools/testing/selftests/bpf/prog_tests/sockopt_multi.c socklen_t optlen; socklen_t 15 tools/testing/selftests/bpf/prog_tests/sockopt_sk.c socklen_t optlen; socklen_t 24 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c socklen_t optlen; socklen_t 93 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c socklen_t len = sizeof(addr); socklen_t 212 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c socklen_t len = sizeof(addr); socklen_t 1440 tools/testing/selftests/bpf/test_maps.c socklen_t optlen, addrlen; socklen_t 234 tools/testing/selftests/bpf/test_select_reuseport.c socklen_t addrlen; socklen_t 583 tools/testing/selftests/bpf/test_select_reuseport.c socklen_t addrlen; socklen_t 631 tools/testing/selftests/bpf/test_select_reuseport.c socklen_t addrlen = sizeof(srv_sa); socklen_t 361 tools/testing/selftests/bpf/test_sock.c socklen_t len; socklen_t 56 tools/testing/selftests/bpf/test_sock_addr.c typedef int (*info_fn)(int, struct sockaddr *, socklen_t *); socklen_t 604 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr *addr, socklen_t addr_len) socklen_t 1124 tools/testing/selftests/bpf/test_sock_addr.c socklen_t len1 = sizeof(addr1); socklen_t 1127 tools/testing/selftests/bpf/test_sock_addr.c if (fn(sock1, (struct sockaddr *)&addr1, (socklen_t *)&len1) != 0) socklen_t 1149 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len) socklen_t 1180 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len) socklen_t 1242 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len, int set_cmsg, int flags, socklen_t 1311 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len) socklen_t 1355 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); socklen_t 1377 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); socklen_t 1410 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); socklen_t 1463 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); socklen_t 312 tools/testing/selftests/bpf/test_sock_fields.c socklen_t addrlen; socklen_t 64 tools/testing/selftests/bpf/test_socket_cookie.c socklen_t len = sizeof(addr); socklen_t 96 tools/testing/selftests/bpf/test_socket_cookie.c socklen_t len = sizeof(addr); socklen_t 21 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c static int start_server(const struct sockaddr *addr, socklen_t len) socklen_t 53 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c socklen_t len = sizeof(addr); socklen_t 825 tools/testing/selftests/cgroup/test_memcontrol.c socklen_t slen = sizeof(saddr); socklen_t 134 tools/testing/selftests/net/ip_defrag.c static void send_fragment(int fd_raw, struct sockaddr *addr, socklen_t alen, socklen_t 204 tools/testing/selftests/net/ip_defrag.c socklen_t alen, bool ipv6) socklen_t 334 tools/testing/selftests/net/ip_defrag.c static void run_test(struct sockaddr *addr, socklen_t alen, bool ipv6) socklen_t 90 tools/testing/selftests/net/msg_zerocopy.c static socklen_t cfg_alen; socklen_t 203 tools/testing/selftests/net/nettest.c static int tcp_md5sig(int sd, void *addr, socklen_t alen, const char *password) socklen_t 305 tools/testing/selftests/net/nettest.c socklen_t optlen = len; socklen_t 548 tools/testing/selftests/net/nettest.c socklen_t alen = sizeof(local_addr); socklen_t 616 tools/testing/selftests/net/nettest.c static int send_msg_no_cmsg(int sd, void *addr, socklen_t alen) socklen_t 637 tools/testing/selftests/net/nettest.c static int send_msg_cmsg(int sd, void *addr, socklen_t alen, socklen_t 699 tools/testing/selftests/net/nettest.c static int send_msg(int sd, void *addr, socklen_t alen, struct sock_args *args) socklen_t 724 tools/testing/selftests/net/nettest.c socklen_t alen = sizeof(addr); socklen_t 873 tools/testing/selftests/net/nettest.c static int stdin_to_socket(int sd, int type, void *addr, socklen_t alen) socklen_t 920 tools/testing/selftests/net/nettest.c static int msg_loop(int client, int sd, void *addr, socklen_t alen, socklen_t 1079 tools/testing/selftests/net/nettest.c socklen_t alen; socklen_t 1167 tools/testing/selftests/net/nettest.c socklen_t alen = sizeof(addr); socklen_t 1271 tools/testing/selftests/net/nettest.c if (getsockopt(sd, SOL_SOCKET, SO_ERROR, &val, (socklen_t *)&sz) < 0) { socklen_t 1284 tools/testing/selftests/net/nettest.c static int connectsock(void *addr, socklen_t alen, struct sock_args *args) socklen_t 119 tools/testing/selftests/net/psock_fanout.c socklen_t sockopt_len = sizeof(sockopt); socklen_t 133 tools/testing/selftests/net/reuseport_dualstack.c socklen_t len; socklen_t 199 tools/testing/selftests/net/so_txtime.c socklen_t vallen = sizeof(so_txtime_val); socklen_t 216 tools/testing/selftests/net/so_txtime.c static int setup_tx(struct sockaddr *addr, socklen_t alen) socklen_t 232 tools/testing/selftests/net/so_txtime.c static int setup_rx(struct sockaddr *addr, socklen_t alen) socklen_t 250 tools/testing/selftests/net/so_txtime.c static void do_test(struct sockaddr *addr, socklen_t alen) socklen_t 54 tools/testing/selftests/net/tcp_fastopen_backup_key.c socklen_t len = KEY_LENGTH * 2; socklen_t 33 tools/testing/selftests/net/tcp_inq.c static socklen_t addr_len = sizeof(struct sockaddr_in6); socklen_t 63 tools/testing/selftests/net/tcp_inq.c socklen_t addrlen = sizeof(addr); socklen_t 76 tools/testing/selftests/net/tcp_mmap.c static socklen_t cfg_alen = sizeof(struct sockaddr_in6); socklen_t 155 tools/testing/selftests/net/tcp_mmap.c socklen_t zc_len = sizeof(zc); socklen_t 282 tools/testing/selftests/net/tcp_mmap.c socklen_t addrlen = sizeof(addr); socklen_t 37 tools/testing/selftests/net/tls.c socklen_t len; socklen_t 108 tools/testing/selftests/net/tls.c socklen_t len; socklen_t 1151 tools/testing/selftests/net/tls.c socklen_t len; socklen_t 1203 tools/testing/selftests/net/tls.c socklen_t len; socklen_t 1267 tools/testing/selftests/net/tls.c socklen_t len; socklen_t 339 tools/testing/selftests/net/udpgso.c socklen_t vallen; socklen_t 452 tools/testing/selftests/net/udpgso.c struct sockaddr *addr, socklen_t alen) socklen_t 506 tools/testing/selftests/net/udpgso.c struct sockaddr *addr, socklen_t alen) socklen_t 557 tools/testing/selftests/net/udpgso.c static void run_all(int fdt, int fdr, struct sockaddr *addr, socklen_t alen) socklen_t 571 tools/testing/selftests/net/udpgso.c static void run_test(struct sockaddr *addr, socklen_t alen) socklen_t 83 tools/testing/selftests/net/udpgso_bench_tx.c static socklen_t cfg_alen; socklen_t 118 tools/testing/selftests/networking/timestamping/timestamping.c static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len) socklen_t 314 tools/testing/selftests/networking/timestamping/timestamping.c socklen_t len; socklen_t 81 tools/testing/selftests/uevent/uevent_filtering.c socklen_t sk_addr_len; socklen_t 449 tools/testing/vsock/vsock_diag_test.c socklen_t clientaddr_len = sizeof(clientaddr.svm); socklen_t 312 tools/usb/usbip/src/usbipd.c socklen_t len = sizeof(ss);