/linux/net/mptcp/ |
H A D | sockopt.c | 70 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() 206 int optname, in mptcp_setsockopt_sol_socket_timestamping() 290 static int mptcp_setsockopt_sol_socket(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_sol_socket() 387 static int mptcp_setsockopt_v6(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_v6() 434 static bool mptcp_supported_sockopt(int level, int optname) in mptcp_supported_sockopt() 689 static int mptcp_setsockopt_sol_ip_set(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_sol_ip_set() 735 static int mptcp_setsockopt_v4_set_tos(struct mptcp_sock *msk, int optname, in mptcp_setsockopt_v4_set_tos() [all …]
|
/linux/net/ipv6/ |
H A D | ipv6_sockglue.c | 120 static bool setsockopt_needs_rtnl(int optname) in setsockopt_needs_rtnl() 163 static int do_ipv6_mcast_group_source(struct sock *sk, int optname, in do_ipv6_mcast_group_source() 279 static int ipv6_mcast_join_leave(struct sock *sk, int optname, in ipv6_mcast_join_leave() 299 static int compat_ipv6_mcast_join_leave(struct sock *sk, int optname, in compat_ipv6_mcast_join_leave() 319 static int ipv6_set_opt_hdr(struct sock *sk, int optname, sockptr_t optval, in ipv6_set_opt_hdr() 393 int do_ipv6_setsockopt(struct sock *sk, int level, int optname, in do_ipv6_setsockopt() 982 int ipv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ipv6_setsockopt() 1005 int optname, sockptr_t optval, int len) in ipv6_getsockopt_sticky() 1106 int do_ipv6_getsockopt(struct sock *sk, int level, int optname, in do_ipv6_getsockopt() 1472 int ipv6_getsockopt(struct sock *sk, int level, int optname, in ipv6_getsockopt()
|
/linux/net/rds/ |
H A D | info.c | 73 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()
|
H A D | af_rds.c | 382 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/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 992 static int uring_sockopt(int op, int fd, int level, int optname, in uring_sockopt() 1028 static int uring_setsockopt(int fd, int level, int optname, const void *optval, in uring_setsockopt() 1035 static int uring_getsockopt(int fd, int level, int optname, void *optval, in uring_getsockopt() 1052 static int call_setsockopt(bool use_io_uring, int fd, int level, int optname, in call_setsockopt() 1062 static int call_getsockopt(bool use_io_uring, int fd, int level, int optname, in call_getsockopt()
|
H A D | sockopt_inherit.c | 13 static int verify_sockopt(int fd, int optname, const char *msg, char expected) in verify_sockopt()
|
/linux/net/ipv4/ |
H A D | ip_sockglue.c | 640 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() 845 static int ip_mcast_join_leave(struct sock *sk, int optname, in ip_mcast_join_leave() 867 static int compat_ip_mcast_join_leave(struct sock *sk, int optname, in compat_ip_mcast_join_leave() 892 int do_ip_setsockopt(struct sock *sk, int level, int optname, in do_ip_setsockopt() 1409 int ip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ip_setsockopt() 1435 static bool getsockopt_needs_rtnl(int optname) in getsockopt_needs_rtnl() 1507 int do_ip_getsockopt(struct sock *sk, int level, int optname, in do_ip_getsockopt() 1761 int optname, char __user *optval, int __user *optlen) in ip_getsockopt()
|
/linux/include/linux/ |
H A D | mroute.h | 27 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()
|
H A D | mroute6.h | 37 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()
|
/linux/net/atm/ |
H A D | pvc.c | 65 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()
|
H A D | svc.c | 458 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/net/l2tp/ |
H A D | l2tp_ppp.c | 1148 int optname, int val) in pppol2tp_tunnel_setsockopt() 1169 int optname, int val) in pppol2tp_session_setsockopt() 1227 static int pppol2tp_setsockopt(struct socket *sock, int level, int optname, in pppol2tp_setsockopt() 1273 int optname, int *val) in pppol2tp_tunnel_getsockopt() 1295 int optname, int *val) in pppol2tp_session_getsockopt() 1333 static int pppol2tp_getsockopt(struct socket *sock, int level, int optname, in pppol2tp_getsockopt()
|
/linux/net/dccp/ |
H A D | proto.c | 509 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()
|
H A D | ccid.h | 242 const int optname, int len, in ccid_hc_rx_getsockopt() 253 const int optname, int len, in ccid_hc_tx_getsockopt()
|
/linux/net/bluetooth/rfcomm/ |
H A D | sock.c | 619 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old() 660 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, in rfcomm_sock_setsockopt() 725 static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __… in rfcomm_sock_getsockopt_old() 801 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_main.c | 479 static int chtls_getsockopt(struct sock *sk, int level, int optname, in chtls_getsockopt() 491 static int do_chtls_setsockopt(struct sock *sk, int optname, in do_chtls_setsockopt() 570 static int chtls_setsockopt(struct sock *sk, int level, int optname, in chtls_setsockopt()
|
/linux/net/tls/ |
H A D | tls_main.c | 546 static int do_tls_getsockopt(struct sock *sk, int optname, in do_tls_getsockopt() 575 static int tls_getsockopt(struct sock *sk, int level, int optname, in tls_getsockopt() 772 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt() 800 static int tls_setsockopt(struct sock *sk, int level, int optname, in tls_setsockopt()
|
/linux/tools/testing/vsock/ |
H A D | util.c | 656 void setsockopt_ull_check(int fd, int level, int optname, in setsockopt_ull_check() 699 void setsockopt_int_check(int fd, int level, int optname, int val, in setsockopt_int_check() 748 void setsockopt_timeval_check(int fd, int level, int optname, in setsockopt_timeval_check()
|
/linux/net/bluetooth/ |
H A D | l2cap_sock.c | 435 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old() 555 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt() 725 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()
|
H A D | hci_sock.c | 1928 static int hci_sock_setsockopt_old(struct socket *sock, int level, int optname, in hci_sock_setsockopt_old() 2007 static int hci_sock_setsockopt(struct socket *sock, int level, int optname, in hci_sock_setsockopt() 2055 static int hci_sock_getsockopt_old(struct socket *sock, int level, int optname, in hci_sock_getsockopt_old() 2121 static int hci_sock_getsockopt(struct socket *sock, int level, int optname, in hci_sock_getsockopt()
|
/linux/security/selinux/ |
H A D | netlabel.c | 490 static inline int selinux_netlbl_option(int level, int optname) in selinux_netlbl_option() 511 int optname) in selinux_netlbl_socket_setsockopt()
|
/linux/io_uring/ |
H A D | uring_cmd.c | 305 int optlen, optname, level, err; in io_uring_cmd_getsockopt() local 331 int optname, optlen, level; in io_uring_cmd_setsockopt() local
|
/linux/drivers/isdn/mISDN/ |
H A D | socket.c | 403 static int data_sock_setsockopt(struct socket *sock, int level, int optname, in data_sock_setsockopt() 435 static int data_sock_getsockopt(struct socket *sock, int level, int optname, in data_sock_getsockopt()
|
/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | setsockopt-closed.c | 58 static void __setsockopt_checked(int sk, int optname, bool get, in __setsockopt_checked() 102 static void setsockopt_checked(int sk, int optname, void *optval, in setsockopt_checked()
|
/linux/net/nfc/ |
H A D | llcp_sock.c | 231 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, in nfc_llcp_setsockopt() 304 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, in nfc_llcp_getsockopt()
|