/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sockopt_multi.c | 75 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test() 98 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test() 122 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test() 149 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test() 168 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test() 188 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test() 225 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_setsockopt_test() 252 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_setsockopt_test() 279 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_setsockopt_test()
|
A D | sockopt_sk.c | 50 err = getsockopt(fd, SOL_IP, IP_TOS, big_buf, &optlen); in getsetsockopt() 82 err = getsockopt(fd, SOL_CUSTOM, 0, &buf, &optlen); in getsetsockopt() 108 err = getsockopt(fd, SOL_IP, IP_FREEBIND, big_buf, &optlen); in getsetsockopt() 130 err = getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &buf, &optlen); in getsetsockopt() 153 err = getsockopt(fd, SOL_TCP, TCP_CONGESTION, &buf, &optlen); in getsetsockopt() 168 err = getsockopt(fd, SOL_TCP, TCP_ZEROCOPY_RECEIVE, &buf, &optlen); in getsetsockopt() 179 err = getsockopt(fd, SOL_TCP, TCP_ZEROCOPY_RECEIVE, &buf, &optlen); in getsetsockopt()
|
A D | sockopt_qos_to_cc.c | 21 err = getsockopt(sock_fd, SOL_TCP, TCP_CONGESTION, cc, &optlen); in run_setsockopt_test()
|
A D | netns_cookie.c | 58 err = getsockopt(client_fd, SOL_SOCKET, SO_NETNS_COOKIE, in test_netns_cookie()
|
A D | tcp_rtt.c | 30 err = getsockopt(fd, SOL_TCP, TCP_INFO, &info, &optlen); in wait_for_ack()
|
A D | bpf_iter_setsockopt.c | 42 if (getsockopt(fds[i], SOL_TCP, TCP_CONGESTION, in check_bpf_dctcp()
|
A D | sockopt_inherit.c | 45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
|
/linux/tools/testing/selftests/net/mptcp/ |
A D | mptcp_sockopt.c | 246 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); in do_getsockopt_bogus_sf_data() 252 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); in do_getsockopt_bogus_sf_data() 262 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); in do_getsockopt_bogus_sf_data() 269 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); in do_getsockopt_bogus_sf_data() 275 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); in do_getsockopt_bogus_sf_data() 283 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); in do_getsockopt_bogus_sf_data() 297 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &_olen); in do_getsockopt_bogus_sf_data() 314 ret = getsockopt(fd, SOL_MPTCP, MPTCP_INFO, &i, &olen); in do_getsockopt_mptcp_info() 345 ret = getsockopt(fd, SOL_MPTCP, MPTCP_TCPINFO, &ti, &olen); in do_getsockopt_tcp_info() 397 ret = getsockopt(fd, SOL_MPTCP, MPTCP_SUBFLOW_ADDRS, &addrs, &olen); in do_getsockopt_subflow_addrs() [all …]
|
/linux/tools/testing/selftests/net/ |
A D | so_netns_cookie.c | 35 if (getsockopt(sock1, SOL_SOCKET, SO_NETNS_COOKIE, &cookie1, &vallen) != 0) in main() 49 if (getsockopt(sock2, SOL_SOCKET, SO_NETNS_COOKIE, &cookie2, &vallen) != 0) in main()
|
A D | timestamping.c | 471 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMP, &val, &len) < 0) in main() 476 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMPNS, &val, &len) < 0) in main() 483 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &so_timestamping_get, in main()
|
A D | udpgso.c | 345 ret = getsockopt(fd, SOL_IP, IP_MTU, &mtu, &vallen); in get_path_mtu() 347 ret = getsockopt(fd, SOL_IPV6, IPV6_MTU, &mtu, &vallen); in get_path_mtu()
|
A D | reuseport_dualstack.c | 150 if (getsockopt(test_fd, SOL_SOCKET, SO_DOMAIN, &test_family, &len)) in test()
|
/linux/Documentation/bpf/ |
A D | prog_cgroup_sockopt.rst | 10 * ``BPF_CGROUP_GETSOCKOPT`` - called every time process executes ``getsockopt`` 47 has been increased above initial ``getsockopt`` value (i.e. userspace 75 When the application calls ``getsockopt`` syscall from the cgroup B, 77 (B) sees the result of kernel's ``getsockopt``. It can optionally
|
/linux/samples/bpf/ |
A D | test_cgrp2_sock.c | 132 rc = getsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, name, &optlen); in get_bind_to_device() 145 rc = getsockopt(sd, SOL_SOCKET, SO_MARK, &mark, &optlen); in get_somark() 158 rc = getsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, &optlen); in get_priority()
|
A D | cookie_uid_helper_example.c | 238 res = getsockopt(s_send, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); in udp_client()
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-cgroup.rst | 34 | **sendmsg6** | **recvmsg4** | **recvmsg6** | **sysctl** | **getsockopt** | **setsoc… 105 **getsockopt** call to getsockopt (since 5.3);
|
/linux/kernel/ |
A D | sys_ni.c | 249 COND_SYSCALL(getsockopt); 250 COND_SYSCALL_COMPAT(getsockopt);
|
/linux/net/ipv4/ |
A D | udplite.c | 46 .getsockopt = udp_getsockopt,
|
/linux/net/ipv6/ |
A D | udplite.c | 44 .getsockopt = udpv6_getsockopt,
|
/linux/net/ieee802154/ |
A D | socket.c | 401 .getsockopt = raw_getsockopt, 420 .getsockopt = sock_common_getsockopt, 960 .getsockopt = dgram_getsockopt, 979 .getsockopt = sock_common_getsockopt,
|
/linux/net/dccp/ |
A D | ipv6.c | 985 .getsockopt = ipv6_getsockopt, 1001 .getsockopt = ipv6_getsockopt, 1042 .getsockopt = dccp_getsockopt, 1082 .getsockopt = sock_common_getsockopt,
|
A D | ipv4.c | 925 .getsockopt = ip_getsockopt, 957 .getsockopt = dccp_getsockopt, 1000 .getsockopt = sock_common_getsockopt,
|
/linux/net/atm/ |
A D | pvc.c | 125 .getsockopt = pvc_getsockopt,
|
/linux/net/l2tp/ |
A D | l2tp_ip.c | 598 .getsockopt = ip_getsockopt, 622 .getsockopt = sock_common_getsockopt,
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_main.c | 484 return ctx->sk_proto->getsockopt(sk, level, in chtls_getsockopt() 612 chtls_cpl_prot.getsockopt = chtls_getsockopt; in chtls_init_ulp_ops()
|