/Linux-v5.4/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() 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()
|
D | sockopt_sk.c | 34 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()
|
D | sockopt_inherit.c | 45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
|
D | tcp_rtt.c | 29 err = getsockopt(fd, SOL_TCP, TCP_INFO, &info, &optlen); in wait_for_ack()
|
/Linux-v5.4/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
|
/Linux-v5.4/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()
|
/Linux-v5.4/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 433 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/ |
D | bpftool-cgroup.rst | 33 | **getsockopt** | **setsockopt** } 103 **getsockopt** call to getsockopt (since 5.3);
|
/Linux-v5.4/kernel/ |
D | sys_ni.c | 245 COND_SYSCALL(getsockopt); 246 COND_SYSCALL_COMPAT(getsockopt);
|
/Linux-v5.4/tools/lib/bpf/ |
D | xsk.c | 193 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/ |
D | compat.c | 421 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/ |
D | udplite.c | 44 .getsockopt = udpv6_getsockopt,
|
/Linux-v5.4/net/ipv4/ |
D | udplite.c | 47 .getsockopt = udp_getsockopt,
|
/Linux-v5.4/crypto/ |
D | algif_rng.c | 104 .getsockopt = sock_no_getsockopt,
|
D | algif_skcipher.c | 195 .getsockopt = sock_no_getsockopt, 291 .getsockopt = sock_no_getsockopt,
|
D | algif_hash.c | 282 .getsockopt = sock_no_getsockopt, 389 .getsockopt = sock_no_getsockopt,
|
/Linux-v5.4/net/decnet/ |
D | TODO | 21 send/recvmsg() calls should simply be a vector of set/getsockopt()
|
/Linux-v5.4/net/nfc/ |
D | rawsock.c | 280 .getsockopt = sock_no_getsockopt, 300 .getsockopt = sock_no_getsockopt,
|
/Linux-v5.4/net/atm/ |
D | pvc.c | 125 .getsockopt = pvc_getsockopt,
|
/Linux-v5.4/net/ieee802154/ |
D | socket.c | 402 .getsockopt = raw_getsockopt, 421 .getsockopt = sock_common_getsockopt, 965 .getsockopt = dgram_getsockopt, 984 .getsockopt = sock_common_getsockopt,
|
/Linux-v5.4/net/dccp/ |
D | ipv6.c | 970 .getsockopt = ipv6_getsockopt, 990 .getsockopt = ipv6_getsockopt, 1035 .getsockopt = dccp_getsockopt, 1079 .getsockopt = sock_common_getsockopt,
|
/Linux-v5.4/net/bluetooth/bnep/ |
D | sock.c | 186 .getsockopt = sock_no_getsockopt,
|
/Linux-v5.4/net/bluetooth/cmtp/ |
D | sock.c | 189 .getsockopt = sock_no_getsockopt,
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | reuseport_dualstack.c | 150 if (getsockopt(test_fd, SOL_SOCKET, SO_DOMAIN, &test_family, &len)) in test()
|
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()
|