Home
last modified time | relevance | path

Searched refs:getsockopt (Results 1 – 25 of 127) sorted by relevance

123456

/linux/tools/testing/selftests/bpf/prog_tests/
A Dsockopt_multi.c75 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 Dsockopt_sk.c50 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 Dsockopt_qos_to_cc.c21 err = getsockopt(sock_fd, SOL_TCP, TCP_CONGESTION, cc, &optlen); in run_setsockopt_test()
A Dnetns_cookie.c58 err = getsockopt(client_fd, SOL_SOCKET, SO_NETNS_COOKIE, in test_netns_cookie()
A Dtcp_rtt.c30 err = getsockopt(fd, SOL_TCP, TCP_INFO, &info, &optlen); in wait_for_ack()
A Dbpf_iter_setsockopt.c42 if (getsockopt(fds[i], SOL_TCP, TCP_CONGESTION, in check_bpf_dctcp()
A Dsockopt_inherit.c45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
/linux/tools/testing/selftests/net/mptcp/
A Dmptcp_sockopt.c246 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 Dso_netns_cookie.c35 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 Dtimestamping.c471 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 Dudpgso.c345 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 Dreuseport_dualstack.c150 if (getsockopt(test_fd, SOL_SOCKET, SO_DOMAIN, &test_family, &len)) in test()
/linux/Documentation/bpf/
A Dprog_cgroup_sockopt.rst10 * ``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 Dtest_cgrp2_sock.c132 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 Dcookie_uid_helper_example.c238 res = getsockopt(s_send, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); in udp_client()
/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-cgroup.rst34 | **sendmsg6** | **recvmsg4** | **recvmsg6** | **sysctl** | **getsockopt** | **setsoc…
105 **getsockopt** call to getsockopt (since 5.3);
/linux/kernel/
A Dsys_ni.c249 COND_SYSCALL(getsockopt);
250 COND_SYSCALL_COMPAT(getsockopt);
/linux/net/ipv4/
A Dudplite.c46 .getsockopt = udp_getsockopt,
/linux/net/ipv6/
A Dudplite.c44 .getsockopt = udpv6_getsockopt,
/linux/net/ieee802154/
A Dsocket.c401 .getsockopt = raw_getsockopt,
420 .getsockopt = sock_common_getsockopt,
960 .getsockopt = dgram_getsockopt,
979 .getsockopt = sock_common_getsockopt,
/linux/net/dccp/
A Dipv6.c985 .getsockopt = ipv6_getsockopt,
1001 .getsockopt = ipv6_getsockopt,
1042 .getsockopt = dccp_getsockopt,
1082 .getsockopt = sock_common_getsockopt,
A Dipv4.c925 .getsockopt = ip_getsockopt,
957 .getsockopt = dccp_getsockopt,
1000 .getsockopt = sock_common_getsockopt,
/linux/net/atm/
A Dpvc.c125 .getsockopt = pvc_getsockopt,
/linux/net/l2tp/
A Dl2tp_ip.c598 .getsockopt = ip_getsockopt,
622 .getsockopt = sock_common_getsockopt,
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_main.c484 return ctx->sk_proto->getsockopt(sk, level, in chtls_getsockopt()
612 chtls_cpl_prot.getsockopt = chtls_getsockopt; in chtls_init_ulp_ops()

Completed in 26 milliseconds

123456