/linux-6.1.9/include/linux/ ! |
D | ipv6.h | 163 #define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb)) macro 168 bool l3_slave = ipv6_l3mdev_skb(IP6CB(skb)->flags); in inet6_iif() 170 return l3_slave ? skb->skb_iif : IP6CB(skb)->iif; in inet6_iif() 175 return !!(IP6CB(skb)->flags & IP6SKB_JUMBOGRAM); in inet6_is_jumbogram() 182 if (skb && ipv6_l3mdev_skb(IP6CB(skb)->flags)) in inet6_sdif() 183 return IP6CB(skb)->iif; in inet6_sdif()
|
D | icmpv6.h | 49 __icmpv6_send(skb, type, code, info, IP6CB(skb)); in icmpv6_send()
|
/linux-6.1.9/net/ipv6/ ! |
D | reassembly.c | 293 IP6CB(skb)->nhoff = nhoff; in ip6_frag_reasm() 294 IP6CB(skb)->flags |= IP6SKB_FRAGMENTED; in ip6_frag_reasm() 295 IP6CB(skb)->frag_max_size = fq->q.max_size; in ip6_frag_reasm() 331 if (IP6CB(skb)->flags & IP6SKB_FRAGMENTED) in ipv6_frag_rcv() 353 IP6CB(skb)->nhoff = (u8 *)fhdr - skb_network_header(skb); in ipv6_frag_rcv() 354 IP6CB(skb)->flags |= IP6SKB_FRAGMENTED; in ipv6_frag_rcv() 355 IP6CB(skb)->frag_max_size = ntohs(hdr->payload_len) + in ipv6_frag_rcv() 383 ret = ip6_frag_queue(fq, skb, fhdr, IP6CB(skb)->nhoff, in ipv6_frag_rcv()
|
D | ip6_input.c | 177 memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm)); in ip6_rcv_core() 190 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; in ip6_rcv_core() 261 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); in ip6_rcv_core() 377 nhoff = IP6CB(skb)->nhoff; in ip6_protocol_deliver_rcu() 535 likely(!(IP6CB(skb)->flags & IP6SKB_FORWARDED))) { in ip6_mc_input() 541 struct inet6_skb_parm *opt = IP6CB(skb); in ip6_mc_input()
|
D | exthdrs.c | 234 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_dest_hao() 298 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_destopt_rcv() 327 opt = IP6CB(skb); in ipv6_destopt_rcv() 371 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_srh_rcv() 492 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_rpl_srh_rcv() 683 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_rthdr_rcv() 934 IP6CB(skb)->flags |= IP6SKB_ROUTERALERT; in ipv6_hop_ra() 935 memcpy(&IP6CB(skb)->ra, nh + optoff + 2, sizeof(IP6CB(skb)->ra)); in ipv6_hop_ra() 1033 IP6CB(skb)->flags |= IP6SKB_JUMBOGRAM; in ipv6_hop_jumbo() 1065 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_parse_hopopts() [all …]
|
D | xfrm6_output.c | 70 IP6CB(skb)->flags |= IP6SKB_REROUTED; in __xfrm6_output() 111 !(IP6CB(skb)->flags & IP6SKB_REROUTED)); in xfrm6_output()
|
D | seg6_iptunnel.c | 165 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in seg6_do_srh_encap() 173 IP6CB(skb)->iif = skb->skb_iif; in seg6_do_srh_encap() 254 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in seg6_do_srh_encap_red() 255 IP6CB(skb)->iif = skb->skb_iif; in seg6_do_srh_encap_red()
|
D | ip6_output.c | 84 !(IP6CB(skb)->flags & IP6SKB_FORWARDED)) || in ip6_finish_output2() 179 IP6CB(skb)->flags |= IP6SKB_REROUTED; in __ip6_finish_output() 186 !(IP6CB(skb)->flags & IP6SKB_FAKEJUMBO) && in __ip6_finish_output() 192 (IP6CB(skb)->frag_max_size && skb->len > IP6CB(skb)->frag_max_size)) in __ip6_finish_output() 230 !(IP6CB(skb)->flags & IP6SKB_REROUTED)); in ip6_output() 300 IP6CB(skb)->flags |= IP6SKB_FAKEJUMBO; in ip6_xmit() 472 if (IP6CB(skb)->frag_max_size && IP6CB(skb)->frag_max_size > mtu) in ip6_pkt_too_big() 488 struct inet6_skb_parm *opt = IP6CB(skb); in ip6_forward() 494 idev = __in6_dev_get_safely(dev_get_by_index_rcu(net, IP6CB(skb)->iif)); in ip6_forward() 582 if (IP6CB(skb)->iif == dst->dev->ifindex && in ip6_forward() [all …]
|
D | xfrm6_input.c | 46 skb_network_header(skb)[IP6CB(skb)->nhoff] = in xfrm6_transport_finish() 165 return xfrm6_rcv_spi(skb, skb_network_header(skb)[IP6CB(skb)->nhoff], in xfrm6_rcv_tnl()
|
D | datagram.c | 444 if (!IP6CB(skb)->iif) in ip6_datagram_support_cmsg() 498 IP6CB(skb)->iif); in ipv6_recv_error() 521 IP6CB(skb)->iif); in ipv6_recv_error() 604 src_info.ipi6_ifindex = IP6CB(skb)->iif; in ip6_datagram_recv_common_ctl() 623 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 | icmp.c | 637 icmp6_send(skb, ICMPV6_PARAMPROB, code, pos, NULL, IP6CB(skb)); in icmpv6_param_prob_reason() 694 info, &temp_saddr, IP6CB(skb2)); in ip6_err_gen_icmpv6_unreach() 697 info, &temp_saddr, IP6CB(skb2)); in ip6_err_gen_icmpv6_unreach() 817 struct inet6_skb_parm *opt = IP6CB(skb); in icmpv6_notify()
|
D | netfilter.c | 63 if (!(IP6CB(skb)->flags & IP6SKB_XFRM_TRANSFORMED) && in ip6_route_me_harder()
|
D | xfrm6_tunnel.c | 219 return skb_network_header(skb)[IP6CB(skb)->nhoff]; in xfrm6_tunnel_input()
|
D | ip6_vti.c | 341 int nexthdr = skb_network_header(skb)[IP6CB(skb)->nhoff]; in vti6_rcv() 574 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in vti6_tnl_xmit()
|
D | esp6_offload.c | 99 IP6CB(skb)->nhoff = nhoff; in esp6_gro_receive()
|
/linux-6.1.9/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()
|
/linux-6.1.9/net/xfrm/ ! |
D | xfrm_output.c | 623 BUILD_BUG_ON(sizeof(*IP6CB(skb)) > SKB_GSO_CB_OFFSET); in xfrm_output_gso() 715 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in xfrm_output() 717 IP6CB(skb)->flags |= IP6SKB_XFRM_TRANSFORMED; in xfrm_output()
|
/linux-6.1.9/net/sched/ ! |
D | sch_frag.c | 121 IP6CB(skb)->frag_max_size = mru; in sch_fragment()
|
/linux-6.1.9/drivers/net/ ! |
D | vrf.c | 500 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in vrf_process_v6_outbound() 692 !(IP6CB(skb)->flags & IP6SKB_REROUTED)); in vrf_output6() 796 IP6CB(skb)->flags & IP6SKB_XFRM_TRANSFORMED) in vrf_ip6_out() 1394 IP6CB(skb)->flags |= IP6SKB_L3SLAVE; in vrf_ip6_rcv() 1425 IP6CB(skb)->flags |= IP6SKB_L3SLAVE; in vrf_ip6_rcv()
|
/linux-6.1.9/net/ipv6/netfilter/ ! |
D | nf_conntrack_reasm.c | 354 IP6CB(skb)->frag_max_size = sizeof(struct ipv6hdr) + fq->q.max_size; in nf_ct_frag6_reasm() 355 IP6CB(skb)->flags |= IP6SKB_FRAGMENTED; in nf_ct_frag6_reasm()
|
/linux-6.1.9/net/ipv4/ ! |
D | ip_vti.c | 295 memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); in vti_tunnel_xmit()
|
/linux-6.1.9/net/netfilter/ ! |
D | nf_flow_table_ip.c | 665 IP6CB(skb)->iif = skb->dev->ifindex; in nf_flow_offload_ipv6_hook() 666 IP6CB(skb)->flags = IP6SKB_FORWARDED; in nf_flow_offload_ipv6_hook()
|
/linux-6.1.9/net/bridge/netfilter/ ! |
D | nf_conntrack_bridge.c | 197 br_skb_cb_restore(skb, &cb, IP6CB(skb)->frag_max_size); in nf_ct_br_defrag6()
|