/kernel/linux/linux-5.10/include/linux/ |
D | ipv6.h | 154 #define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb)) macro 159 bool l3_slave = ipv6_l3mdev_skb(IP6CB(skb)->flags); in inet6_iif() 161 return l3_slave ? skb->skb_iif : IP6CB(skb)->iif; in inet6_iif() 166 return !!(IP6CB(skb)->flags & IP6SKB_JUMBOGRAM); in inet6_is_jumbogram() 173 if (skb && ipv6_l3mdev_skb(IP6CB(skb)->flags)) in inet6_sdif() 174 return IP6CB(skb)->iif; in inet6_sdif()
|
D | icmpv6.h | 49 __icmpv6_send(skb, type, code, info, IP6CB(skb)); in icmpv6_send()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | reassembly.c | 292 IP6CB(skb)->nhoff = nhoff; in ip6_frag_reasm() 293 IP6CB(skb)->flags |= IP6SKB_FRAGMENTED; in ip6_frag_reasm() 294 IP6CB(skb)->frag_max_size = fq->q.max_size; in ip6_frag_reasm() 330 if (IP6CB(skb)->flags & IP6SKB_FRAGMENTED) in ipv6_frag_rcv() 352 IP6CB(skb)->nhoff = (u8 *)fhdr - skb_network_header(skb); in ipv6_frag_rcv() 353 IP6CB(skb)->flags |= IP6SKB_FRAGMENTED; in ipv6_frag_rcv() 354 IP6CB(skb)->frag_max_size = ntohs(hdr->payload_len) + in ipv6_frag_rcv() 382 ret = ip6_frag_queue(fq, skb, fhdr, IP6CB(skb)->nhoff, in ipv6_frag_rcv()
|
D | ip6_input.c | 173 memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm)); in ip6_rcv_core() 186 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; in ip6_rcv_core() 253 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); in ip6_rcv_core() 369 nhoff = IP6CB(skb)->nhoff; in ip6_protocol_deliver_rcu() 519 likely(!(IP6CB(skb)->flags & IP6SKB_FORWARDED))) { in ip6_mc_input() 525 struct inet6_skb_parm *opt = IP6CB(skb); in ip6_mc_input()
|
D | exthdrs.c | 211 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_dest_hao() 280 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_destopt_rcv() 310 opt = IP6CB(skb); in ipv6_destopt_rcv() 354 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_srh_rcv() 474 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_rpl_srh_rcv() 661 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_rthdr_rcv() 918 IP6CB(skb)->flags |= IP6SKB_ROUTERALERT; in ipv6_hop_ra() 919 memcpy(&IP6CB(skb)->ra, nh + optoff + 2, sizeof(IP6CB(skb)->ra)); in ipv6_hop_ra() 964 IP6CB(skb)->flags |= IP6SKB_JUMBOGRAM; in ipv6_hop_jumbo() 1012 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_parse_hopopts() [all …]
|
D | xfrm6_output.c | 77 IP6CB(skb)->flags |= IP6SKB_REROUTED; in __xfrm6_output() 118 !(IP6CB(skb)->flags & IP6SKB_REROUTED)); in xfrm6_output()
|
D | xfrm6_input.c | 46 skb_network_header(skb)[IP6CB(skb)->nhoff] = in xfrm6_transport_finish() 168 return xfrm6_rcv_spi(skb, skb_network_header(skb)[IP6CB(skb)->nhoff], in xfrm6_rcv_tnl()
|
D | ip6_output.c | 100 !(IP6CB(skb)->flags & IP6SKB_FORWARDED)) || in ip6_finish_output2() 196 IP6CB(skb)->flags |= IP6SKB_REROUTED; in __ip6_finish_output() 207 (IP6CB(skb)->frag_max_size && skb->len > IP6CB(skb)->frag_max_size)) in __ip6_finish_output() 246 !(IP6CB(skb)->flags & IP6SKB_REROUTED)); in ip6_output() 476 if (IP6CB(skb)->frag_max_size && IP6CB(skb)->frag_max_size > mtu) in ip6_pkt_too_big() 492 struct inet6_skb_parm *opt = IP6CB(skb); in ip6_forward() 497 idev = __in6_dev_get_safely(dev_get_by_index_rcu(net, IP6CB(skb)->iif)); in ip6_forward() 570 if (IP6CB(skb)->iif == dst->dev->ifindex && in ip6_forward() 860 if (IP6CB(skb)->frag_max_size) { in ip6_fragment() 861 if (IP6CB(skb)->frag_max_size > mtu) in ip6_fragment() [all …]
|
D | seg6_iptunnel.c | 162 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in seg6_do_srh_encap() 170 IP6CB(skb)->iif = skb->skb_iif; in seg6_do_srh_encap()
|
D | datagram.c | 439 if (!IP6CB(skb)->iif) in ip6_datagram_support_cmsg() 493 IP6CB(skb)->iif); in ipv6_recv_error() 516 IP6CB(skb)->iif); in ipv6_recv_error() 599 src_info.ipi6_ifindex = IP6CB(skb)->iif; in ip6_datagram_recv_common_ctl() 618 struct inet6_skb_parm *opt = IP6CB(skb); in ip6_datagram_recv_specific_ctl()
|
D | output_core.c | 138 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); in __ip6_local_out()
|
D | netfilter.c | 58 if (!(IP6CB(skb)->flags & IP6SKB_XFRM_TRANSFORMED) && in ip6_route_me_harder()
|
D | icmp.c | 646 icmp6_send(skb, ICMPV6_PARAMPROB, code, pos, NULL, IP6CB(skb)); in icmpv6_param_prob() 703 info, &temp_saddr, IP6CB(skb2)); in ip6_err_gen_icmpv6_unreach() 706 info, &temp_saddr, IP6CB(skb2)); in ip6_err_gen_icmpv6_unreach()
|
D | xfrm6_tunnel.c | 219 return skb_network_header(skb)[IP6CB(skb)->nhoff]; in xfrm6_tunnel_input()
|
D | ip6_vti.c | 340 int nexthdr = skb_network_header(skb)[IP6CB(skb)->nhoff]; in vti6_rcv() 572 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in vti6_tnl_xmit()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_netfilter_ipv6.c | 135 memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm)); in br_validate_ipv6() 167 nf_bridge->frag_max_size = IP6CB(skb)->frag_max_size; in br_nf_pre_routing_finish_ipv6()
|
D | br_netfilter_hooks.c | 553 nf_bridge->frag_max_size = IP6CB(skb)->frag_max_size; in br_nf_forward_finish() 627 IP6CB(skb)->frag_max_size = nf_bridge->frag_max_size; in br_nf_forward_ip() 793 IP6CB(skb)->frag_max_size = nf_bridge->frag_max_size; in br_nf_dev_queue_xmit()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_output.c | 545 BUILD_BUG_ON(sizeof(*IP6CB(skb)) > SKB_GSO_CB_OFFSET); in xfrm_output_gso() 580 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in xfrm_output() 582 IP6CB(skb)->flags |= IP6SKB_XFRM_TRANSFORMED; in xfrm_output()
|
D | xfrm_interface_core.c | 242 return xfrmi_input(skb, skb_network_header(skb)[IP6CB(skb)->nhoff], in xfrmi6_rcv() 406 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in xfrmi_xmit()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 357 IP6CB(skb)->frag_max_size = sizeof(struct ipv6hdr) + fq->q.max_size; in nf_ct_frag6_reasm() 358 IP6CB(skb)->flags |= IP6SKB_FRAGMENTED; in nf_ct_frag6_reasm()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | vrf.c | 500 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in vrf_process_v6_outbound() 693 !(IP6CB(skb)->flags & IP6SKB_REROUTED)); in vrf_output6() 797 IP6CB(skb)->flags & IP6SKB_XFRM_TRANSFORMED) in vrf_ip6_out() 1346 IP6CB(skb)->flags |= IP6SKB_L3SLAVE; in vrf_ip6_rcv() 1368 IP6CB(skb)->flags |= IP6SKB_L3SLAVE; in vrf_ip6_rcv()
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
D | ipvlan_l3s.c | 107 IP6CB(skb)->iif = skb->dev->ifindex; in ipvlan_nf_input()
|
D | ipvlan_core.c | 482 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in ipvlan_process_v6_outbound()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_flow_table_ip.c | 541 IP6CB(skb)->iif = skb->dev->ifindex; in nf_flow_offload_ipv6_hook() 542 IP6CB(skb)->flags = IP6SKB_FORWARDED; in nf_flow_offload_ipv6_hook()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_vti.c | 294 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in vti_tunnel_xmit()
|