Lines Matching full:ipv4
73 gso_fix_segment(uint8_t *pkt, size_t len, u_int ipv4, u_int iphlen, u_int tcp, in gso_fix_segment() argument
81 if (ipv4) { in gso_fix_segment()
82 /* Set the IPv4 "Total Length" field. */ in gso_fix_segment()
86 /* Set the IPv4 "Identification" field. */ in gso_fix_segment()
90 /* Compute and insert the IPv4 header checksum. */ in gso_fix_segment()
126 if (ipv4) in gso_fix_segment()
251 /* Is this an IPv4 or IPv6 GSO packet? */ in bdg_mismatch_datapath()
252 u_int ipv4 = 0; in bdg_mismatch_datapath() local
253 /* Length of the IP header (20 if IPv4, 40 if IPv6). */ in bdg_mismatch_datapath()
279 * is IPv4 or IPv6, taking into account VLAN in bdg_mismatch_datapath()
293 case 0x0800: /* IPv4 */ in bdg_mismatch_datapath()
300 "[IPv4], dropping"); in bdg_mismatch_datapath()
303 ipv4 = 1; in bdg_mismatch_datapath()
308 ipv4 = 0; in bdg_mismatch_datapath()
384 ipv4, iphlen, tcp, in bdg_mismatch_datapath()