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

12

/xnu-2422.115.4/bsd/netinet/
H A Dip_input.c597 ip->ip_off = htons(ip->ip_off);
630 ip->ip_off = ntohs(ip->ip_off);
758 ip->ip_off = ntohs(ip->ip_off);
775 ip->ip_p, ip->ip_off, ip->ip_len);
872 NTOHS(ip->ip_off);
1217 if (ip->ip_off & ~(IP_DF | IP_RF)) {
1237 HTONS(ip->ip_off);
[all...]
H A Dip_output.c533 ip->ip_off &= IP_DF;
551 ip->ip_p, ip->ip_off, ip->ip_len);
942 HTONS(ip->ip_off);
973 NTOHS(ip->ip_off);
1150 HTONS(ip->ip_off);
1176 NTOHS(ip->ip_off);
1271 HTONS(ip->ip_off);
1381 NTOHS(ip->ip_off);
1407 HTONS(ip->ip_off);
1429 NTOHS(ip->ip_off);
[all...]
H A Dip.h97 u_short ip_off; /* fragment offset field */ member in struct:ip
H A Dip_fw2.c1239 int ip_off, offset, ip_len; local
1244 ip_off = ntohs(ip->ip_off);
1247 ip_off = ip->ip_off;
1250 offset = ip_off & IP_OFFMASK;
1299 if (ip_off & (IP_MF | IP_OFFMASK))
1303 (ip_off & IP_MF) ? "+" : "");
1902 ip->ip_off = ntohs(ip->ip_off);
[all...]
H A Dip_icmp.c217 if (oip->ip_off &~ (IP_MF|IP_DF))
283 HTONS(nip->ip_off);
1132 if ((ip->ip_off & ~IP_DF) != 0)
H A Dkpi_ipfilter.c316 /* Put ip_len and ip_off in host byte order, ip_output expects that */
320 NTOHS(ip->ip_off);
H A Dip_divert.c390 NTOHS(ip->ip_off);
H A Dip_compat.h570 __u16 ip_off;
H A Dudp_usrreq.c2170 HTONS(ip->ip_off);
2177 NTOHS(ip->ip_off);
H A Draw_ip.c420 ip->ip_off = 0;
H A Digmp.c2539 ip->ip_off = 0;
3931 ip->ip_off = IP_DF;
H A Dip_mroute.c1550 HTONS(ip->ip_off);
H A Dtcp_output.c1924 ip->ip_off |= IP_DF;
H A Dtcp_input.c5411 HTONS(ip->ip_off);
5418 NTOHS(ip->ip_off);
H A Dtcp_subr.c513 ip->ip_off = 0;
/xnu-2422.115.4/bsd/net/
H A Dpf_norm.c503 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3)
513 u_int16_t off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
575 ip->ip_off = htons(ntohs(ip->ip_off) + (precut >> 3));
576 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
591 frea->fr_ip->ip_off = htons(ntohs(frea->fr_ip->ip_off) +
708 u_int16_t off = ntohs(h->ip_off) << 3;
832 h->ip_off = htons(ntohs(h->ip_off)
1546 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.c5284 ip->ip_off = ntohs(ip->ip_off);
5337 ip->ip_off = htons(ip->ip_off);
H A Dif_ipsec.c660 NTOHS(ip->ip_off);
H A Dpf.c2529 * ip_output() expects ip_len and ip_off to be in host order.
2532 h->ip_off = (path_mtu_discovery ? IP_DF : 0);
5377 NTOHS(iphdr->ip_off);
6707 if (h2.ip_off & htons(IP_OFFMASK)) {
7559 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
7791 (!(ip->ip_off & htons(IP_DF)) &&
7808 if ((ip->ip_off & htons(IP_DF)) ||
7821 /* PR-8933605: send ip_len,ip_off to ip_fragment in host byte order */
7823 NTOHS(ip->ip_off);
8199 if (h->ip_off
[all...]
/xnu-2422.115.4/bsd/dev/dtrace/scripts/
H A Dip.d164 ipv4_flags = (ip != NULL) ? (ntohs(ip->ip_off) & 0xe000) : 0;
165 ipv4_offset = (ip != NULL) ? (ntohs(ip->ip_off) & 0x1fff) : 0;
/xnu-2422.115.4/bsd/netinet6/
H A Dah_input.c318 ip->ip_off = htons(ip->ip_off);
329 ip->ip_off = ntohs(ip->ip_off);
H A Dipsec.c1212 if (ip.ip_off & (IP_MF | IP_OFFMASK))
2471 ip->ip_off &= htons(~IP_OFFMASK);
2472 ip->ip_off &= htons(~IP_MF);
2475 ip->ip_off &= htons(~IP_DF);
2478 ip->ip_off |= htons(IP_DF);
2560 ip->ip_off &= htons(~IP_OFFMASK);
2561 ip->ip_off &= htons(~IP_MF);
2564 ip->ip_off &= htons(~IP_DF);
2567 ip->ip_off |= htons(IP_DF);
2739 ip->ip_off
[all...]
H A Dah_core.c1301 iphdr.ip_off = htons(ntohs(iphdr.ip_off) & ip4_ah_offsetmask);
/xnu-2422.115.4/osfmk/kdp/
H A Dkdp_udp.c155 short ip_off; /* fragment offset field */ member in struct:kdp_ip

Completed in 237 milliseconds

12