Searched refs:ip_off (Results 1 - 22 of 22) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dip_input.c620 ip->ip_off = htons(ip->ip_off);
653 ip->ip_off = ntohs(ip->ip_off);
776 ip->ip_off = ntohs(ip->ip_off);
793 ip->ip_src.s_addr, ip->ip_p, ip->ip_off, ip->ip_len);
876 NTOHS(ip->ip_off);
1204 if (ip->ip_off & (IP_MF | IP_OFFMASK | IP_RF)) {
1277 if (ip->ip_off
[all...]
H A Dip_output.c512 ip->ip_off &= IP_DF;
534 ip->ip_src.s_addr, ip->ip_p, ip->ip_off, ip->ip_len);
870 HTONS(ip->ip_off);
898 NTOHS(ip->ip_off);
1074 HTONS(ip->ip_off);
1100 NTOHS(ip->ip_off);
1181 HTONS(ip->ip_off);
1280 NTOHS(ip->ip_off);
1306 HTONS(ip->ip_off);
1329 NTOHS(ip->ip_off);
[all...]
H A Dip.h97 u_short ip_off; /* fragment offset field */ member in struct:ip
H A Dip_fw2.c1160 int ip_off, offset, ip_len; local
1165 ip_off = ntohs(ip->ip_off);
1168 ip_off = ip->ip_off;
1171 offset = ip_off & IP_OFFMASK;
1220 if (ip_off & (IP_MF | IP_OFFMASK))
1224 (ip_off & IP_MF) ? "+" : "");
1822 ip->ip_off = ntohs(ip->ip_off);
[all...]
H A Dip_icmp.c222 if (oip->ip_off &~ (IP_MF|IP_DF))
288 HTONS(nip->ip_off);
1114 if ((ip->ip_off & ~IP_DF) != 0)
H A Dkpi_ipfilter.c318 /* Put ip_len and ip_off in host byte order, ip_output expects that */
322 NTOHS(ip->ip_off);
H A Dip_divert.c378 NTOHS(ip->ip_off);
H A Dip_compat.h570 __u16 ip_off;
H A Draw_ip.c393 ip->ip_off = 0;
H A Digmp.c2425 ip->ip_off = 0;
3770 ip->ip_off = IP_DF;
H A Dip_mroute.c1558 HTONS(ip->ip_off);
H A Dtcp_output.c1754 ip->ip_off |= IP_DF;
H A Dtcp_subr.c512 ip->ip_off = 0;
/darwin-on-arm/xnu/bsd/net/
H A Dpf_norm.c499 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3)
509 u_int16_t off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
571 ip->ip_off = htons(ntohs(ip->ip_off) + (precut >> 3));
572 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
587 frea->fr_ip->ip_off = htons(ntohs(frea->fr_ip->ip_off) +
703 u_int16_t off = ntohs(h->ip_off) << 3;
827 h->ip_off = htons(ntohs(h->ip_off)
1539 int ip_off; local
[all...]
H A Dpf_osfp.c130 if ((ip->ip_off & htons(IP_OFFMASK)) != 0)
139 if (ip->ip_off & htons(IP_DF))
H A Dif_bridge.c4869 ip->ip_off = ntohs(ip->ip_off);
4922 ip->ip_off = htons(ip->ip_off);
H A Dpf.c2496 * ip_output() expects ip_len and ip_off to be in host order.
2499 h->ip_off = (path_mtu_discovery ? IP_DF : 0);
5323 NTOHS(iphdr->ip_off);
6642 if (h2.ip_off & htons(IP_OFFMASK)) {
7482 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
7774 if (ip->ip_off & htons(IP_DF)) {
7786 /* PR-8933605: send ip_len,ip_off to ip_fragment in host byte order */
7788 NTOHS(ip->ip_off);
8165 if (h->ip_off & htons(IP_MF | IP_OFFMASK)) {
H A Dpf_ioctl.c4821 HTONS(ip->ip_off);
4837 NTOHS(ip->ip_off);
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_udp.h107 short ip_off; /* fragment offset field */ member in struct:ip
/darwin-on-arm/xnu/bsd/netinet6/
H A Dah_input.c319 ip->ip_off = htons(ip->ip_off);
330 ip->ip_off = ntohs(ip->ip_off);
H A Dipsec.c1038 if (ip.ip_off & (IP_MF | IP_OFFMASK))
2292 ip->ip_off &= htons(~IP_OFFMASK);
2293 ip->ip_off &= htons(~IP_MF);
2296 ip->ip_off &= htons(~IP_DF);
2299 ip->ip_off |= htons(IP_DF);
2385 ip->ip_off &= htons(~IP_OFFMASK);
2386 ip->ip_off &= htons(~IP_MF);
2389 ip->ip_off &= htons(~IP_DF);
2392 ip->ip_off |= htons(IP_DF);
2568 ip->ip_off
[all...]
H A Dah_core.c1301 iphdr.ip_off = htons(ntohs(iphdr.ip_off) & ip4_ah_offsetmask);

Completed in 162 milliseconds