Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/net/ipv6/
Dipv6_sockglue.c140 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
163 sockptr_t optval, int optlen) in do_ipv6_mcast_group_source()
203 static int ipv6_set_mcast_msfilter(struct sock *sk, sockptr_t optval, in ipv6_set_mcast_msfilter()
234 static int compat_ipv6_set_mcast_msfilter(struct sock *sk, sockptr_t optval, in compat_ipv6_set_mcast_msfilter()
279 sockptr_t optval, int optlen) in ipv6_mcast_join_leave()
299 sockptr_t optval, int optlen) 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()
393 sockptr_t optval, unsigned int optlen) 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()
[all …]
Draw.c979 sockptr_t optval, int optlen) in rawv6_seticmpfilter()
996 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
1022 sockptr_t optval, unsigned int optlen) in do_rawv6_setsockopt()
1072 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt()
1095 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1133 char __user *optval, int __user *optlen) in rawv6_getsockopt()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dsockopt_multi.c13 __u8 *optval = ctx->optval; in _getsockopt_child() local
36 __u8 *optval = ctx->optval; in _getsockopt_parent() local
59 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_sk.c32 __u8 *optval = ctx->optval; in _getsockopt() local
107 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_inherit.c56 __u8 *optval = ctx->optval; in _getsockopt() local
81 __u8 *optval = ctx->optval; in _setsockopt() local
/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/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_sockglue.c63 sockptr_t optval, unsigned int optlen) in do_nip_setsockopt()
102 int nip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in nip_setsockopt()
116 char __user *optval, int __user *optlen) in do_nip_getsockopt()
175 int optname, char __user *optval, int __user *optlen) in nip_getsockopt()
/kernel/linux/linux-5.10/net/rds/
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()
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()
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c1385 char __user *optval, in sctp_getsockopt_connectx3()
2259 static int sctp_setsockopt_autoclose(struct sock *sk, u32 *optval, in sctp_setsockopt_autoclose()
4454 sockptr_t optval, unsigned int optlen) in sctp_setsockopt()
5275 char __user *optval, in sctp_getsockopt_sctp_status()
5355 char __user *optval, in sctp_getsockopt_peer_addr_info()
5418 char __user *optval, int __user *optlen) in sctp_getsockopt_disable_fragments()
5439 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
5474 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
5576 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
5610 char __user *optval, int __user *optlen) in sctp_getsockopt_peeloff_flags()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c699 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
722 sockptr_t optval, int optlen) in do_mcast_group_source()
769 static int ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, int optlen) in ip_set_mcast_msfilter()
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()
890 sockptr_t optval, unsigned int optlen) in do_ip_setsockopt()
1415 int ip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ip_setsockopt()
1456 static int ip_get_mcast_msfilter(struct sock *sk, void __user *optval, in ip_get_mcast_msfilter()
1482 static int compat_ip_get_mcast_msfilter(struct sock *sk, void __user *optval, in compat_ip_get_mcast_msfilter()
[all …]
Draw.c816 static int raw_seticmpfilter(struct sock *sk, sockptr_t optval, int optlen) in raw_seticmpfilter()
825 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter()
845 sockptr_t optval, unsigned int optlen) in do_raw_setsockopt()
857 sockptr_t optval, unsigned int optlen) in raw_setsockopt()
865 char __user *optval, int __user *optlen) in do_raw_getsockopt()
877 char __user *optval, int __user *optlen) in raw_getsockopt()
/kernel/linux/linux-5.10/net/dccp/
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()
/kernel/linux/linux-5.10/net/tls/
Dtls_main.c335 static int do_tls_getsockopt_conf(struct sock *sk, char __user *optval, in do_tls_getsockopt_conf()
433 char __user *optval, int __user *optlen) in do_tls_getsockopt()
456 char __user *optval, int __user *optlen) in tls_getsockopt()
467 static int do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_conf()
595 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt()
616 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/kernel/linux/linux-5.10/include/net/
Dbond_options.h118 static inline void __bond_opt_init(struct bond_opt_value *optval, in __bond_opt_init()
128 #define bond_opt_initval(optval, value) __bond_opt_init(optval, NULL, value) argument
129 #define bond_opt_initstr(optval, str) __bond_opt_init(optval, str, ULLONG_MAX) argument
/kernel/linux/linux-5.10/include/linux/
Dmroute.h27 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt()
33 char __user *optval, int __user *optlen) in ip_mroute_getsockopt()
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()
/kernel/linux/linux-5.10/net/atm/
Dpvc.c66 sockptr_t optval, unsigned int optlen) in pvc_setsockopt()
78 char __user *optval, int __user *optlen) in pvc_getsockopt()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
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()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
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()
/kernel/linux/linux-5.10/net/dccp/ccids/
Dccid3.c453 u8 option, u8 *optval, u8 optlen) in ccid3_hc_tx_parse_options()
516 u32 __user *optval, int __user *optlen) in ccid3_hc_tx_getsockopt()
810 u32 __user *optval, int __user *optlen) in ccid3_hc_rx_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.c452 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt_old()
571 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt()
741 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt_old()
897 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt()
/kernel/linux/linux-5.10/net/bpfilter/
Dbpfilter_kern.c63 sockptr_t optval, unsigned int optlen, in bpfilter_process_sockopt()
/kernel/linux/linux-5.10/net/ieee802154/
Dsocket.c384 char __user *optval, int __user *optlen) in raw_getsockopt()
390 sockptr_t optval, unsigned int optlen) in raw_setsockopt()
838 char __user *optval, int __user *optlen) in dgram_getsockopt()
885 sockptr_t optval, unsigned int optlen) in dgram_setsockopt()

1234