Home
last modified time | relevance | path

Searched refs:IP_HL (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_compat.h698 #ifndef IP_HL
699 # define IP_HL(x) (x)->ip_hl macro
716 #define IPMINLEN(i, h) ((i)->ip_len >= (IP_HL(i) * 4 + sizeof(struct h)))
H A Dip_state.c2713 if (fin->fin_plen < ICMPERR_MAXPKTLEN + ((IP_HL(oip) - 5) << 2)) {
2722 if ((len <= 0) || ((IP_HL(oip) << 2) > len)) {
2785 (void) ipf_makefrip(IP_HL(oip) << 2, oip, &ofin);
2827 icmp = (icmphdr_t *)((char *)oip + (IP_HL(oip) << 2));
2856 tcp = (tcphdr_t *)((char *)oip + (IP_HL(oip) << 2));
H A Dip_nat.c3643 minlen = IP_HL(oip) << 2;
3691 orgicmp = (icmphdr_t *)((char *)oip + (IP_HL(oip) << 2));
3730 tcp = (tcphdr_t *)((char *)oip + (IP_HL(oip) << 2));
3805 dp = (((char *)oip) + (IP_HL(oip) << 2));
7473 hlen = IP_HL(fin->fin_ip) << 2;
H A Dfil.c1447 off = IP_HL(ip) << 2;
3424 hlen = IP_HL(ip) << 2;
8590 hlen = IP_HL(ip) << 2;