/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | ip_var.h | 50 u_char ip_hl:4, member in struct:ipasfrag 55 ip_hl:4; member in struct:ipasfrag
|
/freebsd-9.3-release/sys/netinet/ |
H A D | ip_gre.c | 259 if (m->m_len < (ip->ip_hl << 2) + msiz) { 260 m = m_pullup(m, (ip->ip_hl << 2) + msiz); 275 bcopy((caddr_t)(ip) + (ip->ip_hl << 2) + msiz, (caddr_t)(ip) + 276 (ip->ip_hl << 2), m->m_len - msiz - (ip->ip_hl << 2)); 290 ip->ip_sum = in_cksum(m, (ip->ip_hl << 2));
|
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_options.c | 117 cnt = (ip->ip_hl << 2) - sizeof (struct ip); 470 olen = (ip->ip_hl << 2) - sizeof (struct ip); 478 ip->ip_hl = sizeof(struct ip) >> 2; 529 ip->ip_hl = *phlen >> 2; 546 cnt = (ip->ip_hl << 2) - sizeof (struct ip); 709 cnt = (ip->ip_hl << 2) - sizeof (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 */
|
H A D | ip_icmp.c | 211 register unsigned oiphlen = oip->ip_hl << 2; 343 nip->ip_hl = 5; 501 icp->icmp_ip.ip_hl < (sizeof(struct ip) >> 2)) { 629 icp->icmp_ip.ip_hl < (sizeof(struct ip) >> 2)) { 698 int optlen = (ip->ip_hl << 2) - sizeof(struct ip); 872 ip->ip_hl = 5; 899 hlen = ip->ip_hl << 2;
|
H A D | ip_output.c | 172 hlen = len; /* ip->ip_hl is updated above */ 189 ip->ip_hl = hlen >> 2; 194 hlen = ip->ip_hl << 2; 495 hlen = ip->ip_hl << 2; 589 sctp_delayed_cksum(m, (uint32_t)(ip->ip_hl << 2)); 699 int hlen = ip->ip_hl << 2; 802 mhip->ip_hl = mhlen >> 2; 864 offset = ip->ip_hl << 2 ;
|
H A D | ip_input.c | 397 hlen = ip->ip_hl << 2; 418 hlen = ip->ip_hl << 2; 736 hlen = ip->ip_hl << 2; 859 hlen = ip->ip_hl << 2; 1083 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) { 1124 ip->ip_len = (ip->ip_hl << 2) + next; 1130 m->m_len += (ip->ip_hl << 2); 1131 m->m_data -= (ip->ip_hl << 2);
|
/freebsd-9.3-release/sbin/natd/ |
H A D | icmp.c | 77 failHdrLen = (failedDgram->ip_hl << 2); 97 ip->ip_hl = 5;
|
/freebsd-9.3-release/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 | 332 hlen = (pip->ip_hl + tc->th_off) << 2; 354 AddSeq(lnk, delta + slen, pip->ip_hl, pip->ip_len, tc->th_seq, 397 if (pip->ip_hl > (0x0f - OPTION_LEN_INT32)) 433 pip->ip_hl += OPTION_LEN_INT32;
|
H A D | alias_irc.c | 182 hlen = (pip->ip_hl + tc->th_off) << 2; 444 AddSeq(lnk, delta + copyat + iCopy - dlen, pip->ip_hl,
|
H A D | alias_local.h | 344 void AddSeq(struct alias_link *lnk, int delta, u_int ip_hl, 383 return (&p[iphdr->ip_hl * 4]);
|
/freebsd-9.3-release/contrib/ipfilter/ipsd/Celler/ |
H A D | ip_compat.h | 162 __u8 ip_hl:4; member in struct:__anon1600 165 __u8 ip_hl:4;
|
/freebsd-9.3-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 164 __u8 ip_hl:4; member in struct:__anon1607 167 __u8 ip_hl:4;
|
/freebsd-9.3-release/contrib/ipfilter/ipsd/ |
H A D | slinux.c | 56 bcopy(bp + (ip.ip_hl << 2), (char *)tcp, sizeof(*tcp));
|
H A D | sbpf.c | 80 bcopy(ep + 14 + (ip->ip_hl << 2), (char *)tcp, sizeof(*tcp));
|
/freebsd-9.3-release/sys/net/ |
H A D | slcompress.c | 162 register u_int hlen = ip->ip_hl; 192 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { 214 ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) 492 hlen = ip->ip_hl << 2; 533 hlen = cs->cs_ip.ip_hl << 2;
|
/freebsd-9.3-release/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 | 155 hlen = pip->ip_hl << 2;
|
/freebsd-9.3-release/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 69 if (ih->ip_hl != 5)
|
/freebsd-9.3-release/lib/libstand/ |
H A D | udp.c | 91 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ 191 hlen = ip->ip_hl << 2;
|
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_frag.c | 97 iph->ip_sum = in_cksum_skip(mb, iph->ip_hl * 4, 137 ip_hlen = iph->ip_hl * 4;
|