Home
last modified time | relevance | path

Searched refs:sockopt (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/net/ipv4/bpfilter/
Dsockopt.c31 if (!bpfilter_ops.sockopt) { in bpfilter_mbox_request()
36 if (!bpfilter_ops.sockopt) { in bpfilter_mbox_request()
46 err = bpfilter_ops.sockopt(sk, optname, optval, optlen, is_set); in bpfilter_mbox_request()
DMakefile2 obj-$(CONFIG_BPFILTER) += sockopt.o
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Drxtimestamp.c44 struct options sockopt; member
128 if (t->sockopt.so_timestamp) in print_test_case()
130 if (t->sockopt.so_timestampns) in print_test_case()
132 if (t->sockopt.so_timestamping) { in print_test_case()
135 if (t->sockopt.so_timestamping & sof_flags[f].mask) in print_test_case()
311 config_so_flags(rcv, t.sockopt); in run_test_case()
/Linux-v5.4/tools/testing/selftests/net/
Dpsock_fanout.c118 int sockopt; in sock_fanout_getopts() local
119 socklen_t sockopt_len = sizeof(sockopt); in sock_fanout_getopts()
122 &sockopt, &sockopt_len)) { in sock_fanout_getopts()
126 *typeflags = sockopt >> 16; in sock_fanout_getopts()
127 *group_id = sockopt & 0xfffff; in sock_fanout_getopts()
/Linux-v5.4/net/bpfilter/
Dbpfilter_kern.c108 bpfilter_ops.sockopt = &__bpfilter_process_sockopt; in load_umh()
122 bpfilter_ops.sockopt = NULL; in fini_umh()
/Linux-v5.4/include/linux/
Dbpfilter.h17 int (*sockopt)(struct sock *sk, int optname, member
/Linux-v5.4/Documentation/bpf/
Dprog_cgroup_sockopt.rst22 sockopt and it has writable context: it can modify the supplied arguments
44 sockopt. The BPF hook can observe ``optval``, ``optlen`` and ``retval``
/Linux-v5.4/Documentation/networking/
Drxrpc.txt535 A keyring is passed to the server socket by naming it in a sockopt. The server
810 the key bound to the socket with the RXRPC_SECURITY_KEY sockopt. Calls