Home
last modified time | relevance | path

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

123

/net/ipv6/
Dipv6_sockglue.c119 static bool setsockopt_needs_rtnl(int optname) in setsockopt_needs_rtnl()
139 static int do_ipv6_setsockopt(struct sock *sk, int level, int optname, in do_ipv6_setsockopt()
933 int ipv6_setsockopt(struct sock *sk, int level, int optname, in ipv6_setsockopt()
956 int compat_ipv6_setsockopt(struct sock *sk, int level, int optname, in compat_ipv6_setsockopt()
989 int optname, char __user *optval, int len) in ipv6_getsockopt_sticky()
1022 static int do_ipv6_getsockopt(struct sock *sk, int level, int optname, in do_ipv6_getsockopt()
1380 int ipv6_getsockopt(struct sock *sk, int level, int optname, in ipv6_getsockopt()
1410 int compat_ipv6_getsockopt(struct sock *sk, int level, int optname, in compat_ipv6_getsockopt()
Draw.c974 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, in rawv6_seticmpfilter()
991 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, in rawv6_geticmpfilter()
1017 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname, in do_rawv6_setsockopt()
1064 static int rawv6_setsockopt(struct sock *sk, int level, int optname, in rawv6_setsockopt()
1088 static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, in compat_rawv6_setsockopt()
1111 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname, in do_rawv6_getsockopt()
1149 static int rawv6_getsockopt(struct sock *sk, int level, int optname, in rawv6_getsockopt()
1173 static int compat_rawv6_getsockopt(struct sock *sk, int level, int optname, in compat_rawv6_getsockopt()
Dudp.c1559 int udpv6_setsockopt(struct sock *sk, int level, int optname, in udpv6_setsockopt()
1569 int compat_udpv6_setsockopt(struct sock *sk, int level, int optname, in compat_udpv6_setsockopt()
1579 int udpv6_getsockopt(struct sock *sk, int level, int optname, in udpv6_getsockopt()
1588 int compat_udpv6_getsockopt(struct sock *sk, int level, int optname, in compat_udpv6_getsockopt()
/net/ipv4/bpfilter/
Dsockopt.c25 static int bpfilter_mbox_request(struct sock *sk, int optname, in bpfilter_mbox_request()
52 int bpfilter_ip_set_sockopt(struct sock *sk, int optname, char __user *optval, in bpfilter_ip_set_sockopt()
58 int bpfilter_ip_get_sockopt(struct sock *sk, int optname, char __user *optval, in bpfilter_ip_get_sockopt()
/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.c384 int optlen, int optname) in rds_enable_recvtstamp()
434 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt()
485 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt()
/net/ipv4/
Dip_sockglue.c568 static bool setsockopt_needs_rtnl(int optname) in setsockopt_needs_rtnl()
591 int optname, char __user *optval, unsigned int optlen) in do_ip_setsockopt()
1241 int optname, char __user *optval, unsigned int optlen) in ip_setsockopt()
1267 int compat_ip_setsockopt(struct sock *sk, int level, int optname, in compat_ip_setsockopt()
1299 static bool getsockopt_needs_rtnl(int optname) in getsockopt_needs_rtnl()
1309 static int do_ip_getsockopt(struct sock *sk, int level, int optname, in do_ip_getsockopt()
1557 int optname, char __user *optval, int __user *optlen) in ip_getsockopt()
1587 int compat_ip_getsockopt(struct sock *sk, int level, int optname, in compat_ip_getsockopt()
Draw.c840 static int do_raw_setsockopt(struct sock *sk, int level, int optname, in do_raw_setsockopt()
852 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
861 static int compat_raw_setsockopt(struct sock *sk, int level, int optname, in compat_raw_setsockopt()
870 static int do_raw_getsockopt(struct sock *sk, int level, int optname, in do_raw_getsockopt()
882 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
891 static int compat_raw_getsockopt(struct sock *sk, int level, int optname, in compat_raw_getsockopt()
Dtcp.c2786 int optname, char __user *optval, unsigned int optlen) in do_tcp_setsockopt()
3148 int tcp_setsockopt(struct sock *sk, int level, int optname, char __user *optval, in tcp_setsockopt()
3161 int compat_tcp_setsockopt(struct sock *sk, int level, int optname, in compat_tcp_setsockopt()
3393 int optname, char __user *optval, int __user *optlen) in do_tcp_getsockopt()
3679 int tcp_getsockopt(struct sock *sk, int level, int optname, char __user *optval, in tcp_getsockopt()
3692 int compat_tcp_getsockopt(struct sock *sk, int level, int optname, in compat_tcp_getsockopt()
/net/dccp/
Dproto.c500 static int do_dccp_setsockopt(struct sock *sk, int level, int optname, in do_dccp_setsockopt()
566 int dccp_setsockopt(struct sock *sk, int level, int optname, in dccp_setsockopt()
579 int compat_dccp_setsockopt(struct sock *sk, int level, int optname, in compat_dccp_setsockopt()
619 static int do_dccp_getsockopt(struct sock *sk, int level, int optname, in do_dccp_getsockopt()
687 int dccp_getsockopt(struct sock *sk, int level, int optname, in dccp_getsockopt()
700 int compat_dccp_getsockopt(struct sock *sk, int level, int optname, in compat_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()
/net/
Dcompat.c340 static int do_set_attach_filter(struct socket *sock, int level, int optname, in do_set_attach_filter()
353 static int compat_sock_setsockopt(struct socket *sock, int level, int optname, in compat_sock_setsockopt()
363 static int __compat_sys_setsockopt(int fd, int level, int optname, in __compat_sys_setsockopt()
394 COMPAT_SYSCALL_DEFINE5(setsockopt, int, fd, int, level, int, optname, in COMPAT_SYSCALL_DEFINE5() argument
400 static int __compat_sys_getsockopt(int fd, int level, int optname, in __compat_sys_getsockopt()
428 COMPAT_SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname, in COMPAT_SYSCALL_DEFINE5() argument
462 int compat_mc_setsockopt(struct sock *sock, int level, int optname, in compat_mc_setsockopt() argument
549 int compat_mc_getsockopt(struct sock *sock, int level, int optname, in compat_mc_getsockopt() argument
/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()
Dcommon.c747 int vcc_setsockopt(struct socket *sock, int level, int optname, in vcc_setsockopt()
794 int vcc_getsockopt(struct socket *sock, int level, int optname, in vcc_getsockopt()
/net/tls/
Dtls_main.c419 static int do_tls_getsockopt(struct sock *sk, int optname, in do_tls_getsockopt()
435 static int tls_getsockopt(struct sock *sk, int level, int optname, in tls_getsockopt()
566 static int do_tls_setsockopt(struct sock *sk, int optname, in do_tls_setsockopt()
586 static int tls_setsockopt(struct sock *sk, int level, int optname, in tls_setsockopt()
/net/l2tp/
Dl2tp_ppp.c1152 int optname, int val) in pppol2tp_tunnel_setsockopt()
1175 int optname, int val) in pppol2tp_session_setsockopt()
1246 static int pppol2tp_setsockopt(struct socket *sock, int level, int optname, in pppol2tp_setsockopt()
1293 int optname, int *val) in pppol2tp_tunnel_getsockopt()
1316 int optname, int *val) in pppol2tp_session_getsockopt()
1363 static int pppol2tp_getsockopt(struct socket *sock, int level, int optname, in pppol2tp_getsockopt()
/net/bluetooth/rfcomm/
Dsock.c650 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsign… in rfcomm_sock_setsockopt_old()
691 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_setsockopt()
759 static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __… in rfcomm_sock_getsockopt_old()
834 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt()
/net/bluetooth/
Dl2cap_sock.c392 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
495 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt()
631 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
743 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt()
Dsco.c793 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, in sco_sock_setsockopt()
858 static int sco_sock_getsockopt_old(struct socket *sock, int optname, in sco_sock_getsockopt_old()
919 static int sco_sock_getsockopt(struct socket *sock, int level, int optname, in sco_sock_getsockopt()
/net/bpfilter/
Dbpfilter_kern.c36 static int __bpfilter_process_sockopt(struct sock *sk, int optname, in __bpfilter_process_sockopt()
/net/ieee802154/
Dsocket.c378 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
384 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
831 static int dgram_getsockopt(struct sock *sk, int level, int optname, in dgram_getsockopt()
878 static int dgram_setsockopt(struct sock *sk, int level, int optname, in dgram_setsockopt()
/net/core/
Dsock.c722 int sock_setsockopt(struct socket *sock, int level, int optname, in sock_setsockopt()
1215 int sock_getsockopt(struct socket *sock, int level, int optname, in sock_getsockopt()
2694 int sock_no_setsockopt(struct socket *sock, int level, int optname, in sock_no_setsockopt()
2701 int sock_no_getsockopt(struct socket *sock, int level, int optname, in sock_no_getsockopt()
3105 int sock_common_getsockopt(struct socket *sock, int level, int optname, in sock_common_getsockopt()
3115 int compat_sock_common_getsockopt(struct socket *sock, int level, int optname, in compat_sock_common_getsockopt()
3146 int sock_common_setsockopt(struct socket *sock, int level, int optname, in sock_common_setsockopt()
3156 int compat_sock_common_setsockopt(struct socket *sock, int level, int optname, in compat_sock_common_setsockopt()
/net/rxrpc/
Daf_rxrpc.c603 static int rxrpc_setsockopt(struct socket *sock, int level, int optname, in rxrpc_setsockopt()
702 static int rxrpc_getsockopt(struct socket *sock, int level, int optname, in rxrpc_getsockopt()
/net/dccp/ccids/
Dccid3.c515 static int ccid3_hc_tx_getsockopt(struct sock *sk, const int optname, int len, in ccid3_hc_tx_getsockopt()
809 static int ccid3_hc_rx_getsockopt(struct sock *sk, const int optname, int len, in ccid3_hc_rx_getsockopt()

123