Home
last modified time | relevance | path

Searched refs:ip_options_rcu (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/include/net/
Dinet_sock.h62 struct ip_options_rcu { struct
68 struct ip_options_rcu opt; argument
97 struct ip_options_rcu __rcu *ireq_opt;
195 struct ip_options_rcu __rcu *inet_opt;
Dip.h74 struct ip_options_rcu *opt;
152 struct ip_options_rcu *opt);
643 int ip_options_get(struct net *net, struct ip_options_rcu **optp,
645 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp,
Dtcp.h1951 static inline struct ip_options_rcu *tcp_v4_save_options(struct net *net, in tcp_v4_save_options()
1955 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options()
/Linux-v4.19/net/ipv4/
Dip_options.c509 static struct ip_options_rcu *ip_options_get_alloc(const int optlen) in ip_options_get_alloc()
511 return kzalloc(sizeof(struct ip_options_rcu) + ((optlen + 3) & ~3), in ip_options_get_alloc()
515 static int ip_options_get_finish(struct net *net, struct ip_options_rcu **optp, in ip_options_get_finish()
516 struct ip_options_rcu *opt, int optlen) in ip_options_get_finish()
530 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp, in ip_options_get_from_user()
533 struct ip_options_rcu *opt = ip_options_get_alloc(optlen); in ip_options_get_from_user()
544 int ip_options_get(struct net *net, struct ip_options_rcu **optp, in ip_options_get()
547 struct ip_options_rcu *opt = ip_options_get_alloc(optlen); in ip_options_get()
Dcipso_ipv4.c1834 struct ip_options_rcu *old, *opt = NULL; in cipso_v4_sock_setattr()
1919 struct ip_options_rcu *opt = NULL; in cipso_v4_req_setattr()
1954 opt = xchg((__force struct ip_options_rcu **)&req_inet->ireq_opt, opt); in cipso_v4_req_setattr()
1976 static int cipso_v4_delopt(struct ip_options_rcu __rcu **opt_ptr) in cipso_v4_delopt()
1978 struct ip_options_rcu *opt = rcu_dereference_protected(*opt_ptr, 1); in cipso_v4_delopt()
2134 struct ip_options_rcu *opt; in cipso_v4_sock_getattr()
Ddatagram.c105 const struct ip_options_rcu *inet_opt; in ip4_datagram_release_cb()
Dinet_connection_sock.c544 struct ip_options_rcu *opt; in inet_csk_route_req()
581 struct ip_options_rcu *opt; in inet_csk_route_child_sock()
1059 const struct ip_options_rcu *inet_opt; in inet_csk_rebuild_route()
Dip_output.c144 __be32 saddr, __be32 daddr, struct ip_options_rcu *opt) in ip_build_and_send_pkt()
431 struct ip_options_rcu *inet_opt; in __ip_queue_xmit()
1121 struct ip_options_rcu *opt; in ip_setup_cork()
Dip_sockglue.c650 struct ip_options_rcu *old, *opt = NULL; in do_ip_setsockopt()
1337 struct ip_options_rcu *inet_opt; in do_ip_getsockopt()
Daf_inet.c1190 struct ip_options_rcu *inet_opt; in inet_sk_reselect_saddr()
1235 struct ip_options_rcu *inet_opt; in inet_sk_rebuild_header()
Draw.c581 struct ip_options_rcu *inet_opt; in raw_sendmsg()
Dping.c752 struct ip_options_rcu *inet_opt; in ping_v4_sendmsg()
Dtcp_ipv4.c212 struct ip_options_rcu *inet_opt; in tcp_v4_connect()
1411 struct ip_options_rcu *inet_opt; in tcp_v4_syn_recv_sock()
Dudp.c997 struct ip_options_rcu *inet_opt; in udp_sendmsg()
Droute.c554 const struct ip_options_rcu *inet_opt; in build_sk_flow_key()
/Linux-v4.19/net/l2tp/
Dl2tp_ip.c460 const struct ip_options_rcu *inet_opt; in l2tp_ip_sendmsg()
/Linux-v4.19/net/sctp/
Dprotocol.c194 struct ip_options_rcu *inet_opt, *newopt = NULL; in sctp_v4_copy_ip_options()
217 struct ip_options_rcu *inet_opt; in sctp_v4_ip_options_len()
/Linux-v4.19/net/dccp/
Dipv4.c52 struct ip_options_rcu *inet_opt; in dccp_v4_connect()
/Linux-v4.19/net/
Dsocket.c3365 struct ip_options_rcu *opt; in kernel_sock_ip_overhead()