Searched refs:ip_options_rcu (Results 1 – 19 of 19) sorted by relevance
| /Linux-v5.4/net/ipv4/ |
| D | ip_options.c | 522 static struct ip_options_rcu *ip_options_get_alloc(const int optlen) in ip_options_get_alloc() 524 return kzalloc(sizeof(struct ip_options_rcu) + ((optlen + 3) & ~3), in ip_options_get_alloc() 528 static int ip_options_get_finish(struct net *net, struct ip_options_rcu **optp, in ip_options_get_finish() 529 struct ip_options_rcu *opt, int optlen) in ip_options_get_finish() 543 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp, in ip_options_get_from_user() 546 struct ip_options_rcu *opt = ip_options_get_alloc(optlen); in ip_options_get_from_user() 557 int ip_options_get(struct net *net, struct ip_options_rcu **optp, in ip_options_get() 560 struct ip_options_rcu *opt = ip_options_get_alloc(optlen); in ip_options_get()
|
| D | cipso_ipv4.c | 1837 struct ip_options_rcu *old, *opt = NULL; in cipso_v4_sock_setattr() 1922 struct ip_options_rcu *opt = NULL; in cipso_v4_req_setattr() 1957 opt = xchg((__force struct ip_options_rcu **)&req_inet->ireq_opt, opt); in cipso_v4_req_setattr() 1979 static int cipso_v4_delopt(struct ip_options_rcu __rcu **opt_ptr) in cipso_v4_delopt() 1981 struct ip_options_rcu *opt = rcu_dereference_protected(*opt_ptr, 1); in cipso_v4_delopt() 2137 struct ip_options_rcu *opt; in cipso_v4_sock_getattr()
|
| D | datagram.c | 103 const struct ip_options_rcu *inet_opt; in ip4_datagram_release_cb()
|
| D | inet_connection_sock.c | 547 struct ip_options_rcu *opt; in inet_csk_route_req() 584 struct ip_options_rcu *opt; in inet_csk_route_child_sock() 1056 const struct ip_options_rcu *inet_opt; in inet_csk_rebuild_route()
|
| D | ip_output.c | 145 __be32 saddr, __be32 daddr, struct ip_options_rcu *opt) in ip_build_and_send_pkt() 458 struct ip_options_rcu *inet_opt; in __ip_queue_xmit() 1238 struct ip_options_rcu *opt; in ip_setup_cork()
|
| D | ip_sockglue.c | 650 struct ip_options_rcu *old, *opt = NULL; in do_ip_setsockopt() 1337 struct ip_options_rcu *inet_opt; in do_ip_getsockopt()
|
| D | af_inet.c | 1196 struct ip_options_rcu *inet_opt; in inet_sk_reselect_saddr() 1241 struct ip_options_rcu *inet_opt; in inet_sk_rebuild_header()
|
| D | raw.c | 576 struct ip_options_rcu *inet_opt; in raw_sendmsg()
|
| D | ping.c | 747 struct ip_options_rcu *inet_opt; in ping_v4_sendmsg()
|
| D | tcp_ipv4.c | 209 struct ip_options_rcu *inet_opt; in tcp_v4_connect() 1426 struct ip_options_rcu *inet_opt; in tcp_v4_syn_recv_sock()
|
| D | udp.c | 1059 struct ip_options_rcu *inet_opt; in udp_sendmsg()
|
| D | route.c | 562 const struct ip_options_rcu *inet_opt; in build_sk_flow_key()
|
| /Linux-v5.4/include/net/ |
| D | inet_sock.h | 58 struct ip_options_rcu { struct 64 struct ip_options_rcu opt; argument 93 struct ip_options_rcu __rcu *ireq_opt; 213 struct ip_options_rcu __rcu *inet_opt;
|
| D | ip.h | 74 struct ip_options_rcu *opt; 153 struct ip_options_rcu *opt); 713 int ip_options_get(struct net *net, struct ip_options_rcu **optp, 715 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp,
|
| D | tcp.h | 2026 static inline struct ip_options_rcu *tcp_v4_save_options(struct net *net, in tcp_v4_save_options() 2030 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options()
|
| /Linux-v5.4/net/l2tp/ |
| D | l2tp_ip.c | 459 const struct ip_options_rcu *inet_opt; in l2tp_ip_sendmsg()
|
| /Linux-v5.4/net/sctp/ |
| D | protocol.c | 178 struct ip_options_rcu *inet_opt, *newopt = NULL; in sctp_v4_copy_ip_options() 201 struct ip_options_rcu *inet_opt; in sctp_v4_ip_options_len()
|
| /Linux-v5.4/net/dccp/ |
| D | ipv4.c | 48 struct ip_options_rcu *inet_opt; in dccp_v4_connect()
|
| /Linux-v5.4/net/ |
| D | socket.c | 3740 struct ip_options_rcu *opt; in kernel_sock_ip_overhead()
|