Home
last modified time | relevance | path

Searched defs:optval (Results 1 – 25 of 95) sorted by relevance

1234

/linux/net/mptcp/
A Dsockopt.c123 sockptr_t optval = KERNEL_SOCKPTR(&val); in mptcp_sol_socket_intval() local
147 sockptr_t optval = KERNEL_SOCKPTR(&val); in mptcp_setsockopt_sol_socket_tstamp() local
171 sockptr_t optval, in mptcp_setsockopt_sol_socket_int()
207 sockptr_t optval, in mptcp_setsockopt_sol_socket_timestamping()
291 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_socket()
385 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v6()
601 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_tcp()
614 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt()
649 char __user *optval, int __user *optlen) in mptcp_getsockopt_first_sf_only()
732 char __user *optval, in mptcp_put_subflow_data()
[all …]
/linux/net/ipv6/
A Dipv6_sockglue.c142 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
165 sockptr_t optval, int optlen) in do_ipv6_mcast_group_source()
205 static int ipv6_set_mcast_msfilter(struct sock *sk, sockptr_t optval, in ipv6_set_mcast_msfilter()
281 sockptr_t optval, int optlen) in ipv6_mcast_join_leave()
301 sockptr_t optval, int optlen) 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()
395 sockptr_t optval, unsigned int optlen) in do_ipv6_setsockopt()
1024 int optname, char __user *optval, int len) in ipv6_getsockopt_sticky()
1057 static int ipv6_get_msfilter(struct sock *sk, void __user *optval, in ipv6_get_msfilter()
1127 char __user *optval, int __user *optlen, unsigned int flags) in do_ipv6_getsockopt()
[all …]
A Draw.c975 sockptr_t optval, int optlen) in rawv6_seticmpfilter()
992 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
1018 sockptr_t optval, unsigned int optlen) in do_rawv6_setsockopt()
1068 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt()
1091 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1129 char __user *optval, int __user *optlen) in rawv6_getsockopt()
/linux/tools/testing/selftests/bpf/progs/
A Dsockopt_multi.c12 __u8 *optval = ctx->optval; in _getsockopt_child() local
35 __u8 *optval = ctx->optval; in _getsockopt_parent() local
58 __u8 *optval = ctx->optval; in _setsockopt() local
A Dsockopt_sk.c33 __u8 *optval = ctx->optval; in _getsockopt() local
131 __u8 *optval = ctx->optval; in _setsockopt() local
A Dsockopt_inherit.c55 __u8 *optval = ctx->optval; in _getsockopt() local
80 __u8 *optval = ctx->optval; in _setsockopt() local
A Dsockopt_qos_to_cc.c16 int *optval = ctx->optval; in sockopt_qos_to_cc() local
/linux/net/sctp/
A Dsocket.c1385 char __user *optval, in sctp_getsockopt_connectx3()
5478 char __user *optval, in sctp_getsockopt_peer_addr_info()
6461 char __user *optval, in sctp_getsockopt_default_sndinfo()
6541 char __user *optval, in sctp_getsockopt_rtoinfo()
6814 char __user *optval, in sctp_getsockopt_partial_delivery_point()
7312 char __user *optval, in sctp_getsockopt_pr_supported()
7351 char __user *optval, in sctp_getsockopt_default_prinfo()
7397 char __user *optval, in sctp_getsockopt_pr_assocstatus()
7812 char __user *optval, in sctp_getsockopt_auth_supported()
7851 char __user *optval, in sctp_getsockopt_ecn_supported()
[all …]
/linux/net/ipv4/bpfilter/
A 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()
/linux/net/rds/
A Daf_rds.c293 static int rds_cancel_sent_to(struct rds_sock *rs, sockptr_t optval, int len) in rds_cancel_sent_to()
330 static int rds_set_bool_option(unsigned char *optvar, sockptr_t optval, in rds_set_bool_option()
343 static int rds_cong_monitor(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_cong_monitor()
360 static int rds_set_transport(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_set_transport()
381 static int rds_enable_recvtstamp(struct sock *sk, sockptr_t optval, in rds_enable_recvtstamp()
405 static int rds_recv_track_latency(struct rds_sock *rs, sockptr_t optval, in rds_recv_track_latency()
433 sockptr_t optval, unsigned int optlen) in rds_setsockopt()
484 char __user *optval, int __user *optlen) in rds_getsockopt()
A Drdma.c356 int rds_get_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr()
369 int rds_get_mr_for_dest(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr_for_dest()
396 int rds_free_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_free_mr()
/linux/net/ipv4/
A Dip_sockglue.c698 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
721 sockptr_t optval, int optlen) in do_mcast_group_source()
800 static int compat_ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, in compat_ip_set_mcast_msfilter()
845 sockptr_t optval, int optlen) in ip_mcast_join_leave()
867 sockptr_t optval, int optlen) in compat_ip_mcast_join_leave()
892 sockptr_t optval, unsigned int optlen) in do_ip_setsockopt()
1424 int ip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ip_setsockopt()
1465 static int ip_get_mcast_msfilter(struct sock *sk, void __user *optval, in ip_get_mcast_msfilter()
1491 static int compat_ip_get_mcast_msfilter(struct sock *sk, void __user *optval, in compat_ip_get_mcast_msfilter()
1525 char __user *optval, int __user *optlen) in do_ip_getsockopt()
[all …]
A Draw.c813 static int raw_seticmpfilter(struct sock *sk, sockptr_t optval, int optlen) in raw_seticmpfilter()
822 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter()
842 sockptr_t optval, unsigned int optlen) in do_raw_setsockopt()
854 sockptr_t optval, unsigned int optlen) in raw_setsockopt()
862 char __user *optval, int __user *optlen) in do_raw_getsockopt()
874 char __user *optval, int __user *optlen) in raw_getsockopt()
/linux/net/dccp/
A Dproto.c414 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_service()
484 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid()
509 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt()
574 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in dccp_setsockopt()
587 __be32 __user *optval, in dccp_getsockopt_service()
615 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
683 char __user *optval, int __user *optlen) in dccp_getsockopt()
/linux/net/tls/
A Dtls_main.c335 static int do_tls_getsockopt_conf(struct sock *sk, char __user *optval, in do_tls_getsockopt_conf()
517 char __user *optval, int __user *optlen) in do_tls_getsockopt()
535 char __user *optval, int __user *optlen) in tls_getsockopt()
546 static int do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_conf()
683 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt()
704 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/linux/include/net/
A Dbond_options.h119 static inline void __bond_opt_init(struct bond_opt_value *optval, in __bond_opt_init()
129 #define bond_opt_initval(optval, value) __bond_opt_init(optval, NULL, value) argument
130 #define bond_opt_initstr(optval, str) __bond_opt_init(optval, str, ULLONG_MAX) argument
/linux/include/linux/
A Dmroute.h27 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt()
33 char __user *optval, int __user *optlen) in ip_mroute_getsockopt()
A Dmroute6.h38 sockptr_t optval, unsigned int optlen) in ip6_mroute_setsockopt()
45 int optname, char __user *optval, int __user *optlen) in ip6_mroute_getsockopt()
A Dbpf-cgroup.h400 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
420 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
435 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
521 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
523 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
525 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_main.c467 static int do_chtls_getsockopt(struct sock *sk, char __user *optval, in do_chtls_getsockopt()
479 char __user *optval, int __user *optlen) in chtls_getsockopt()
491 sockptr_t optval, unsigned int optlen) in do_chtls_setsockopt()
570 sockptr_t optval, unsigned int optlen) in chtls_setsockopt()
/linux/net/atm/
A Dpvc.c66 sockptr_t optval, unsigned int optlen) in pvc_setsockopt()
78 char __user *optval, int __user *optlen) in pvc_getsockopt()
/linux/net/bluetooth/rfcomm/
A Dsock.c622 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
664 sockptr_t optval, unsigned int optlen) 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()
/linux/net/dccp/ccids/
A Dccid3.c458 u8 option, u8 *optval, u8 optlen) in ccid3_hc_tx_parse_options()
521 u32 __user *optval, int __user *optlen) in ccid3_hc_tx_getsockopt()
816 u32 __user *optval, int __user *optlen) in ccid3_hc_rx_getsockopt()
/linux/net/bluetooth/
A Dl2cap_sock.c425 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt_old()
544 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt()
714 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt_old()
870 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt()
/linux/net/mctp/
A Daf_mctp.c252 sockptr_t optval, unsigned int optlen) in mctp_setsockopt()
273 char __user *optval, int __user *optlen) in mctp_getsockopt()

Completed in 63 milliseconds

1234