Lines Matching full:ipv4
76 // Maximum IPv6 payload length that can be translated to IPv4 in sched_cls_ingress6_nat_6_prog()
108 // Calculate the IPv4 one's complement checksum of the IPv4 header. in sched_cls_ingress6_nat_6_prog()
144 // Copy over the new ipv4 header. in sched_cls_ingress6_nat_6_prog()
158 // Must be meta-ethernet IPv4 frame in sched_cls_egress4_snat4_prog()
162 // Must have ipv4 header in sched_cls_egress4_snat4_prog()
166 // Ethertype - if present - must be IPv4 in sched_cls_egress4_snat4_prog()
174 // We cannot handle IP options, just standard 20 byte == 5 dword minimal IPv4 header in sched_cls_egress4_snat4_prog()
178 // Maximum IPv6 payload length that can be translated to IPv4 in sched_cls_egress4_snat4_prog()
182 // Calculate the IPv4 one's complement checksum of the IPv4 header. in sched_cls_egress4_snat4_prog()
195 // Minimum IPv4 total length is the size of the header in sched_cls_egress4_snat4_prog()
199 // We are incapable of dealing with IPv4 fragments in sched_cls_egress4_snat4_prog()
213 // If IPv4/UDP checksum is 0 then fallback to clatd so it can calculate the in sched_cls_egress4_snat4_prog()
259 // thus we need to subtract out the ipv4 header's sum, and add in the ipv6 header's sum. in sched_cls_egress4_snat4_prog()
260 // However, we've already verified the ipv4 checksum is correct and thus 0. in sched_cls_egress4_snat4_prog()
280 // Copy over the new ipv4 header. in sched_cls_egress4_snat4_prog()