inet_opt 213 include/net/inet_sock.h struct ip_options_rcu __rcu *inet_opt; inet_opt 48 net/dccp/ipv4.c struct ip_options_rcu *inet_opt; inet_opt 60 net/dccp/ipv4.c inet_opt = rcu_dereference_protected(inet->inet_opt, inet_opt 62 net/dccp/ipv4.c if (inet_opt != NULL && inet_opt->opt.srr) { inet_opt 65 net/dccp/ipv4.c nexthop = inet_opt->opt.faddr; inet_opt 83 net/dccp/ipv4.c if (inet_opt == NULL || !inet_opt->opt.srr) inet_opt 93 net/dccp/ipv4.c if (inet_opt) inet_opt 94 net/dccp/ipv4.c inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; inet_opt 416 net/dccp/ipv4.c RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); inet_opt 434 net/dccp/ipv4.c newinet->inet_opt = NULL; inet_opt 445 net/dccp/ipv4.c newinet->inet_opt = NULL; inet_opt 495 net/dccp/ipv6.c newinet->inet_opt = NULL; inet_opt 158 net/ipv4/af_inet.c kfree(rcu_dereference_protected(inet->inet_opt, 1)); inet_opt 1196 net/ipv4/af_inet.c struct ip_options_rcu *inet_opt; inet_opt 1198 net/ipv4/af_inet.c inet_opt = rcu_dereference_protected(inet->inet_opt, inet_opt 1200 net/ipv4/af_inet.c if (inet_opt && inet_opt->opt.srr) inet_opt 1201 net/ipv4/af_inet.c daddr = inet_opt->opt.faddr; inet_opt 1241 net/ipv4/af_inet.c struct ip_options_rcu *inet_opt; inet_opt 1251 net/ipv4/af_inet.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 1253 net/ipv4/af_inet.c if (inet_opt && inet_opt->opt.srr) inet_opt 1254 net/ipv4/af_inet.c daddr = inet_opt->opt.faddr; inet_opt 1888 net/ipv4/cipso_ipv4.c old = rcu_dereference_protected(sk_inet->inet_opt, inet_opt 1897 net/ipv4/cipso_ipv4.c rcu_assign_pointer(sk_inet->inet_opt, opt); inet_opt 2059 net/ipv4/cipso_ipv4.c hdr_delta = cipso_v4_delopt(&sk_inet->inet_opt); inet_opt 2148 net/ipv4/cipso_ipv4.c opt = rcu_dereference(inet_sk(sk)->inet_opt); inet_opt 103 net/ipv4/datagram.c const struct ip_options_rcu *inet_opt; inet_opt 116 net/ipv4/datagram.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 117 net/ipv4/datagram.c if (inet_opt && inet_opt->opt.srr) inet_opt 118 net/ipv4/datagram.c daddr = inet_opt->opt.faddr; inet_opt 1081 net/ipv4/inet_connection_sock.c const struct ip_options_rcu *inet_opt; inet_opt 1087 net/ipv4/inet_connection_sock.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 1088 net/ipv4/inet_connection_sock.c if (inet_opt && inet_opt->opt.srr) inet_opt 1089 net/ipv4/inet_connection_sock.c daddr = inet_opt->opt.faddr; inet_opt 458 net/ipv4/ip_output.c struct ip_options_rcu *inet_opt; inet_opt 468 net/ipv4/ip_output.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 481 net/ipv4/ip_output.c if (inet_opt && inet_opt->opt.srr) inet_opt 482 net/ipv4/ip_output.c daddr = inet_opt->opt.faddr; inet_opt 502 net/ipv4/ip_output.c if (inet_opt && inet_opt->opt.is_strictroute && rt->rt_uses_gateway) inet_opt 506 net/ipv4/ip_output.c skb_push(skb, sizeof(struct iphdr) + (inet_opt ? inet_opt->opt.optlen : 0)); inet_opt 520 net/ipv4/ip_output.c if (inet_opt && inet_opt->opt.optlen) { inet_opt 521 net/ipv4/ip_output.c iph->ihl += inet_opt->opt.optlen >> 2; inet_opt 522 net/ipv4/ip_output.c ip_options_build(skb, &inet_opt->opt, inet->inet_daddr, rt, 0); inet_opt 658 net/ipv4/ip_sockglue.c old = rcu_dereference_protected(inet->inet_opt, inet_opt 677 net/ipv4/ip_sockglue.c rcu_assign_pointer(inet->inet_opt, opt); inet_opt 1337 net/ipv4/ip_sockglue.c struct ip_options_rcu *inet_opt; inet_opt 1339 net/ipv4/ip_sockglue.c inet_opt = rcu_dereference_protected(inet->inet_opt, inet_opt 1342 net/ipv4/ip_sockglue.c if (inet_opt) inet_opt 1343 net/ipv4/ip_sockglue.c memcpy(optbuf, &inet_opt->opt, inet_opt 1345 net/ipv4/ip_sockglue.c inet_opt->opt.optlen); inet_opt 747 net/ipv4/ping.c struct ip_options_rcu *inet_opt; inet_opt 750 net/ipv4/ping.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 751 net/ipv4/ping.c if (inet_opt) { inet_opt 752 net/ipv4/ping.c memcpy(&opt_copy, inet_opt, inet_opt 753 net/ipv4/ping.c sizeof(*inet_opt) + inet_opt->opt.optlen); inet_opt 576 net/ipv4/raw.c struct ip_options_rcu *inet_opt; inet_opt 579 net/ipv4/raw.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 580 net/ipv4/raw.c if (inet_opt) { inet_opt 581 net/ipv4/raw.c memcpy(&opt_copy, inet_opt, inet_opt 582 net/ipv4/raw.c sizeof(*inet_opt) + inet_opt->opt.optlen); inet_opt 561 net/ipv4/route.c const struct ip_options_rcu *inet_opt; inet_opt 565 net/ipv4/route.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 566 net/ipv4/route.c if (inet_opt && inet_opt->opt.srr) inet_opt 567 net/ipv4/route.c daddr = inet_opt->opt.faddr; inet_opt 209 net/ipv4/tcp_ipv4.c struct ip_options_rcu *inet_opt; inet_opt 219 net/ipv4/tcp_ipv4.c inet_opt = rcu_dereference_protected(inet->inet_opt, inet_opt 221 net/ipv4/tcp_ipv4.c if (inet_opt && inet_opt->opt.srr) { inet_opt 224 net/ipv4/tcp_ipv4.c nexthop = inet_opt->opt.faddr; inet_opt 246 net/ipv4/tcp_ipv4.c if (!inet_opt || !inet_opt->opt.srr) inet_opt 265 net/ipv4/tcp_ipv4.c if (inet_opt) inet_opt 266 net/ipv4/tcp_ipv4.c inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; inet_opt 1426 net/ipv4/tcp_ipv4.c struct ip_options_rcu *inet_opt; inet_opt 1445 net/ipv4/tcp_ipv4.c inet_opt = rcu_dereference(ireq->ireq_opt); inet_opt 1446 net/ipv4/tcp_ipv4.c RCU_INIT_POINTER(newinet->inet_opt, inet_opt); inet_opt 1451 net/ipv4/tcp_ipv4.c if (inet_opt) inet_opt 1452 net/ipv4/tcp_ipv4.c inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; inet_opt 1495 net/ipv4/tcp_ipv4.c newinet->inet_opt = NULL; inet_opt 1507 net/ipv4/tcp_ipv4.c newinet->inet_opt = NULL; inet_opt 1059 net/ipv4/udp.c struct ip_options_rcu *inet_opt; inet_opt 1062 net/ipv4/udp.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 1063 net/ipv4/udp.c if (inet_opt) { inet_opt 1064 net/ipv4/udp.c memcpy(&opt_copy, inet_opt, inet_opt 1065 net/ipv4/udp.c sizeof(*inet_opt) + inet_opt->opt.optlen); inet_opt 1227 net/ipv6/tcp_ipv6.c newinet->inet_opt = NULL; inet_opt 474 net/l2tp/l2tp_ip.c const struct ip_options_rcu *inet_opt; inet_opt 476 net/l2tp/l2tp_ip.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 479 net/l2tp/l2tp_ip.c if (inet_opt && inet_opt->opt.srr) inet_opt 480 net/l2tp/l2tp_ip.c daddr = inet_opt->opt.faddr; inet_opt 178 net/sctp/protocol.c struct ip_options_rcu *inet_opt, *newopt = NULL; inet_opt 183 net/sctp/protocol.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 184 net/sctp/protocol.c if (inet_opt) { inet_opt 185 net/sctp/protocol.c newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + inet_opt 186 net/sctp/protocol.c inet_opt->opt.optlen, GFP_ATOMIC); inet_opt 188 net/sctp/protocol.c memcpy(newopt, inet_opt, sizeof(*inet_opt) + inet_opt 189 net/sctp/protocol.c inet_opt->opt.optlen); inet_opt 193 net/sctp/protocol.c RCU_INIT_POINTER(newinet->inet_opt, newopt); inet_opt 201 net/sctp/protocol.c struct ip_options_rcu *inet_opt; inet_opt 205 net/sctp/protocol.c inet_opt = rcu_dereference(inet->inet_opt); inet_opt 206 net/sctp/protocol.c if (inet_opt) inet_opt 207 net/sctp/protocol.c len = inet_opt->opt.optlen; inet_opt 3835 net/socket.c opt = rcu_dereference_protected(inet->inet_opt,