/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | printiphdr.c | 17 ip->ip_v, ip->ip_hl, ntohs(ip->ip_len), ip->ip_tos,
|
/freebsd-11-stable/sbin/natd/ |
H A D | icmp.c | 77 failHdrLen = (failedDgram->ip_hl << 2); 97 ip->ip_hl = 5;
|
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_util.c | 102 (pip->ip_hl << 2))); 114 nhdr = pip->ip_hl << 2;
|
H A D | alias_ftp.c | 236 hlen = (pip->ip_hl + tc->th_off) << 2; 300 hlen = (pip->ip_hl + tc->th_off) << 2; 676 hlen = (pip->ip_hl + tc->th_off) << 2; 747 AddSeq(lnk, delta + slen - dlen, pip->ip_hl,
|
H A D | alias_smedia.c | 254 hlen = (pip->ip_hl + tc->th_off) << 2; 409 AddSeq(lnk, delta + new_dlen - dlen, pip->ip_hl, pip->ip_len, 495 hlen = (pip->ip_hl + tc->th_off) << 2;
|
H A D | alias_proxy.c | 334 hlen = (pip->ip_hl + tc->th_off) << 2; 356 AddSeq(lnk, delta + slen, pip->ip_hl, pip->ip_len, tc->th_seq, 399 if (pip->ip_hl > (0x0f - OPTION_LEN_INT32)) 435 pip->ip_hl += OPTION_LEN_INT32;
|
H A D | alias_local.h | 350 void AddSeq(struct alias_link *lnk, int delta, u_int ip_hl, 389 return (&p[iphdr->ip_hl * 4]);
|
H A D | alias_irc.c | 181 hlen = (pip->ip_hl + tc->th_off) << 2; 443 AddSeq(lnk, delta + copyat + iCopy - dlen, pip->ip_hl,
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip.h | 51 u_char ip_hl:4, /* header length */ member in struct:ip 56 ip_hl:4; /* header length */ member in struct:ip
|
H A D | ip_icmp.h | 137 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8) 138 /* N.B.: must separately check that ip_hl >= 5 */ 146 #define ICMP_ADVLENPREF(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8 + 8 + 12)
|
H A D | ip_options.c | 122 cnt = (ip->ip_hl << 2) - sizeof (struct ip); 487 olen = (ip->ip_hl << 2) - sizeof(struct ip); 492 ip->ip_hl = sizeof(struct ip) >> 2; 546 ip->ip_hl = *phlen >> 2; 563 cnt = (ip->ip_hl << 2) - sizeof (struct ip); 726 cnt = (ip->ip_hl << 2) - sizeof (struct ip);
|
H A D | ip_reass.c | 207 hlen = ip->ip_hl << 2; 431 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) { 473 ip->ip_len = htons((ip->ip_hl << 2) + next); 479 m->m_len += (ip->ip_hl << 2); 480 m->m_data -= (ip->ip_hl << 2);
|
H A D | ip_output.c | 255 hlen = len; /* ip->ip_hl is updated above */ 263 ip->ip_hl = hlen >> 2; 267 hlen = ip->ip_hl << 2; 570 hlen = ip->ip_hl << 2; 614 sctp_delayed_cksum(m, (uint32_t)(ip->ip_hl << 2)); 737 int hlen = ip->ip_hl << 2; 854 mhip->ip_hl = mhlen >> 2; 912 offset = ip->ip_hl << 2 ;
|
/freebsd-11-stable/tools/tools/netmap/ |
H A D | pkt_hash.c | 163 tcph = (struct tcphdr *)((uint8_t *)iph + (iph->ip_hl<<2)); 170 udph = (struct udphdr *)((uint8_t *)iph + (iph->ip_hl<<2)); 178 rc = decode_ip_n_hash((struct ip *)((uint8_t *)iph + (iph->ip_hl<<2)), 182 rc = decode_gre_hash((uint8_t *)iph + (iph->ip_hl<<2),
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | slcompress.c | 164 register u_int hlen = ip->ip_hl; 200 *(int *) th != ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) { 221 && *(int *) th == ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) 454 hlen = ip->ip_hl << 2; 501 hlen = cs->cs_ip.ip_hl << 2;
|
H A D | tcpmss.c | 157 hlen = pip->ip_hl << 2;
|
/freebsd-11-stable/sys/net/ |
H A D | slcompress.c | 157 u_int hlen = ip->ip_hl; 187 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { 209 ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) 478 hlen = ip->ip_hl << 2; 519 hlen = cs->cs_ip.ip_hl << 2;
|
/freebsd-11-stable/stand/libsa/ |
H A D | ip.c | 113 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ 243 hlen = ip->ip_hl << 2; 357 n += ntohs(ipq->ipq_hdr->ip_len) - (ipq->ipq_hdr->ip_hl << 2); 373 ipr->ip_hdr->ip_hl = sizeof (*ipr->ip_hdr) >> 2; 384 hlen = ipq->ipq_hdr->ip_hl << 2;
|
/freebsd-11-stable/cddl/lib/libdtrace/ |
H A D | ip.d | 229 ntohs(((struct ip *)p)->ip_len) - (((struct ip *)p)->ip_hl << 2): 247 (((struct ip *)m->m_data)->ip_hl << 2): 272 ipv4_ihl = p == NULL ? 0 : p->ip_hl;
|
/freebsd-11-stable/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 69 if (ih->ip_hl != 5)
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | if_fdir.c | 107 ip_hlen = ip->ip_hl << 2;
|
/freebsd-11-stable/sys/netipsec/ |
H A D | udpencap.c | 151 hlen = ip->ip_hl << 2; 226 hlen = ip->ip_hl << 2;
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | dhcp.h | 16 #define ihl ip_hl
|
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.h | 79 #define L3HDR(_ip, _t) ((_t)((uint32_t *)(_ip) + (_ip)->ip_hl))
|
/freebsd-11-stable/sys/kern/ |
H A D | uipc_mbufhash.c | 135 iphlen = ip->ip_hl << 2;
|