/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
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()
|
D | sockopt_sk.c | 42 err = getsockopt(fd, SOL_IP, IP_TOS, big_buf, &optlen); in getsetsockopt() 74 err = getsockopt(fd, SOL_CUSTOM, 0, &buf, &optlen); in getsetsockopt() 100 err = getsockopt(fd, SOL_IP, IP_FREEBIND, big_buf, &optlen); in getsetsockopt() 122 err = getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &buf, &optlen); in getsetsockopt() 145 err = getsockopt(fd, SOL_TCP, TCP_CONGESTION, &buf, &optlen); in getsetsockopt()
|
D | tcp_rtt.c | 30 err = getsockopt(fd, SOL_TCP, TCP_INFO, &info, &optlen); in wait_for_ack()
|
D | sockopt_inherit.c | 45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
|
/kernel/liteos_m/components/net/test/ |
D | net_socket_test_004.c | 50 ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &len); in SockOptTest() 57 ret = getsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, &len); in SockOptTest() 66 ret = getsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, &len); in SockOptTest() 72 ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &len); in SockOptTest()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_004.cpp | 48 ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &len); in SockOptTest() 54 ret = getsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, &len); in SockOptTest() 64 ret = getsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, &len); in SockOptTest() 70 ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &len); in SockOptTest()
|
D | net_socket_test_007.cpp | 120 …ret = getsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_USER_AD… in TcpTest() 124 …ret = getsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_KERNEL_… in TcpTest()
|
D | net_socket_test_012.cpp | 126 ret = getsockopt(sfd, SOL_SOCKET, SO_RCVTIMEO, NULL, NULL); in SocketNullTestInternal() 130 ret = getsockopt(sfd, SOL_SOCKET, SO_RCVTIMEO, NULL, &addrlen); in SocketNullTestInternal() 134 ret = getsockopt(sfd, SOL_SOCKET, SO_RCVTIMEO, &addr, NULL); in SocketNullTestInternal() 139 ret = getsockopt(sfd, SOL_SOCKET, SO_RCVTIMEO, bad, &zero); in SocketNullTestInternal()
|
D | net_socket_test_013.cpp | 275 ret = getsockopt(lsfd, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, &len); in UdpBrdcastSelectTest() 283 ret = getsockopt(lsfd, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, &len); in UdpBrdcastSelectTest()
|
/kernel/linux/build/test/kernel_ltp/syscalls/getsockopt/ |
D | BUILD.gn | 20 "//third_party/ltp/testcases/kernel/syscalls/getsockopt/getsockopt01.c", 27 "//third_party/ltp/testcases/kernel/syscalls/getsockopt/getsockopt02.c",
|
/kernel/linux/linux-5.10/samples/bpf/ |
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()
|
/kernel/linux/linux-5.10/Documentation/bpf/ |
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
|
/kernel/liteos_m/testsuites/unittest/xts/net/ |
D | acts_net_test.c | 104 int ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &len); 109 ret = getsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, &len); 118 ret = getsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, &len); 128 ret = getsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &flag, &len); 134 ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &len);
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-cgroup.rst | 33 | **sendmsg6** | **recvmsg4** | **recvmsg6** | **sysctl** | **getsockopt** | **setsoc… 104 **getsockopt** call to getsockopt (since 5.3);
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | timestamping.c | 439 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMP, &val, &len) < 0) in main() 444 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMPNS, &val, &len) < 0) in main() 450 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &val, &len) < 0) { in main()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udplite.c | 47 .getsockopt = udp_getsockopt,
|
/kernel/linux/linux-5.10/kernel/ |
D | sys_ni.c | 245 COND_SYSCALL(getsockopt); 246 COND_SYSCALL_COMPAT(getsockopt);
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | udplite.c | 44 .getsockopt = udpv6_getsockopt,
|
/kernel/linux/build/test/kernel_ltp/syscalls/ |
D | BUILD.gn | 256 "getsockopt:getsockopt01", 257 "getsockopt:getsockopt02",
|
/kernel/linux/linux-5.10/net/decnet/ |
D | TODO | 21 send/recvmsg() calls should simply be a vector of set/getsockopt()
|
/kernel/linux/linux-5.10/net/atm/ |
D | pvc.c | 125 .getsockopt = pvc_getsockopt,
|
/kernel/linux/linux-5.10/net/ieee802154/ |
D | socket.c | 407 .getsockopt = raw_getsockopt, 426 .getsockopt = sock_common_getsockopt, 971 .getsockopt = dgram_getsockopt, 990 .getsockopt = sock_common_getsockopt,
|
/kernel/liteos_a/compat/posix/src/ |
D | socket.c | 77 int getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen) in getsockopt() function
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | socket.h | 254 int getsockopt(int, int, int, void *__restrict, socklen_t *__restrict);
|
/kernel/linux/linux-5.10/net/dccp/ |
D | ipv6.c | 977 .getsockopt = ipv6_getsockopt, 993 .getsockopt = ipv6_getsockopt, 1034 .getsockopt = dccp_getsockopt, 1074 .getsockopt = sock_common_getsockopt,
|