Home
last modified time | relevance | path

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

123

/net/sctp/
Dsocket.c1416 int __user *optlen) in sctp_getsockopt_connectx3()
2224 unsigned int optlen) in sctp_setsockopt_disable_fragments()
2240 unsigned int optlen) in sctp_setsockopt_events()
2289 unsigned int optlen) in sctp_setsockopt_autoclose()
2549 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2671 char __user *optval, unsigned int optlen) in sctp_setsockopt_delayed_ack()
2780 static int sctp_setsockopt_initmsg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_initmsg()
2818 unsigned int optlen) in sctp_setsockopt_default_send_param()
2858 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
2898 unsigned int optlen) in sctp_setsockopt_primary_addr()
[all …]
/net/ipv4/
Dip_options.c94 int optlen; in __ip_options_echo() local
215 int optlen; in ip_options_fragment() local
264 int optlen, l; in ip_options_compile() local
511 static struct ip_options_rcu *ip_options_get_alloc(const int optlen) in ip_options_get_alloc()
518 struct ip_options_rcu *opt, int optlen) in ip_options_get_finish()
533 unsigned char __user *data, int optlen) in ip_options_get_from_user()
547 unsigned char *data, int optlen) in ip_options_get()
Dxfrm4_mode_beet.c43 int hdrlen, optlen; in xfrm4_beet_output() local
87 int optlen = 0; in xfrm4_beet_input() local
Draw.c764 static int raw_seticmpfilter(struct sock *sk, char __user *optval, int optlen) in raw_seticmpfilter()
773 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter()
793 char __user *optval, unsigned int optlen) in do_raw_setsockopt()
805 char __user *optval, unsigned int optlen) in raw_setsockopt()
814 char __user *optval, unsigned int optlen) in compat_raw_setsockopt()
823 char __user *optval, int __user *optlen) in do_raw_getsockopt()
835 char __user *optval, int __user *optlen) in raw_getsockopt()
844 char __user *optval, int __user *optlen) in compat_raw_getsockopt()
Dip_sockglue.c474 int optname, char __user *optval, unsigned int optlen) in do_ip_setsockopt()
1080 int optname, char __user *optval, unsigned int optlen) in ip_setsockopt()
1105 char __user *optval, unsigned int optlen) in compat_ip_setsockopt()
1140 char __user *optval, int __user *optlen, unsigned int flags) in do_ip_getsockopt()
1370 int optname, char __user *optval, int __user *optlen) in ip_getsockopt()
1399 char __user *optval, int __user *optlen) in compat_ip_getsockopt()
Dtcp.c2368 int optname, char __user *optval, unsigned int optlen) in do_tcp_setsockopt()
2648 unsigned int optlen) in tcp_setsockopt()
2661 char __user *optval, unsigned int optlen) in compat_tcp_setsockopt()
2747 int optname, char __user *optval, int __user *optlen) in do_tcp_getsockopt()
2884 int __user *optlen) in tcp_getsockopt()
2897 char __user *optval, int __user *optlen) in compat_tcp_getsockopt()
/net/dccp/
Dproto.c404 char __user *optval, unsigned int optlen) in dccp_setsockopt_service()
475 char __user *optval, unsigned int optlen) in dccp_setsockopt_ccid()
500 char __user *optval, unsigned int optlen) in do_dccp_setsockopt()
566 char __user *optval, unsigned int optlen) in dccp_setsockopt()
579 char __user *optval, unsigned int optlen) in compat_dccp_setsockopt()
592 int __user *optlen) in dccp_getsockopt_service()
619 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
687 char __user *optval, int __user *optlen) in dccp_getsockopt()
700 char __user *optval, int __user *optlen) in compat_dccp_getsockopt()
/net/ipv6/
Dipv6_sockglue.c127 char __user *optval, unsigned int optlen) in do_ipv6_setsockopt()
864 char __user *optval, unsigned int optlen) in ipv6_setsockopt()
891 char __user *optval, unsigned int optlen) in compat_ipv6_setsockopt()
960 char __user *optval, int __user *optlen, unsigned int flags) in do_ipv6_getsockopt()
1305 char __user *optval, int __user *optlen) in ipv6_getsockopt()
1338 char __user *optval, int __user *optlen) in compat_ipv6_getsockopt()
Draw.c922 char __user *optval, int optlen) in rawv6_seticmpfilter()
939 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
965 char __user *optval, unsigned int optlen) in do_rawv6_setsockopt()
1007 char __user *optval, unsigned int optlen) in rawv6_setsockopt()
1029 char __user *optval, unsigned int optlen) in compat_rawv6_setsockopt()
1050 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1085 char __user *optval, int __user *optlen) in rawv6_getsockopt()
1107 char __user *optval, int __user *optlen) in compat_rawv6_getsockopt()
Dxfrm6_mode_beet.c44 int optlen, hdr_len; in xfrm6_beet_output() local
Dndisc.c477 int optlen = 0; in ndisc_send_na() local
551 int optlen = 0; in ndisc_send_ns() local
591 int optlen = 0; in ndisc_send_rs() local
1066 int optlen; in ndisc_router_discovery() local
1458 int optlen = 0; in ndisc_send_redirect() local
/net/
Dcompat.c343 char __user *optval, unsigned int optlen) in do_set_attach_filter()
363 int optname, char __user *optval, unsigned int optlen) in do_set_sock_timeout()
385 char __user *optval, unsigned int optlen) in compat_sock_setsockopt()
397 char __user *, optval, unsigned int, optlen) in COMPAT_SYSCALL_DEFINE5() argument
424 char __user *optval, int __user *optlen) in do_get_sock_timeout()
453 char __user *optval, int __user *optlen) in compat_sock_getsockopt()
517 char __user *, optval, int __user *, optlen) in COMPAT_SYSCALL_DEFINE5() argument
572 char __user *optval, unsigned int optlen, in compat_mc_setsockopt()
659 char __user *optval, int __user *optlen, in compat_mc_getsockopt()
/net/rds/
Daf_rds.c243 int optlen) in rds_set_bool_option()
256 int optlen) in rds_cong_monitor()
274 char __user *optval, unsigned int optlen) in rds_setsockopt()
311 char __user *optval, int __user *optlen) in rds_getsockopt()
Drdma.c315 int rds_get_mr(struct rds_sock *rs, char __user *optval, int optlen) in rds_get_mr()
329 int rds_get_mr_for_dest(struct rds_sock *rs, char __user *optval, int optlen) in rds_get_mr_for_dest()
356 int rds_free_mr(struct rds_sock *rs, char __user *optval, int optlen) in rds_free_mr()
Dinfo.c159 int __user *optlen) in rds_info_getsockopt()
/net/atm/
Dpvc.c65 char __user *optval, unsigned int optlen) in pvc_setsockopt()
77 char __user *optval, int __user *optlen) in pvc_getsockopt()
Dsvc.c453 char __user *optval, unsigned int optlen) in svc_setsockopt()
498 char __user *optval, int __user *optlen) in svc_getsockopt()
/net/core/
Dsock.c383 static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen) in sock_set_timeout()
547 int optlen) in sock_setbindtodevice()
605 int __user *optlen, int len) in sock_getbindtodevice()
677 char __user *optval, unsigned int optlen) in sock_setsockopt()
1002 char __user *optval, int __user *optlen) in sock_getsockopt()
2147 char __user *optval, unsigned int optlen) in sock_no_setsockopt()
2154 char __user *optval, int __user *optlen) in sock_no_getsockopt()
2521 char __user *optval, int __user *optlen) in sock_common_getsockopt()
2531 char __user *optval, int __user *optlen) in compat_sock_common_getsockopt()
2562 char __user *optval, unsigned int optlen) in sock_common_setsockopt()
[all …]
/net/ieee802154/
Draw.c250 char __user *optval, int __user *optlen) in raw_getsockopt()
256 char __user *optval, unsigned int optlen) in raw_setsockopt()
/net/netfilter/
Dxt_tcpmss.c36 unsigned int i, optlen; in tcpmss_mt() local
Dxt_TCPOPTSTRIP.c22 static inline unsigned int optlen(const u_int8_t *opt, unsigned int offset) in optlen() function
/net/bluetooth/rfcomm/
Dsock.c648 …omm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
689 …k_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) in rfcomm_sock_setsockopt()
757 …comm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt_old()
832 …ck_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt()
/net/dccp/ccids/
Dccid3.c466 u8 option, u8 *optval, u8 optlen) in ccid3_hc_tx_parse_options()
528 u32 __user *optval, int __user *optlen) in ccid3_hc_tx_getsockopt()
820 u32 __user *optval, int __user *optlen) in ccid3_hc_rx_getsockopt()
/net/bluetooth/
Dl2cap_sock.c387 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt_old()
490 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt()
626 char __user *optval, unsigned int optlen) in l2cap_sock_setsockopt_old()
738 char __user *optval, unsigned int optlen) in l2cap_sock_setsockopt()
/net/ipv6/netfilter/
Dip6t_hbh.c60 unsigned int optlen; in hbh_mt6() local

123