Lines Matching defs:hlen
1058 ipfw_log(struct ip_fw *f, u_int hlen, struct ether_header *eh,
1151 if (hlen == 0) { /* non-ip */
1960 * hlen The length of the IPv4 header.
1961 * hlen >0 means we have an IPv4 packet.
1963 u_int hlen = 0; /* hlen >0 means we have an IP pkt */
2022 hlen = ip->ip_hl << 2;
2027 if (hlen == 0) { /* do not grab addresses for non-ip pkts */
2060 PULLUP_TO(hlen + sizeof(struct tcphdr));
2072 PULLUP_TO(hlen + sizeof(struct udphdr));
2080 PULLUP_TO(hlen + 4); /* type, code and checksum. */
2303 match = (hlen > 0 && offset != 0);
2323 match = (hlen > 0 &&
2330 if (hlen > 0) {
2343 if (hlen > 0) {
2353 if (hlen > 0) {
2370 match = (hlen > 0 &&
2376 if (hlen > 0) {
2412 match = (hlen > 0 && ipopts_match(ip, cmd) );
2416 match = (hlen > 0 && cmd->arg1 == ip->ip_v);
2422 if (hlen > 0) { /* only for IP packets */
2446 match = (hlen > 0 &&
2451 match = (hlen > 0 &&
2494 ipfw_log(f, hlen, args->fwa_eh, m, oif);
2645 if (hlen > 0 && offset == 0 &&