Home
last modified time | relevance | path

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

123456

/linux-6.6.21/net/mptcp/
Dsockopt.c59 unsigned int optlen, int *val) in mptcp_get_int_option()
174 unsigned int optlen) in mptcp_setsockopt_sol_socket_int()
210 unsigned int optlen) in mptcp_setsockopt_sol_socket_timestamping()
252 unsigned int optlen) in mptcp_setsockopt_sol_socket_linger()
293 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_socket()
390 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v6()
584 unsigned int optlen) in mptcp_setsockopt_sol_tcp_congestion()
627 unsigned int optlen) in mptcp_setsockopt_sol_tcp_cork()
657 unsigned int optlen) in mptcp_setsockopt_sol_tcp_nodelay()
687 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_ip_set_transparent()
[all …]
/linux-6.6.21/net/sctp/
Dsocket.c1388 int __user *optlen) in sctp_getsockopt_connectx3()
2211 unsigned int optlen) in sctp_setsockopt_disable_fragments()
2220 unsigned int optlen) in sctp_setsockopt_events()
2269 unsigned int optlen) in sctp_setsockopt_autoclose()
2618 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2832 unsigned int optlen) in sctp_setsockopt_delayed_ack()
2869 unsigned int optlen) in sctp_setsockopt_initmsg()
2904 unsigned int optlen) in sctp_setsockopt_default_send_param()
2962 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
3019 unsigned int optlen) in sctp_setsockopt_primary_addr()
[all …]
/linux-6.6.21/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()
1002 unsigned int optlen) in ipv6_setsockopt()
1058 sockptr_t optlen, int len) in ipv6_get_msfilter()
[all …]
Draw.c939 sockptr_t optval, int optlen) in rawv6_seticmpfilter()
956 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
982 sockptr_t optval, unsigned int optlen) in do_rawv6_setsockopt()
1032 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt()
1055 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1093 char __user *optval, int __user *optlen) in rawv6_getsockopt()
/linux-6.6.21/net/ipv4/bpfilter/
Dsockopt.c16 unsigned int optlen, bool is_set) in bpfilter_mbox_request()
46 unsigned int optlen) in bpfilter_ip_set_sockopt()
52 int __user *optlen) in bpfilter_ip_get_sockopt()
/linux-6.6.21/net/tls/
Dtls_main.c439 int __user *optlen, int tx) in do_tls_getsockopt_conf()
500 int __user *optlen) in do_tls_getsockopt_tx_zc()
520 int __user *optlen) in do_tls_getsockopt_no_pad()
548 char __user *optval, int __user *optlen) in do_tls_getsockopt()
577 char __user *optval, int __user *optlen) in tls_getsockopt()
589 unsigned int optlen, int tx) in do_tls_setsockopt_conf()
716 unsigned int optlen) in do_tls_setsockopt_tx_zc()
736 unsigned int optlen) in do_tls_setsockopt_no_pad()
768 unsigned int optlen) in do_tls_setsockopt()
796 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/linux-6.6.21/net/ipv4/
Dip_sockglue.c701 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
724 sockptr_t optval, int optlen) in do_mcast_group_source()
771 static int ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, int optlen) in ip_set_mcast_msfilter()
804 int optlen) in compat_ip_set_mcast_msfilter()
848 sockptr_t optval, int optlen) in ip_mcast_join_leave()
870 sockptr_t optval, int optlen) in compat_ip_mcast_join_leave()
895 sockptr_t optval, unsigned int optlen) in do_ip_setsockopt()
1412 unsigned int optlen) in ip_setsockopt()
1453 sockptr_t optlen, int len) in ip_get_mcast_msfilter()
1480 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.6.21/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.6.21/net/dccp/
Dproto.c415 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_service()
485 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid()
510 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt()
576 unsigned int optlen) in dccp_setsockopt()
589 int __user *optlen) in dccp_getsockopt_service()
616 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
684 char __user *optval, int __user *optlen) in dccp_getsockopt()
/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/prog_tests/
Dsockopt_multi.c12 socklen_t optlen; in run_getsockopt_test() local
163 socklen_t optlen; in run_setsockopt_test() local
Dcgroup_getset_retval.c330 socklen_t optlen = sizeof(buf); in test_getsockopt_get() local
372 socklen_t optlen = sizeof(buf); in test_getsockopt_override() local
411 socklen_t optlen = sizeof(buf); in test_getsockopt_retval_sync() local
Dsk_storage_omem_uncharge.c13 socklen_t optlen; in test_sk_storage_omem_uncharge() local
/linux-6.6.21/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.6.21/include/linux/
Dbpf-cgroup.h364 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
377 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) \ argument
385 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
402 optlen, retval) \ argument
502 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) ({ 0; }) argument
504 optlen, max_optlen, retval) ({ retval; }) argument
506 optlen, retval) ({ retval; }) argument
507 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
Dmroute.h28 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt()
34 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.6.21/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.6.21/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.6.21/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.6.21/net/bluetooth/rfcomm/
Dsock.c620 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
662 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt()
730 …comm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt_old()
805 …ck_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt()
/linux-6.6.21/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