Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
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()
Dsockopt_sk.c42 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()
Dtcp_rtt.c30 err = getsockopt(fd, SOL_TCP, TCP_INFO, &info, &optlen); in wait_for_ack()
Dsockopt_inherit.c45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
/kernel/liteos_m/components/net/test/
Dnet_socket_test_004.c50 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/
Dnet_socket_test_004.cpp48 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()
Dnet_socket_test_007.cpp120 …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()
Dnet_socket_test_012.cpp126 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()
Dnet_socket_test_013.cpp275 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/
DBUILD.gn20 "//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/
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()
/kernel/linux/linux-5.10/Documentation/bpf/
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
/kernel/liteos_m/testsuites/unittest/xts/net/
Dacts_net_test.c104 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/
Dbpftool-cgroup.rst33 | **sendmsg6** | **recvmsg4** | **recvmsg6** | **sysctl** | **getsockopt** | **setsoc…
104 **getsockopt** call to getsockopt (since 5.3);
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtimestamping.c439 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/
Dudplite.c47 .getsockopt = udp_getsockopt,
/kernel/linux/linux-5.10/kernel/
Dsys_ni.c245 COND_SYSCALL(getsockopt);
246 COND_SYSCALL_COMPAT(getsockopt);
/kernel/linux/linux-5.10/net/ipv6/
Dudplite.c44 .getsockopt = udpv6_getsockopt,
/kernel/linux/build/test/kernel_ltp/syscalls/
DBUILD.gn256 "getsockopt:getsockopt01",
257 "getsockopt:getsockopt02",
/kernel/linux/linux-5.10/net/decnet/
DTODO21 send/recvmsg() calls should simply be a vector of set/getsockopt()
/kernel/linux/linux-5.10/net/atm/
Dpvc.c125 .getsockopt = pvc_getsockopt,
/kernel/linux/linux-5.10/net/ieee802154/
Dsocket.c407 .getsockopt = raw_getsockopt,
426 .getsockopt = sock_common_getsockopt,
971 .getsockopt = dgram_getsockopt,
990 .getsockopt = sock_common_getsockopt,
/kernel/liteos_a/compat/posix/src/
Dsocket.c77 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/
Dsocket.h254 int getsockopt(int, int, int, void *__restrict, socklen_t *__restrict);
/kernel/linux/linux-5.10/net/dccp/
Dipv6.c977 .getsockopt = ipv6_getsockopt,
993 .getsockopt = ipv6_getsockopt,
1034 .getsockopt = dccp_getsockopt,
1074 .getsockopt = sock_common_getsockopt,

123456