Home
last modified time | relevance | path

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

123456

/linux-6.1.9/net/mptcp/
Dsockopt.c58 unsigned int optlen, int *val) in mptcp_get_int_option()
172 unsigned int optlen) in mptcp_setsockopt_sol_socket_int()
208 unsigned int optlen) in mptcp_setsockopt_sol_socket_timestamping()
250 unsigned int optlen) in mptcp_setsockopt_sol_socket_linger()
291 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_socket()
387 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v6()
579 unsigned int optlen) in mptcp_setsockopt_sol_tcp_congestion()
622 unsigned int optlen) in mptcp_setsockopt_sol_tcp_cork()
652 unsigned int optlen) in mptcp_setsockopt_sol_tcp_nodelay()
682 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_ip_set_transparent()
[all …]
/linux-6.1.9/net/sctp/
Dsocket.c1387 int __user *optlen) in sctp_getsockopt_connectx3()
2199 unsigned int optlen) in sctp_setsockopt_disable_fragments()
2208 unsigned int optlen) in sctp_setsockopt_events()
2257 unsigned int optlen) in sctp_setsockopt_autoclose()
2605 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2819 unsigned int optlen) in sctp_setsockopt_delayed_ack()
2856 unsigned int optlen) in sctp_setsockopt_initmsg()
2891 unsigned int optlen) in sctp_setsockopt_default_send_param()
2949 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
3006 unsigned int optlen) in sctp_setsockopt_primary_addr()
[all …]
/linux-6.1.9/net/ipv6/
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()
206 int optlen) in ipv6_set_mcast_msfilter()
237 int optlen) in compat_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()
321 int optlen) in ipv6_set_opt_hdr()
395 sockptr_t optval, unsigned int optlen) in do_ipv6_setsockopt()
1015 unsigned int optlen) in ipv6_setsockopt()
1071 sockptr_t optlen, int len) in ipv6_get_msfilter()
[all …]
Draw.c945 sockptr_t optval, int optlen) in rawv6_seticmpfilter()
962 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
988 sockptr_t optval, unsigned int optlen) in do_rawv6_setsockopt()
1038 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt()
1061 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1099 char __user *optval, int __user *optlen) in rawv6_getsockopt()
/linux-6.1.9/net/tls/
Dtls_main.c355 int __user *optlen, int tx) in do_tls_getsockopt_conf()
584 int __user *optlen) in do_tls_getsockopt_tx_zc()
604 int __user *optlen) in do_tls_getsockopt_no_pad()
634 char __user *optval, int __user *optlen) in do_tls_getsockopt()
658 char __user *optval, int __user *optlen) in tls_getsockopt()
670 unsigned int optlen, int tx) in do_tls_setsockopt_conf()
820 unsigned int optlen) in do_tls_setsockopt_tx_zc()
840 unsigned int optlen) in do_tls_setsockopt_no_pad()
872 unsigned int optlen) in do_tls_setsockopt()
900 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/linux-6.1.9/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-6.1.9/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()
892 sockptr_t optval, unsigned int optlen) in do_ip_setsockopt()
1425 unsigned int optlen) in ip_setsockopt()
1466 sockptr_t optlen, int len) in ip_get_mcast_msfilter()
1493 sockptr_t optlen, int len) in compat_ip_get_mcast_msfilter()
[all …]
Dip_options.c82 int optlen; in __ip_options_echo() local
200 int optlen; in ip_options_fragment() local
250 int optlen, l; in __ip_options_compile() local
513 sockptr_t data, int optlen) in ip_options_get()
Draw.c789 static int raw_seticmpfilter(struct sock *sk, sockptr_t optval, int optlen) in raw_seticmpfilter()
798 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter()
818 sockptr_t optval, unsigned int optlen) in do_raw_setsockopt()
830 sockptr_t optval, unsigned int optlen) in raw_setsockopt()
838 char __user *optval, int __user *optlen) in do_raw_getsockopt()
850 char __user *optval, int __user *optlen) in raw_getsockopt()
/linux-6.1.9/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-6.1.9/net/dccp/
Dproto.c402 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_service()
472 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid()
497 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt()
563 unsigned int optlen) in dccp_setsockopt()
576 int __user *optlen) in dccp_getsockopt_service()
603 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
671 char __user *optval, int __user *optlen) in dccp_getsockopt()
/linux-6.1.9/samples/bpf/
Dtest_cgrp2_sock.c132 socklen_t optlen = len; in get_bind_to_device() local
146 socklen_t optlen = sizeof(mark); in get_somark() local
159 socklen_t optlen = sizeof(prio); in get_priority() local
/linux-6.1.9/include/linux/
Dbpf-cgroup.h363 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
376 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) \ argument
384 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
401 optlen, retval) \ argument
501 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) ({ 0; }) argument
503 optlen, max_optlen, retval) ({ retval; }) argument
505 optlen, retval) ({ retval; }) argument
506 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
Dmroute.h27 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt()
33 sockptr_t optval, sockptr_t optlen) in ip_mroute_getsockopt()
Dmroute6.h38 sockptr_t optval, unsigned int optlen) in ip6_mroute_setsockopt()
45 int optname, sockptr_t optval, sockptr_t optlen) in ip6_mroute_getsockopt()
/linux-6.1.9/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-6.1.9/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
Dcgroup_getset_retval.c316 socklen_t optlen = sizeof(buf); in test_getsockopt_get() local
356 socklen_t optlen = sizeof(buf); in test_getsockopt_override() local
393 socklen_t optlen = sizeof(buf); in test_getsockopt_retval_sync() local
Dsockopt_qos_to_cc.c9 socklen_t optlen; in run_setsockopt_test() local
/linux-6.1.9/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-6.1.9/net/atm/
Dpvc.c66 sockptr_t optval, unsigned int optlen) in pvc_setsockopt()
78 char __user *optval, int __user *optlen) in pvc_getsockopt()
/linux-6.1.9/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-6.1.9/net/bluetooth/rfcomm/
Dsock.c627 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
669 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt()
737 …comm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt_old()
812 …ck_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt()
/linux-6.1.9/net/dccp/ccids/
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()

123456