Home
last modified time | relevance | path

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

1234

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_sockglue.c42 static bool nip_setsockopt_needs_rtnl(int optname) in nip_setsockopt_needs_rtnl()
52 static bool nip_getsockopt_needs_rtnl(int optname) in nip_getsockopt_needs_rtnl()
62 static int do_nip_setsockopt(struct sock *sk, int level, int optname, in do_nip_setsockopt()
102 int nip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in nip_setsockopt()
115 static int do_nip_getsockopt(struct sock *sk, int level, int optname, in do_nip_getsockopt()
175 int optname, char __user *optval, int __user *optlen) in nip_getsockopt()
/kernel/linux/linux-5.10/net/ipv6/
Dipv6_sockglue.c119 static bool setsockopt_needs_rtnl(int optname) in setsockopt_needs_rtnl()
162 static int do_ipv6_mcast_group_source(struct sock *sk, int optname, in do_ipv6_mcast_group_source()
278 static int ipv6_mcast_join_leave(struct sock *sk, int optname, in ipv6_mcast_join_leave()
298 static int compat_ipv6_mcast_join_leave(struct sock *sk, int optname, in compat_ipv6_mcast_join_leave()
318 static int ipv6_set_opt_hdr(struct sock *sk, int optname, sockptr_t optval, in ipv6_set_opt_hdr()
392 static int do_ipv6_setsockopt(struct sock *sk, int level, int optname, in do_ipv6_setsockopt()
1002 int ipv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ipv6_setsockopt()
1025 int optname, char __user *optval, int len) in ipv6_getsockopt_sticky()
1127 static int do_ipv6_getsockopt(struct sock *sk, int level, int optname, in do_ipv6_getsockopt()
1476 int ipv6_getsockopt(struct sock *sk, int level, int optname, in ipv6_getsockopt()
Draw.c978 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, in rawv6_seticmpfilter()
995 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter()
1021 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt()
1071 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt()
1094 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, in do_rawv6_getsockopt()
1132 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt()
/kernel/linux/linux-5.10/net/ipv4/bpfilter/
Dsockopt.c24 static int bpfilter_mbox_request(struct sock *sk, int optname, sockptr_t optval, in bpfilter_mbox_request()
54 int bpfilter_ip_set_sockopt(struct sock *sk, int optname, sockptr_t optval, in bpfilter_ip_set_sockopt()
60 int bpfilter_ip_get_sockopt(struct sock *sk, int optname, char __user *optval, in bpfilter_ip_get_sockopt()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c639 static bool setsockopt_needs_rtnl(int optname) in setsockopt_needs_rtnl()
721 static int do_mcast_group_source(struct sock *sk, int optname, in do_mcast_group_source()
844 static int ip_mcast_join_leave(struct sock *sk, int optname, in ip_mcast_join_leave()
866 static int compat_ip_mcast_join_leave(struct sock *sk, int optname, in compat_ip_mcast_join_leave()
889 static int do_ip_setsockopt(struct sock *sk, int level, int optname, in do_ip_setsockopt()
1415 int ip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ip_setsockopt()
1446 static bool getsockopt_needs_rtnl(int optname) in getsockopt_needs_rtnl()
1515 static int do_ip_getsockopt(struct sock *sk, int level, int optname, in do_ip_getsockopt()
1757 int optname, char __user *optval, int __user *optlen) in ip_getsockopt()
Draw.c844 static int do_raw_setsockopt(struct sock *sk, int level, int optname, in do_raw_setsockopt()
856 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
864 static int do_raw_getsockopt(struct sock *sk, int level, int optname, in do_raw_getsockopt()
876 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
/kernel/linux/linux-5.10/include/linux/
Dmroute.h26 static inline int ip_mroute_setsockopt(struct sock *sock, int optname, in ip_mroute_setsockopt()
32 static inline int ip_mroute_getsockopt(struct sock *sock, 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, char __user *optval, int __user *optlen) in ip6_mroute_getsockopt()
Dbpf-cgroup.h331 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
351 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
440 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
442 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/kernel/linux/linux-5.10/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.c453 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt()
498 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt()
/kernel/linux/linux-5.10/net/tls/
Dtls_main.c432 static int do_tls_getsockopt(struct sock *sk, int optname, in do_tls_getsockopt()
455 static int tls_getsockopt(struct sock *sk, int level, int optname, in tls_getsockopt()
595 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt()
615 static int tls_setsockopt(struct sock *sk, int level, int optname, in tls_setsockopt()
/kernel/linux/linux-5.10/net/dccp/
Dproto.c508 static int do_dccp_setsockopt(struct sock *sk, int level, int optname, in do_dccp_setsockopt()
574 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in dccp_setsockopt()
614 static int do_dccp_getsockopt(struct sock *sk, int level, int optname, in do_dccp_getsockopt()
682 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()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ppp.c1152 int optname, int val) in pppol2tp_tunnel_setsockopt()
1173 int optname, int val) in pppol2tp_session_setsockopt()
1230 static int pppol2tp_setsockopt(struct socket *sock, int level, int optname, in pppol2tp_setsockopt()
1276 int optname, int *val) in pppol2tp_tunnel_getsockopt()
1298 int optname, int *val) in pppol2tp_session_getsockopt()
1336 static int pppol2tp_getsockopt(struct socket *sock, int level, int optname, in pppol2tp_getsockopt()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dsock.c621 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old()
663 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, in rfcomm_sock_setsockopt()
732 static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __… in rfcomm_sock_getsockopt_old()
807 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt()
/kernel/liteos_a/compat/posix/src/
Dsocket.c77 int getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen) in getsockopt()
82 int setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen) in setsockopt()
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_sock.c451 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
570 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt()
740 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
896 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt()
/kernel/linux/linux-5.10/net/bpfilter/
Dbpfilter_kern.c62 static int bpfilter_process_sockopt(struct sock *sk, int optname, in bpfilter_process_sockopt()
/kernel/linux/linux-5.10/net/ieee802154/
Dsocket.c383 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
389 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
837 static int dgram_getsockopt(struct sock *sk, int level, int optname, in dgram_getsockopt()
884 static int dgram_setsockopt(struct sock *sk, int level, int optname, in dgram_setsockopt()
/kernel/linux/linux-5.10/security/selinux/
Dnetlabel.c482 static inline int selinux_netlbl_option(int level, int optname) in selinux_netlbl_option()
503 int optname) in selinux_netlbl_socket_setsockopt()

1234