Home
last modified time | relevance | path

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

123456

/Linux-v5.4/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()
148 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
167 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
187 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
224 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_setsockopt_test()
251 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_setsockopt_test()
278 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_setsockopt_test()
Dsockopt_sk.c34 err = getsockopt(fd, SOL_IP, IP_TOS, &buf, &optlen); in getsetsockopt()
66 err = getsockopt(fd, SOL_CUSTOM, 0, &buf, &optlen); in getsetsockopt()
92 err = getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &buf, &optlen); in getsetsockopt()
115 err = getsockopt(fd, SOL_TCP, TCP_CONGESTION, &buf, &optlen); in getsetsockopt()
Dsockopt_inherit.c45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
Dtcp_rtt.c29 err = getsockopt(fd, SOL_TCP, TCP_INFO, &info, &optlen); in wait_for_ack()
/Linux-v5.4/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
/Linux-v5.4/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()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtimestamping.c433 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMP, &val, &len) < 0) in main()
438 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMPNS, &val, &len) < 0) in main()
444 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &val, &len) < 0) { in main()
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst33 | **getsockopt** | **setsockopt** }
103 **getsockopt** call to getsockopt (since 5.3);
/Linux-v5.4/kernel/
Dsys_ni.c245 COND_SYSCALL(getsockopt);
246 COND_SYSCALL_COMPAT(getsockopt);
/Linux-v5.4/tools/lib/bpf/
Dxsk.c193 err = getsockopt(umem->fd, SOL_XDP, XDP_MMAP_OFFSETS, &off, &optlen); in xsk_umem__create_v0_0_4()
554 err = getsockopt(xsk->fd, SOL_XDP, XDP_MMAP_OFFSETS, &off, &optlen); in xsk_socket__create()
650 err = getsockopt(umem->fd, SOL_XDP, XDP_MMAP_OFFSETS, &off, &optlen); in xsk_umem__delete()
680 err = getsockopt(xsk->fd, SOL_XDP, XDP_MMAP_OFFSETS, &off, &optlen); in xsk_socket__delete()
/Linux-v5.4/net/
Dcompat.c421 err = sock->ops->getsockopt(sock, level, in __compat_sys_getsockopt()
428 COMPAT_SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname, in COMPAT_SYSCALL_DEFINE5() argument
551 int (*getsockopt)(struct sock *, int, int, char __user *, int __user *)) in compat_mc_getsockopt()
560 return getsockopt(sock, level, optname, optval, optlen); in compat_mc_getsockopt()
590 err = getsockopt(sock, level, optname, (char __user *)kgf, koptlen); in compat_mc_getsockopt()
/Linux-v5.4/net/ipv6/
Dudplite.c44 .getsockopt = udpv6_getsockopt,
/Linux-v5.4/net/ipv4/
Dudplite.c47 .getsockopt = udp_getsockopt,
/Linux-v5.4/crypto/
Dalgif_rng.c104 .getsockopt = sock_no_getsockopt,
Dalgif_skcipher.c195 .getsockopt = sock_no_getsockopt,
291 .getsockopt = sock_no_getsockopt,
Dalgif_hash.c282 .getsockopt = sock_no_getsockopt,
389 .getsockopt = sock_no_getsockopt,
/Linux-v5.4/net/decnet/
DTODO21 send/recvmsg() calls should simply be a vector of set/getsockopt()
/Linux-v5.4/net/nfc/
Drawsock.c280 .getsockopt = sock_no_getsockopt,
300 .getsockopt = sock_no_getsockopt,
/Linux-v5.4/net/atm/
Dpvc.c125 .getsockopt = pvc_getsockopt,
/Linux-v5.4/net/ieee802154/
Dsocket.c402 .getsockopt = raw_getsockopt,
421 .getsockopt = sock_common_getsockopt,
965 .getsockopt = dgram_getsockopt,
984 .getsockopt = sock_common_getsockopt,
/Linux-v5.4/net/dccp/
Dipv6.c970 .getsockopt = ipv6_getsockopt,
990 .getsockopt = ipv6_getsockopt,
1035 .getsockopt = dccp_getsockopt,
1079 .getsockopt = sock_common_getsockopt,
/Linux-v5.4/net/bluetooth/bnep/
Dsock.c186 .getsockopt = sock_no_getsockopt,
/Linux-v5.4/net/bluetooth/cmtp/
Dsock.c189 .getsockopt = sock_no_getsockopt,
/Linux-v5.4/tools/testing/selftests/net/
Dreuseport_dualstack.c150 if (getsockopt(test_fd, SOL_SOCKET, SO_DOMAIN, &test_family, &len)) in test()
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()

123456