Searched refs:ip_hl (Results 1 - 24 of 24) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip.h | 86 u_int ip_hl:4, /* header length */ 91 ip_hl:4; /* header length */
|
H A D | ip_icmp.h | 155 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8) 156 /* N.B.: must separately check that ip_hl >= 5 */
|
H A D | ip_compat.h | 104 #define IPMINLEN(i, h) ((i)->ip_len >= ((i)->ip_hl * 4 + sizeof(struct h))) 561 __u8 ip_hl:4; 564 __u8 ip_hl:4;
|
H A D | ip_mroute.c | 1083 if (ip->ip_hl < (IP_HDR_LEN + TUNNEL_LEN) >> 2 || 1152 int hlen = ip->ip_hl << 2; 1388 int hlen = ip->ip_hl << 2; 1484 int hlen = ip->ip_hl << 2; 1563 ip->ip_sum = in_cksum(mb_copy, ip->ip_hl << 2); 1586 int hlen = ip->ip_hl << 2; 1899 struct udphdr *udp = (struct udphdr *)(((char *)ip) + (ip->ip_hl << 2));
|
H A D | ip_divert.c | 369 if (((ip->ip_hl != (sizeof (*ip) >> 2)) && inp->inp_options) ||
|
H A D | ip_output.c | 1236 hlen = ip->ip_hl << 2; 1840 hlen = ip->ip_hl << 2; 2129 hlen = ip->ip_hl << 2;
|
H A D | in_dhcp.c | 186 pkt->ip.ip_hl = sizeof(struct ip) >> 2;
|
H A D | ip_fw2.c | 374 #define L3HDR(T, ip) ((T *)((u_int32_t *)(ip) + (ip)->ip_hl)) 874 int x = (ip->ip_hl << 2) - sizeof (struct ip); 1222 ntohs(ip->ip_id), ip_len - (ip->ip_hl << 2), 2022 hlen = ip->ip_hl << 2;
|
H A D | tcp_lro.c | 770 ip_proto_dispatch_in_wrapper(m, ip_hdr->ip_hl << 2, ip_hdr->ip_p);
|
H A D | udp_usrreq.c | 898 bcopy(((caddr_t)ip + (ip->ip_hl << 2)), &uh, sizeof (uh));
|
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_udp.h | 117 #define ip_hl ip_vhltl.ip_x.ip_xhl macro
|
H A D | kdp_udp.c | 511 ip->ip_hl = sizeof (struct ip) >> 2; 514 ip->ip_sum = htons(~ip_sum((unsigned char *)ip, ip->ip_hl)); 581 ip->ip_hl = sizeof (struct ip) >> 2; 584 ip->ip_sum = htons(~ip_sum((unsigned char *)ip, ip->ip_hl)); 885 if (ip->ip_hl > (sizeof (struct ip) >> 2)) { 1459 ip->ip_hl = sizeof (struct ip) >> 2; 1462 ip->ip_sum = htons(~ip_sum((unsigned char *)ip, ip->ip_hl));
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_norm.c | 508 int hlen = ip->ip_hl << 2; 510 u_int16_t ip_len = ntohs(ip->ip_len) - ip->ip_hl * 4; 560 FR_IP_OFF(frep) + ntohs(frep->fr_ip->ip_len) - frep->fr_ip->ip_hl * 565 frep->fr_ip->ip_hl * 4 - off; 583 if (aftercut < ntohs(frea->fr_ip->ip_len) - frea->fr_ip->ip_hl 623 off += ntohs(frep->fr_ip->ip_len) - frep->fr_ip->ip_hl * 4; 639 if ((frent->fr_ip->ip_hl << 2) + off > IP_MAXPACKET) { 671 hlen = ip->ip_hl << 2; 702 int ip_len = ntohs(h->ip_len) - (h->ip_hl << 2); 806 *m0 = m_copym(m, 0, h->ip_hl << [all...] |
H A D | if_pflog.c | 340 ip->ip_sum = in_cksum(m, ip->ip_hl << 2);
|
H A D | pf.c | 2493 h->ip_hl = sizeof (*h) >> 2; 6648 off2 = ipoff2 + (h2.ip_hl << 2); 7731 u_short offset = ((ip->ip_hl) << 2) + 14; 7765 ip->ip_sum = in_cksum(m0, ip->ip_hl << 2); 8136 off = h->ip_hl << 2; 8413 if (action == PF_PASS && h->ip_hl > 5 && 8420 (unsigned int) h->ip_hl));
|
H A D | if_bridge.c | 4911 hlen = ip->ip_hl << 2; 5031 hlen = ip->ip_hl << 2;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ah_output.c | 246 hlen = ip->ip_hl << 2; 571 hlen = ip->ip_hl << 2;
|
H A D | ipcomp_input.c | 125 hlen = ip->ip_hl << 2;
|
H A D | ipcomp_output.c | 259 hlen = ip->ip_hl << 2;
|
H A D | ipsec.c | 1045 off = ip.ip_hl << 2; 2241 hlen = ip->ip_hl << 2; 2290 ip->ip_hl = sizeof(struct ip) >> 2; 2383 ip->ip_hl = sizeof(*ip) >> 2; 2564 ip->ip_hl = sizeof(struct ip) >> 2; 3066 hlen = ip->ip_hl << 2; 3862 hlen = ip->ip_hl << 2; 3962 hlen = oip->ip_hl << 2;
|
H A D | esp_output.c | 378 hlen = ip->ip_hl << 2;
|
H A D | ah_input.c | 178 hlen = ip->ip_hl << 2;
|
H A D | esp_input.c | 216 hlen = ip->ip_hl << 2;
|
H A D | ah_core.c | 1295 hlen = iphdr.ip_hl << 2;
|
Completed in 132 milliseconds