Home
last modified time | relevance | path

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

123456

/Linux-v5.15/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()
2608 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2822 unsigned int optlen) in sctp_setsockopt_delayed_ack()
2859 unsigned int optlen) in sctp_setsockopt_initmsg()
2894 unsigned int optlen) in sctp_setsockopt_default_send_param()
2952 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
3009 unsigned int optlen) in sctp_setsockopt_primary_addr()
[all …]
/Linux-v5.15/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()
993 unsigned int optlen) in ipv6_setsockopt()
1049 int __user *optlen, int len) in ipv6_get_msfilter()
[all …]
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()
1065 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt()
1088 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1126 char __user *optval, int __user *optlen) in rawv6_getsockopt()
/Linux-v5.15/net/mptcp/
Dsockopt.c56 unsigned int optlen, int *val) in mptcp_get_int_option()
170 unsigned int optlen) in mptcp_setsockopt_sol_socket_int()
206 unsigned int optlen) in mptcp_setsockopt_sol_socket_timestamping()
248 unsigned int optlen) in mptcp_setsockopt_sol_socket_linger()
289 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_socket()
383 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v6()
557 unsigned int optlen) in mptcp_setsockopt_sol_tcp_congestion()
600 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_tcp()
613 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt()
648 char __user *optval, int __user *optlen) in mptcp_getsockopt_first_sf_only()
[all …]
/Linux-v5.15/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()
/Linux-v5.15/net/ipv4/
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()
768 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.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-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/net/tls/
Dtls_main.c334 int __user *optlen, int tx) in do_tls_getsockopt_conf()
433 char __user *optval, int __user *optlen) in do_tls_getsockopt()
451 char __user *optval, int __user *optlen) in tls_getsockopt()
463 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()
/Linux-v5.15/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
/Linux-v5.15/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()
/Linux-v5.15/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
Dsockopt_qos_to_cc.c9 socklen_t optlen; in run_setsockopt_test() local
/Linux-v5.15/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()
Dbpf-cgroup.h420 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
432 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) \ argument
440 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
456 optlen, retval) \ argument
539 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) ({ 0; }) argument
541 optlen, max_optlen, retval) ({ retval; }) argument
543 optlen, retval) ({ retval; }) argument
544 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
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()
/Linux-v5.15/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()
/Linux-v5.15/net/atm/
Dpvc.c66 sockptr_t optval, unsigned int optlen) in pvc_setsockopt()
78 char __user *optval, int __user *optlen) in pvc_getsockopt()
/Linux-v5.15/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
/Linux-v5.15/net/bluetooth/rfcomm/
Dsock.c648 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
690 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt()
758 …comm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt_old()
833 …ck_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt()
/Linux-v5.15/net/mctp/
Daf_mctp.c194 sockptr_t optval, unsigned int optlen) in mctp_setsockopt()
200 char __user *optval, int __user *optlen) in mctp_getsockopt()
/Linux-v5.15/net/netfilter/
Dxt_tcpmss.c33 unsigned int i, optlen; in tcpmss_mt() local

123456