Home
last modified time | relevance | path

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

1234

/net/sctp/
Dsocket.c1385 int __user *optlen) in sctp_getsockopt_connectx3()
2198 unsigned int optlen) in sctp_setsockopt_disable_fragments()
2214 unsigned int optlen) in sctp_setsockopt_events()
2268 unsigned int optlen) in sctp_setsockopt_autoclose()
2617 unsigned int optlen) in sctp_setsockopt_peer_addr_params()
2784 char __user *optval, unsigned int optlen) in sctp_setsockopt_delayed_ack()
2870 static int sctp_setsockopt_initmsg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_initmsg()
2908 unsigned int optlen) in sctp_setsockopt_default_send_param()
2969 unsigned int optlen) in sctp_setsockopt_default_sndinfo()
3029 unsigned int optlen) in sctp_setsockopt_primary_addr()
[all …]
/net/ipv4/
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
522 static struct ip_options_rcu *ip_options_get_alloc(const int optlen) in ip_options_get_alloc()
529 struct ip_options_rcu *opt, int optlen) in ip_options_get_finish()
544 unsigned char __user *data, int optlen) in ip_options_get_from_user()
558 unsigned char *data, int optlen) in ip_options_get()
Draw.c812 static int raw_seticmpfilter(struct sock *sk, char __user *optval, int optlen) in raw_seticmpfilter()
821 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter()
841 char __user *optval, unsigned int optlen) in do_raw_setsockopt()
853 char __user *optval, unsigned int optlen) in raw_setsockopt()
862 char __user *optval, unsigned int optlen) in compat_raw_setsockopt()
871 char __user *optval, int __user *optlen) in do_raw_getsockopt()
883 char __user *optval, int __user *optlen) in raw_getsockopt()
892 char __user *optval, int __user *optlen) in compat_raw_getsockopt()
Dip_sockglue.c591 int optname, char __user *optval, unsigned int optlen) in do_ip_setsockopt()
1241 int optname, char __user *optval, unsigned int optlen) in ip_setsockopt()
1268 char __user *optval, unsigned int optlen) in compat_ip_setsockopt()
1310 char __user *optval, int __user *optlen, unsigned int flags) in do_ip_getsockopt()
1557 int optname, char __user *optval, int __user *optlen) in ip_getsockopt()
1588 char __user *optval, int __user *optlen) in compat_ip_getsockopt()
/net/ipv4/bpfilter/
Dsockopt.c27 unsigned int optlen, bool is_set) in bpfilter_mbox_request()
53 unsigned int optlen) in bpfilter_ip_set_sockopt()
59 int __user *optlen) in bpfilter_ip_get_sockopt()
/net/dccp/
Dproto.c405 char __user *optval, unsigned int optlen) in dccp_setsockopt_service()
476 char __user *optval, unsigned int optlen) in dccp_setsockopt_ccid()
501 char __user *optval, unsigned int optlen) in do_dccp_setsockopt()
567 char __user *optval, unsigned int optlen) in dccp_setsockopt()
580 char __user *optval, unsigned int optlen) in compat_dccp_setsockopt()
593 int __user *optlen) in dccp_getsockopt_service()
620 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
688 char __user *optval, int __user *optlen) in dccp_getsockopt()
701 char __user *optval, int __user *optlen) in compat_dccp_getsockopt()
/net/ipv6/
Dipv6_sockglue.c140 char __user *optval, unsigned int optlen) in do_ipv6_setsockopt()
934 char __user *optval, unsigned int optlen) in ipv6_setsockopt()
957 char __user *optval, unsigned int optlen) in compat_ipv6_setsockopt()
1023 char __user *optval, int __user *optlen, unsigned int flags) in do_ipv6_getsockopt()
1381 char __user *optval, int __user *optlen) in ipv6_getsockopt()
1411 char __user *optval, int __user *optlen) in compat_ipv6_getsockopt()
Draw.c975 char __user *optval, int optlen) in rawv6_seticmpfilter()
992 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
1018 char __user *optval, unsigned int optlen) in do_rawv6_setsockopt()
1065 char __user *optval, unsigned int optlen) in rawv6_setsockopt()
1089 char __user *optval, unsigned int optlen) in compat_rawv6_setsockopt()
1112 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1150 char __user *optval, int __user *optlen) in rawv6_getsockopt()
1174 char __user *optval, int __user *optlen) in compat_rawv6_getsockopt()
Dndisc.c525 int optlen = 0; in ndisc_send_na() local
605 int optlen = 0; in ndisc_send_ns() local
656 int optlen = 0; in ndisc_send_rs() local
1176 int optlen; in ndisc_router_discovery() local
1581 int optlen = 0; in ndisc_send_redirect() local
/net/rds/
Daf_rds.c331 int optlen) in rds_set_bool_option()
344 int optlen) in rds_cong_monitor()
362 int optlen) in rds_set_transport()
384 int optlen, int optname) in rds_enable_recvtstamp()
408 int optlen) in rds_recv_track_latency()
435 char __user *optval, unsigned int optlen) in rds_setsockopt()
486 char __user *optval, int __user *optlen) in rds_getsockopt()
Drdma.c325 int rds_get_mr(struct rds_sock *rs, char __user *optval, int optlen) in rds_get_mr()
339 int rds_get_mr_for_dest(struct rds_sock *rs, char __user *optval, int optlen) in rds_get_mr_for_dest()
366 int rds_free_mr(struct rds_sock *rs, char __user *optval, int optlen) in rds_free_mr()
/net/tls/
Dtls_main.c328 int __user *optlen) in do_tls_getsockopt_tx()
420 char __user *optval, int __user *optlen) in do_tls_getsockopt()
436 char __user *optval, int __user *optlen) in tls_getsockopt()
448 unsigned int optlen, int tx) in do_tls_setsockopt_conf()
567 char __user *optval, unsigned int optlen) in do_tls_setsockopt()
587 char __user *optval, unsigned int optlen) in tls_setsockopt()
/net/
Dcompat.c341 char __user *optval, unsigned int optlen) in do_set_attach_filter()
354 char __user *optval, unsigned int optlen) in compat_sock_setsockopt()
364 char __user *optval, unsigned int optlen) in __compat_sys_setsockopt()
395 char __user *, optval, unsigned int, optlen) in COMPAT_SYSCALL_DEFINE5() argument
402 int __user *optlen) in __compat_sys_getsockopt()
429 char __user *, optval, int __user *, optlen) in COMPAT_SYSCALL_DEFINE5() argument
463 char __user *optval, unsigned int optlen, in compat_mc_setsockopt()
550 char __user *optval, int __user *optlen, in compat_mc_getsockopt()
/net/atm/
Dpvc.c66 char __user *optval, unsigned int optlen) in pvc_setsockopt()
78 char __user *optval, int __user *optlen) in pvc_getsockopt()
/net/bluetooth/rfcomm/
Dsock.c650 …omm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
691 …k_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) in rfcomm_sock_setsockopt()
759 …comm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt_old()
834 …ck_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt()
/net/netfilter/
Dxt_tcpmss.c33 unsigned int i, optlen; in tcpmss_mt() local
Dxt_TCPOPTSTRIP.c19 static inline unsigned int optlen(const u_int8_t *opt, unsigned int offset) in optlen() function
/net/core/
Dsock.c366 static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen, bool old_timeval) in sock_set_timeout()
601 int optlen) in sock_setbindtodevice()
651 int __user *optlen, int len) in sock_getbindtodevice()
723 char __user *optval, unsigned int optlen) in sock_setsockopt()
1216 char __user *optval, int __user *optlen) in sock_getsockopt()
2695 char __user *optval, unsigned int optlen) in sock_no_setsockopt()
2702 char __user *optval, int __user *optlen) in sock_no_getsockopt()
3106 char __user *optval, int __user *optlen) in sock_common_getsockopt()
3116 char __user *optval, int __user *optlen) in compat_sock_common_getsockopt()
3147 char __user *optval, unsigned int optlen) in sock_common_setsockopt()
[all …]
/net/bluetooth/
Dl2cap_sock.c393 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt_old()
496 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt()
632 char __user *optval, unsigned int optlen) in l2cap_sock_setsockopt_old()
744 char __user *optval, unsigned int optlen) in l2cap_sock_setsockopt()
/net/dccp/ccids/
Dccid3.c453 u8 option, u8 *optval, u8 optlen) in ccid3_hc_tx_parse_options()
516 u32 __user *optval, int __user *optlen) in ccid3_hc_tx_getsockopt()
810 u32 __user *optval, int __user *optlen) in ccid3_hc_rx_getsockopt()
/net/bpfilter/
Dbpfilter_kern.c38 unsigned int optlen, bool is_set) in __bpfilter_process_sockopt()
/net/ipv6/netfilter/
Dip6t_hbh.c57 unsigned int optlen; in hbh_mt6() local
/net/ieee802154/
Dsocket.c379 char __user *optval, int __user *optlen) in raw_getsockopt()
385 char __user *optval, unsigned int optlen) in raw_setsockopt()
832 char __user *optval, int __user *optlen) in dgram_getsockopt()
879 char __user *optval, unsigned int optlen) in dgram_setsockopt()
/net/bridge/
Dbr_netfilter_ipv6.c61 int optlen = nh[off + 1] + 2; in br_nf_check_hbh_len() local
/net/xfrm/
Dxfrm_output.c146 int hdrlen, optlen; in xfrm4_beet_encap_add() local
275 int optlen, hdr_len; in xfrm6_beet_encap_add() local

1234