Home
last modified time | relevance | path

Searched defs:optlen (Results 1 – 25 of 132) sorted by relevance

123456

/kernel/linux/linux-5.10/net/sctp/
Dsocket.c1386 int __user *optlen) in sctp_getsockopt_connectx3()
2202 unsigned int optlen) in sctp_setsockopt_disable_fragments()
2211 unsigned int optlen) in sctp_setsockopt_events()
2260 unsigned int optlen) in sctp_setsockopt_autoclose()
2607 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2821 unsigned int optlen) in sctp_setsockopt_delayed_ack()
2858 unsigned int optlen) in sctp_setsockopt_initmsg()
2893 unsigned int optlen) in sctp_setsockopt_default_send_param()
2951 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
3008 unsigned int optlen) in sctp_setsockopt_primary_addr()
[all …]
/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()
204 int optlen) in ipv6_set_mcast_msfilter()
235 int optlen) 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()
319 int optlen) in ipv6_set_opt_hdr()
393 sockptr_t optval, unsigned int optlen) in do_ipv6_setsockopt()
1003 unsigned int optlen) in ipv6_setsockopt()
1059 int __user *optlen, int len) in ipv6_get_msfilter()
[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/net/ipv4/bpfilter/
Dsockopt.c25 unsigned int optlen, bool is_set) in bpfilter_mbox_request()
55 unsigned int optlen) in bpfilter_ip_set_sockopt()
61 int __user *optlen) 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()
103 unsigned int optlen) 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/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()
801 int optlen) 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()
1416 unsigned int optlen) in ip_setsockopt()
1457 int __user *optlen, int len) in ip_get_mcast_msfilter()
1483 int __user *optlen, int len) in compat_ip_get_mcast_msfilter()
[all …]
Dip_options.c95 int optlen; in __ip_options_echo() local
213 int optlen; in ip_options_fragment() local
263 int optlen, l; in __ip_options_compile() local
526 sockptr_t data, int optlen) in ip_options_get()
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/rds/
Daf_rds.c331 int optlen) 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()
382 int optlen, int optname) in rds_enable_recvtstamp()
406 int optlen) 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/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()
575 unsigned int optlen) in dccp_setsockopt()
588 int __user *optlen) 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/samples/bpf/
Dtest_cgrp2_sock.c128 socklen_t optlen = len; in get_bind_to_device() local
142 socklen_t optlen = sizeof(mark); in get_somark() local
155 socklen_t optlen = sizeof(prio); in get_priority() local
/kernel/linux/linux-5.10/net/tls/
Dtls_main.c336 int __user *optlen, int tx) 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()
468 unsigned int optlen, int tx) in do_tls_setsockopt_conf()
596 unsigned int optlen) in do_tls_setsockopt()
616 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_mppe.c171 static void *mppe_alloc(unsigned char *options, int optlen) in mppe_alloc()
250 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, in mppe_init()
308 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_comp_init()
414 mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_decomp_init()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockopt_multi.c60 socklen_t optlen; in run_getsockopt_test() local
210 socklen_t optlen; in run_setsockopt_test() local
/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()
Dbpf-cgroup.h331 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
343 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) \ argument
351 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
439 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) ({ 0; }) argument
441 optlen, max_optlen, retval) ({ retval; }) argument
442 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/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.c468 int __user *optlen) 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/tools/testing/selftests/bpf/progs/
Dtest_tcp_hdr_options.c164 __u8 optlen; in synack_opt_len() local
208 __u8 optlen; in syn_opt_len() local
236 __u8 optlen; in fin_opt_len() local
/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 …comm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt_old()
807 …ck_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_tcpmss.c33 unsigned int i, optlen; in tcpmss_mt() local
/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()

123456