Home
last modified time | relevance | path

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

1234

/linux/net/mptcp/
H A 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()
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 Dipv6_sockglue.c120 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 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()
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt.c992 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 Dsockopt_inherit.c13 static int verify_sockopt(int fd, int optname, const char *msg, char expected) in verify_sockopt()
/linux/net/ipv4/
H A Dip_sockglue.c640 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 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()
H A 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()
/linux/net/atm/
H A 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()
H A 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/net/l2tp/
H A Dl2tp_ppp.c1148 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 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()
H A Dccid.h242 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 Dsock.c619 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 Dchtls_main.c479 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 Dtls_main.c546 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 Dutil.c656 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 Dl2cap_sock.c435 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 Dhci_sock.c1928 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 Dnetlabel.c490 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 During_cmd.c305 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 Dsocket.c403 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 Dsetsockopt-closed.c58 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 Dllcp_sock.c231 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()

1234