Home
last modified time | relevance | path

Searched defs:optname (Results 1 – 25 of 84) sorted by relevance

1234

/linux-6.6.21/net/mptcp/ !
Dsockopt.c70 static void mptcp_sol_socket_sync_intval(struct mptcp_sock *msk, int optname, int val) in mptcp_sol_socket_sync_intval()
123 static int mptcp_sol_socket_intval(struct mptcp_sock *msk, int optname, int val) in mptcp_sol_socket_intval()
147 static int mptcp_setsockopt_sol_socket_tstamp(struct mptcp_sock *msk, int optname, int val) in mptcp_setsockopt_sol_socket_tstamp()
172 static int mptcp_setsockopt_sol_socket_int(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_sol_socket_int()
208 int optname, in mptcp_setsockopt_sol_socket_timestamping()
292 static int mptcp_setsockopt_sol_socket(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_sol_socket()
389 static int mptcp_setsockopt_v6(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_v6()
436 static bool mptcp_supported_sockopt(int level, int optname) in mptcp_supported_sockopt()
686 static int mptcp_setsockopt_sol_ip_set_transparent(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_sol_ip_set_transparent()
724 static int mptcp_setsockopt_v4_set_tos(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_v4_set_tos()
[all …]
/linux-6.6.21/net/ipv6/ !
Dipv6_sockglue.c121 static bool setsockopt_needs_rtnl(int optname) in setsockopt_needs_rtnl()
164 static int do_ipv6_mcast_group_source(struct sock *sk, int optname, in do_ipv6_mcast_group_source()
280 static int ipv6_mcast_join_leave(struct sock *sk, int optname, in ipv6_mcast_join_leave()
300 static int compat_ipv6_mcast_join_leave(struct sock *sk, int optname, in compat_ipv6_mcast_join_leave()
320 static int ipv6_set_opt_hdr(struct sock *sk, int optname, sockptr_t optval, in ipv6_set_opt_hdr()
394 int do_ipv6_setsockopt(struct sock *sk, int level, int optname, in do_ipv6_setsockopt()
1001 int ipv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ipv6_setsockopt()
1024 int optname, sockptr_t optval, int len) in ipv6_getsockopt_sticky()
1125 int do_ipv6_getsockopt(struct sock *sk, int level, int optname, in do_ipv6_getsockopt()
1479 int ipv6_getsockopt(struct sock *sk, int level, int optname, in ipv6_getsockopt()
Draw.c938 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, in rawv6_seticmpfilter()
955 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter()
981 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt()
1031 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt()
1054 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, in do_rawv6_getsockopt()
1092 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt()
/linux-6.6.21/net/ipv4/bpfilter/ !
Dsockopt.c15 static int bpfilter_mbox_request(struct sock *sk, int optname, sockptr_t optval, in bpfilter_mbox_request()
45 int bpfilter_ip_set_sockopt(struct sock *sk, int optname, sockptr_t optval, in bpfilter_ip_set_sockopt()
51 int bpfilter_ip_get_sockopt(struct sock *sk, int optname, char __user *optval, in bpfilter_ip_get_sockopt()
/linux-6.6.21/net/rds/ !
Dinfo.c73 void rds_info_register_func(int optname, rds_info_func func) in rds_info_register_func()
86 void rds_info_deregister_func(int optname, rds_info_func func) in rds_info_deregister_func()
158 int rds_info_getsockopt(struct socket *sock, int optname, char __user *optval, in rds_info_getsockopt()
Daf_rds.c382 int optlen, int optname) in rds_enable_recvtstamp()
432 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt()
483 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt()
/linux-6.6.21/net/ipv4/ !
Dip_sockglue.c642 static bool setsockopt_needs_rtnl(int optname) in setsockopt_needs_rtnl()
723 static int do_mcast_group_source(struct sock *sk, int optname, in do_mcast_group_source()
847 static int ip_mcast_join_leave(struct sock *sk, int optname, in ip_mcast_join_leave()
869 static int compat_ip_mcast_join_leave(struct sock *sk, int optname, in compat_ip_mcast_join_leave()
894 int do_ip_setsockopt(struct sock *sk, int level, int optname, in do_ip_setsockopt()
1411 int ip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ip_setsockopt()
1442 static bool getsockopt_needs_rtnl(int optname) in getsockopt_needs_rtnl()
1514 int do_ip_getsockopt(struct sock *sk, int level, int optname, in do_ip_getsockopt()
1769 int optname, char __user *optval, int __user *optlen) in ip_getsockopt()
Draw.c817 static int do_raw_setsockopt(struct sock *sk, int level, int optname, in do_raw_setsockopt()
829 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
837 static int do_raw_getsockopt(struct sock *sk, int level, int optname, in do_raw_getsockopt()
849 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
/linux-6.6.21/include/linux/ !
Dmroute.h27 static inline int ip_mroute_setsockopt(struct sock *sock, int optname, in ip_mroute_setsockopt()
33 static inline int ip_mroute_getsockopt(struct sock *sk, int optname, in ip_mroute_getsockopt()
Dmroute6.h37 static inline int ip6_mroute_setsockopt(struct sock *sock, int optname, in ip6_mroute_setsockopt()
45 int optname, sockptr_t optval, sockptr_t optlen) in ip6_mroute_getsockopt()
Dbpf-cgroup.h364 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
385 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
401 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
503 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
505 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
507 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/linux-6.6.21/net/atm/ !
Dpvc.c65 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt()
77 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt()
Dsvc.c458 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt()
503 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt()
/linux-6.6.21/net/dccp/ !
Dproto.c509 static int do_dccp_setsockopt(struct sock *sk, int level, int optname, in do_dccp_setsockopt()
575 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in dccp_setsockopt()
615 static int do_dccp_getsockopt(struct sock *sk, int level, int optname, in do_dccp_getsockopt()
683 int dccp_getsockopt(struct sock *sk, int level, int optname, in dccp_getsockopt()
Dccid.h242 const int optname, int len, in ccid_hc_rx_getsockopt()
253 const int optname, int len, in ccid_hc_tx_getsockopt()
/linux-6.6.21/net/l2tp/ !
Dl2tp_ppp.c1160 int optname, int val) in pppol2tp_tunnel_setsockopt()
1181 int optname, int val) in pppol2tp_session_setsockopt()
1238 static int pppol2tp_setsockopt(struct socket *sock, int level, int optname, in pppol2tp_setsockopt()
1284 int optname, int *val) in pppol2tp_tunnel_getsockopt()
1306 int optname, int *val) in pppol2tp_session_getsockopt()
1344 static int pppol2tp_getsockopt(struct socket *sock, int level, int optname, in pppol2tp_getsockopt()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/ !
Dchtls_hw.c178 static int get_new_keyid(struct chtls_sock *csk, u32 optname) in get_new_keyid()
252 u32 keylen, u32 optname, in chtls_key_info()
358 u32 optname, int cipher_type) in chtls_setkey()
Dchtls_main.c478 static int chtls_getsockopt(struct sock *sk, int level, int optname, in chtls_getsockopt()
490 static int do_chtls_setsockopt(struct sock *sk, int optname, in do_chtls_setsockopt()
569 static int chtls_setsockopt(struct sock *sk, int level, int optname, in chtls_setsockopt()
/linux-6.6.21/net/bluetooth/rfcomm/ !
Dsock.c619 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old()
661 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, in rfcomm_sock_setsockopt()
730 static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __… in rfcomm_sock_getsockopt_old()
805 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt()
/linux-6.6.21/net/tls/ !
Dtls_main.c547 static int do_tls_getsockopt(struct sock *sk, int optname, in do_tls_getsockopt()
576 static int tls_getsockopt(struct sock *sk, int level, int optname, in tls_getsockopt()
767 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt()
795 static int tls_setsockopt(struct sock *sk, int level, int optname, in tls_setsockopt()
/linux-6.6.21/net/bluetooth/ !
Dl2cap_sock.c434 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
553 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt()
723 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
879 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt()
/linux-6.6.21/net/ieee802154/ !
Dsocket.c382 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
388 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
834 static int dgram_getsockopt(struct sock *sk, int level, int optname, in dgram_getsockopt()
881 static int dgram_setsockopt(struct sock *sk, int level, int optname, in dgram_setsockopt()
/linux-6.6.21/security/selinux/ !
Dnetlabel.c485 static inline int selinux_netlbl_option(int level, int optname) in selinux_netlbl_option()
506 int optname) in selinux_netlbl_socket_setsockopt()
/linux-6.6.21/net/bpfilter/ !
Dbpfilter_kern.c62 static int bpfilter_process_sockopt(struct sock *sk, int optname, in bpfilter_process_sockopt()
/linux-6.6.21/net/core/ !
Dsock.c848 void sock_set_timestamp(struct sock *sk, int optname, bool valbool) in sock_set_timestamp()
903 int sock_set_timestamping(struct sock *sk, int optname, in sock_set_timestamping()
1096 int sk_setsockopt(struct sock *sk, int level, int optname, in sk_setsockopt()
1557 int sock_setsockopt(struct socket *sock, int level, int optname, in sock_setsockopt()
1604 int sk_getsockopt(struct sock *sk, int level, int optname, in sk_getsockopt()
2021 int sock_getsockopt(struct socket *sock, int level, int optname, in sock_getsockopt()
3675 int sock_common_getsockopt(struct socket *sock, int level, int optname, in sock_common_getsockopt()
3702 int sock_common_setsockopt(struct socket *sock, int level, int optname, in sock_common_setsockopt()

1234