setsockopt
Defined as a function in:
Referenced (in 204 files total) in:
- arch/um/drivers/port_user.c, line 122
- arch/um/drivers/umcast_user.c, 5 times
- arch/um/drivers/vector_user.c, 4 times
- crypto/af_alg.c, line 494
- include/linux/net.h, line 192
- include/net/inet_connection_sock.h, line 48
- include/net/sctp/structs.h, line 435
- include/net/sock.h, line 1233
- include/uapi/linux/bpf.h, line 5846
- kernel/bpf/cgroup.c, line 1843
- kernel/sys_ni.c, 2 times
- net/atm/pvc.c, line 124
- net/atm/svc.c, line 652
- net/ax25/af_ax25.c, line 2026
- net/bluetooth/hci_sock.c, line 2176
- net/bluetooth/iso.c, line 2257
- net/bluetooth/l2cap_sock.c, line 1943
- net/bluetooth/rfcomm/sock.c, line 1014
- net/bluetooth/sco.c, line 1438
- net/caif/caif_socket.c, 5 times
- net/can/isotp.c, line 1689
- net/can/j1939/socket.c, line 1320
- net/can/raw.c, line 1050
- net/core/sock.c, 2 times
- net/dccp/ipv4.c, 3 times
- net/dccp/ipv6.c, 4 times
- net/dccp/proto.c, line 579
- net/ieee802154/socket.c, 4 times
- net/ipv4/af_inet.c, 3 times
- net/ipv4/ping.c, line 1008
- net/ipv4/tcp.c, line 3768
- net/ipv4/tcp_ipv4.c, 2 times
- net/ipv4/udplite.c, line 54
- net/ipv4/udp.c, line 2949
- net/ipv4/raw.c, line 942
- net/ipv6/af_inet6.c, 2 times
- net/ipv6/ipv6_sockglue.c, line 988
- net/ipv6/ping.c, line 207
- net/ipv6/tcp_ipv6.c, 3 times
- net/ipv6/udplite.c, line 53
- net/ipv6/raw.c, 2 times
- net/ipv6/udp.c, line 1774
- net/iucv/af_iucv.c, line 2219
- net/kcm/kcmsock.c, 2 times
- net/l2tp/l2tp_ip.c, 2 times
- net/l2tp/l2tp_ip6.c, 2 times
- net/l2tp/l2tp_ppp.c, line 1664
- net/llc/af_llc.c, line 1239
- net/mctp/af_mctp.c, line 560
- net/mptcp/protocol.c, 3 times
- net/netlink/af_netlink.c, line 2816
- net/netrom/af_netrom.c, line 1367
- net/nfc/llcp_sock.c, line 930
- net/packet/af_packet.c, line 4730
- net/phonet/pep.c, line 1354
- net/phonet/socket.c, line 458
- net/rds/af_rds.c, line 651
- net/rose/af_rose.c, line 1525
- net/rxrpc/af_rxrpc.c, line 998
- net/sctp/ipv6.c, 2 times
- net/sctp/protocol.c, 2 times
- net/sctp/socket.c, 3 times
- net/smc/af_smc.c, 3 times
- net/smc/smc_inet.c, 2 times
- net/tipc/socket.c, 3 times
- net/tls/tls_main.c, 2 times
- net/vmw_vsock/af_vsock.c, 2 times
- net/x25/af_x25.c, line 1755
- net/xdp/xsk.c, line 1670
- net/socket.c, 3 times
- samples/bpf/fds_example.c, line 133
- samples/bpf/sock_example.c, 2 times
- samples/bpf/sockex1_user.c, line 38
- samples/bpf/sockex2_user.c, line 42
- samples/bpf/sockex3_user.c, line 70
- samples/bpf/test_cgrp2_sock.c, line 138
- samples/connector/ucon.c, line 160
- security/apparmor/include/audit.h, line 85
- tools/accounting/getdelays.c, line 98
- tools/accounting/procacct.c, line 105
- tools/bpf/bpf_dbg.c, line 511
- tools/bpf/bpftool/common.c, line 1159
- tools/bpf/bpftool/net.c, line 119
- tools/bpf/bpftool/prog.c, line 2493
- tools/include/uapi/linux/bpf.h, line 5846
- tools/lib/bpf/libbpf.c, line 9449
- tools/lib/bpf/netlink.c, line 66
- tools/net/ynl/lib/ynl.c, 3 times
- tools/perf/builtin-trace.c, line 1144
- tools/testing/selftests/bpf/cgroup_getset_retval_hooks.h, 2 times
- tools/testing/selftests/bpf/netlink_helpers.c, 3 times
- tools/testing/selftests/bpf/network_helpers.c, 3 times
- tools/testing/selftests/bpf/prog_tests/assign_reuse.c, line 18
- tools/testing/selftests/bpf/prog_tests/bpf_iter_setsockopt.c, line 27
- tools/testing/selftests/bpf/prog_tests/bpf_iter_setsockopt_unix.c, 2 times
- tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c, 2 times
- tools/testing/selftests/bpf/prog_tests/cgroup_getset_retval.c, 27 times
- tools/testing/selftests/bpf/prog_tests/crypto_sanity.c, line 33
- tools/testing/selftests/bpf/prog_tests/lwt_redirect.c, 2 times
- tools/testing/selftests/bpf/prog_tests/lwt_reroute.c, 2 times
- tools/testing/selftests/bpf/prog_tests/migrate_reuseport.c, 8 times
- tools/testing/selftests/bpf/prog_tests/section_names.c, line 172
- tools/testing/selftests/bpf/prog_tests/select_reuseport.c, 8 times
- tools/testing/selftests/bpf/prog_tests/setget_sockopt.c, 8 times
- tools/testing/selftests/bpf/prog_tests/sk_lookup.c, 13 times
- tools/testing/selftests/bpf/prog_tests/sockmap_basic.c, 4 times
- tools/testing/selftests/bpf/prog_tests/sockmap_helpers.h, 2 times
- tools/testing/selftests/bpf/prog_tests/sockmap_ktls.c, 6 times
- tools/testing/selftests/bpf/prog_tests/sockopt.c, 23 times
- tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c, 3 times
- tools/testing/selftests/bpf/prog_tests/sockopt_multi.c, 12 times
- tools/testing/selftests/bpf/prog_tests/sockopt_qos_to_cc.c, 4 times
- tools/testing/selftests/bpf/prog_tests/sockopt_sk.c, 13 times
- tools/testing/selftests/bpf/prog_tests/tc_netkit.c, 2 times
- tools/testing/selftests/bpf/prog_tests/tc_redirect.c, 8 times
- tools/testing/selftests/bpf/prog_tests/vrf_socket_lookup.c, 2 times
- tools/testing/selftests/bpf/progs/cgroup_getset_retval_setsockopt.c, 4 times
- tools/testing/selftests/bpf/progs/sockopt_inherit.c, line 83
- tools/testing/selftests/bpf/progs/sockopt_multi.c, line 68
- tools/testing/selftests/bpf/progs/sockopt_qos_to_cc.c, line 12
- tools/testing/selftests/bpf/progs/sockopt_sk.c, line 139
- tools/testing/selftests/bpf/test_maps.c, 5 times
- tools/testing/selftests/bpf/test_sockmap.c, 16 times
- tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c, 2 times
- tools/testing/selftests/bpf/xdp_hw_metadata.c, 2 times
- tools/testing/selftests/bpf/xsk.c, 5 times
- tools/testing/selftests/bpf/xskxceiver.c, 3 times
- tools/testing/selftests/cgroup/test_memcontrol.c, line 948
- tools/testing/selftests/nci/nci_dev.c, line 424
- tools/testing/selftests/net/af_unix/msg_oob.c, line 285
- tools/testing/selftests/net/af_unix/scm_pidfd.c, 2 times
- tools/testing/selftests/net/bind_bhash.c, 2 times
- tools/testing/selftests/net/bind_wildcard.c, 2 times
- tools/testing/selftests/net/cmsg_sender.c, 18 times
- tools/testing/selftests/net/fin_ack_lat.c, 6 times
- tools/testing/selftests/net/gro.c, 3 times
- tools/testing/selftests/net/io_uring_zerocopy_tx.c, 2 times
- tools/testing/selftests/net/ioam6_parser.c, line 623
- tools/testing/selftests/net/ip_defrag.c, 2 times
- tools/testing/selftests/net/ip_local_port_range.c, 22 times
- tools/testing/selftests/net/ipsec.c, 2 times
- tools/testing/selftests/net/ipv6_flowlabel.c, 6 times
- tools/testing/selftests/net/ipv6_flowlabel_mgr.c, 2 times
- tools/testing/selftests/net/lib/csum.c, 10 times
- tools/testing/selftests/net/mptcp/mptcp_connect.c, 15 times
- tools/testing/selftests/net/mptcp/mptcp_inq.c, 4 times
- tools/testing/selftests/net/mptcp/mptcp_sockopt.c, 4 times
- tools/testing/selftests/net/mptcp/pm_nl_ctl.c, 2 times
- tools/testing/selftests/net/msg_zerocopy.c, 2 times
- tools/testing/selftests/net/netfilter/connect_close.c, 2 times
- tools/testing/selftests/net/netfilter/nf_queue.c, 2 times
- tools/testing/selftests/net/netfilter/sctp_collision.c, 2 times
- tools/testing/selftests/net/nettest.c, 41 times
- tools/testing/selftests/net/psock_fanout.c, 8 times
- tools/testing/selftests/net/psock_lib.h, 2 times
- tools/testing/selftests/net/psock_snd.c, 8 times
- tools/testing/selftests/net/psock_tpacket.c, 7 times
- tools/testing/selftests/net/reuseaddr_conflict.c, 4 times
- tools/testing/selftests/net/reuseaddr_ports_exhausted.c, 4 times
- tools/testing/selftests/net/reuseport_addr_any.c, 5 times
- tools/testing/selftests/net/reuseport_bpf.c, 13 times
- tools/testing/selftests/net/reuseport_bpf_cpu.c, 2 times
- tools/testing/selftests/net/reuseport_bpf_numa.c, 2 times
- tools/testing/selftests/net/reuseport_dualstack.c, line 61
- tools/testing/selftests/net/rxtimestamp.c, 4 times
- tools/testing/selftests/net/sctp_hello.c, line 101
- tools/testing/selftests/net/sk_bind_sendto_listen.c, 4 times
- tools/testing/selftests/net/sk_connect_zero_addr.c, 2 times
- tools/testing/selftests/net/so_incoming_cpu.c, 2 times
- tools/testing/selftests/net/so_txtime.c, 6 times
- tools/testing/selftests/net/stress_reuseport_listen.c, 2 times
- tools/testing/selftests/net/tcp_ao/bench-lookups.c, 5 times
- tools/testing/selftests/net/tcp_ao/connect-deny.c, 3 times
- tools/testing/selftests/net/tcp_ao/connect.c, 2 times
- tools/testing/selftests/net/tcp_ao/icmps-accept.c, 11 times
- tools/testing/selftests/net/tcp_ao/icmps-discard.c, 11 times
- tools/testing/selftests/net/tcp_ao/key-management.c, 7 times
- tools/testing/selftests/net/tcp_ao/lib/aolib.h, 2 times
- tools/testing/selftests/net/tcp_ao/lib/kconfig.c, 3 times
- tools/testing/selftests/net/tcp_ao/lib/repair.c, 22 times
- tools/testing/selftests/net/tcp_ao/lib/sock.c, 8 times
- tools/testing/selftests/net/tcp_ao/restore.c, 3 times
- tools/testing/selftests/net/tcp_ao/rst.c, 7 times
- tools/testing/selftests/net/tcp_ao/self-connect.c, 6 times
- tools/testing/selftests/net/tcp_ao/seq-ext.c, 3 times
- tools/testing/selftests/net/tcp_ao/setsockopt-closed.c, 19 times
- tools/testing/selftests/net/tcp_ao/unsigned-md5.c, 12 times
- tools/testing/selftests/net/tcp_fastopen_backup_key.c, 3 times
- tools/testing/selftests/net/tcp_inq.c, 4 times
- tools/testing/selftests/net/tcp_mmap.c, 15 times
- tools/testing/selftests/net/timestamping.c, 12 times
- tools/testing/selftests/net/tls.c, 34 times
- tools/testing/selftests/net/toeplitz.c, 13 times
- tools/testing/selftests/net/txring_overwrite.c, 2 times
- tools/testing/selftests/net/txtimestamp.c, 8 times
- tools/testing/selftests/net/udpgso.c, 10 times
- tools/testing/selftests/net/udpgso_bench_rx.c, 6 times
- tools/testing/selftests/net/udpgso_bench_tx.c, 6 times
- tools/testing/selftests/uevent/uevent_filtering.c, line 99
- tools/testing/vsock/control.c, 2 times
- tools/testing/vsock/msg_zerocopy_common.c, 2 times
- tools/testing/vsock/vsock_perf.c, 6 times
- tools/testing/vsock/vsock_test.c, 14 times
- tools/usb/usbip/src/usbip_network.c, 8 times
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.