Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-6.6/net/sctp/
Dsocket.c1389 int __user *optlen) in sctp_getsockopt_connectx3()
2212 unsigned int optlen) in sctp_setsockopt_disable_fragments()
2221 unsigned int optlen) in sctp_setsockopt_events()
2270 unsigned int optlen) in sctp_setsockopt_autoclose()
2619 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2833 unsigned int optlen) in sctp_setsockopt_delayed_ack()
2870 unsigned int optlen) in sctp_setsockopt_initmsg()
2905 unsigned int optlen) in sctp_setsockopt_default_send_param()
2963 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
3020 unsigned int optlen) in sctp_setsockopt_primary_addr()
[all …]
/kernel/linux/linux-6.6/net/mptcp/
Dsockopt.c59 unsigned int optlen, int *val) in mptcp_get_int_option()
174 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()
388 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v6()
582 unsigned int optlen) in mptcp_setsockopt_sol_tcp_congestion()
689 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_ip_set_transparent()
727 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v4_set_tos()
755 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v4()
[all …]
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c1386 int __user *optlen) in sctp_getsockopt_connectx3()
2206 unsigned int optlen) in sctp_setsockopt_disable_fragments()
2215 unsigned int optlen) in sctp_setsockopt_events()
2264 unsigned int optlen) in sctp_setsockopt_autoclose()
2612 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2826 unsigned int optlen) in sctp_setsockopt_delayed_ack()
2863 unsigned int optlen) in sctp_setsockopt_initmsg()
2898 unsigned int optlen) in sctp_setsockopt_default_send_param()
2956 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
3013 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()
999 unsigned int optlen) in ipv6_setsockopt()
1055 int __user *optlen, int len) in ipv6_get_msfilter()
[all …]
/kernel/linux/linux-6.6/net/ipv6/
Dipv6_sockglue.c141 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
164 sockptr_t optval, int optlen) in do_ipv6_mcast_group_source()
205 int optlen) in ipv6_set_mcast_msfilter()
236 int optlen) in compat_ipv6_set_mcast_msfilter()
280 sockptr_t optval, int optlen) in ipv6_mcast_join_leave()
300 sockptr_t optval, int optlen) in compat_ipv6_mcast_join_leave()
320 int optlen) in ipv6_set_opt_hdr()
394 sockptr_t optval, unsigned int optlen) in do_ipv6_setsockopt()
1001 unsigned int optlen) in ipv6_setsockopt()
1057 sockptr_t optlen, int len) in ipv6_get_msfilter()
[all …]
/kernel/linux/linux-6.6/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()
/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.c64 sockptr_t optval, unsigned int optlen) in do_nip_setsockopt()
104 unsigned int optlen) in nip_setsockopt()
117 char __user *optval, int __user *optlen) in do_nip_getsockopt()
176 int optname, char __user *optval, int __user *optlen) in nip_getsockopt()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c706 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
729 sockptr_t optval, int optlen) in do_mcast_group_source()
776 static int ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, int optlen) in ip_set_mcast_msfilter()
808 int optlen) in compat_ip_set_mcast_msfilter()
852 sockptr_t optval, int optlen) in ip_mcast_join_leave()
874 sockptr_t optval, int optlen) in compat_ip_mcast_join_leave()
897 sockptr_t optval, unsigned int optlen) in do_ip_setsockopt()
1423 unsigned int optlen) in ip_setsockopt()
1464 int __user *optlen, int len) in ip_get_mcast_msfilter()
1490 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()
Dnata.c87 int tcp_set_nata_urc(struct sock *sk, sockptr_t optval, int optlen) in tcp_set_nata_urc()
128 int tcp_set_nata_stl(struct sock *sk, sockptr_t optval, int optlen) in tcp_set_nata_stl()
/kernel/linux/linux-6.6/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()
/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()
/kernel/linux/linux-5.10/net/dccp/
Dproto.c424 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_service()
494 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid()
519 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt()
585 unsigned int optlen) in dccp_setsockopt()
598 int __user *optlen) in dccp_getsockopt_service()
625 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
693 char __user *optval, int __user *optlen) in dccp_getsockopt()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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
/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.c337 int __user *optlen, int tx) in do_tls_getsockopt_conf()
432 char __user *optval, int __user *optlen) in do_tls_getsockopt()
455 char __user *optval, int __user *optlen) in tls_getsockopt()
467 unsigned int optlen, int tx) in do_tls_setsockopt_conf()
595 unsigned int optlen) in do_tls_setsockopt()
615 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/include/linux/
Dbpf-cgroup.h335 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
347 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) \ argument
355 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
371 optlen, retval) \ argument
456 #define BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen) ({ 0; }) argument
458 optlen, max_optlen, retval) ({ retval; }) argument
460 optlen, retval) ({ retval; }) argument
461 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/kernel/linux/linux-6.6/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/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()

1234567891011