Lines Matching refs:hlen
1137 ipfw_log(struct ip_fw *f, u_int hlen, struct ether_header *eh,
1230 if (hlen == 0) { /* non-ip */
2039 * hlen The length of the IPv4 header.
2040 * hlen >0 means we have an IPv4 packet.
2042 u_int hlen = 0; /* hlen >0 means we have an IP pkt */
2101 hlen = ip->ip_hl << 2;
2106 if (hlen == 0) { /* do not grab addresses for non-ip pkts */
2139 PULLUP_TO(hlen + sizeof(struct tcphdr));
2151 PULLUP_TO(hlen + sizeof(struct udphdr));
2159 PULLUP_TO(hlen + 4); /* type, code and checksum. */
2382 match = (hlen > 0 && offset != 0);
2402 match = (hlen > 0 &&
2409 if (hlen > 0) {
2422 if (hlen > 0) {
2432 if (hlen > 0) {
2449 match = (hlen > 0 &&
2455 if (hlen > 0) {
2491 match = (hlen > 0 && ipopts_match(ip, cmd) );
2495 match = (hlen > 0 && cmd->arg1 == ip->ip_v);
2501 if (hlen > 0) { /* only for IP packets */
2525 match = (hlen > 0 &&
2530 match = (hlen > 0 &&
2573 ipfw_log(f, hlen, args->fwa_eh, m, oif);
2724 if (hlen > 0 && offset == 0 &&