Searched refs:ip_off (Results 1 - 22 of 22) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_input.c | 620 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 D | ip_output.c | 512 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 D | ip.h | 97 u_short ip_off; /* fragment offset field */ member in struct:ip
|
H A D | ip_fw2.c | 1160 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 D | ip_icmp.c | 222 if (oip->ip_off &~ (IP_MF|IP_DF)) 288 HTONS(nip->ip_off); 1114 if ((ip->ip_off & ~IP_DF) != 0)
|
H A D | kpi_ipfilter.c | 318 /* Put ip_len and ip_off in host byte order, ip_output expects that */ 322 NTOHS(ip->ip_off);
|
H A D | ip_divert.c | 378 NTOHS(ip->ip_off);
|
H A D | ip_compat.h | 570 __u16 ip_off;
|
H A D | raw_ip.c | 393 ip->ip_off = 0;
|
H A D | igmp.c | 2425 ip->ip_off = 0; 3770 ip->ip_off = IP_DF;
|
H A D | ip_mroute.c | 1558 HTONS(ip->ip_off);
|
H A D | tcp_output.c | 1754 ip->ip_off |= IP_DF;
|
H A D | tcp_subr.c | 512 ip->ip_off = 0;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_norm.c | 499 #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 D | pf_osfp.c | 130 if ((ip->ip_off & htons(IP_OFFMASK)) != 0) 139 if (ip->ip_off & htons(IP_DF))
|
H A D | if_bridge.c | 4869 ip->ip_off = ntohs(ip->ip_off); 4922 ip->ip_off = htons(ip->ip_off);
|
H A D | pf.c | 2496 * 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 D | pf_ioctl.c | 4821 HTONS(ip->ip_off); 4837 NTOHS(ip->ip_off);
|
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_udp.h | 107 short ip_off; /* fragment offset field */ member in struct:ip
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ah_input.c | 319 ip->ip_off = htons(ip->ip_off); 330 ip->ip_off = ntohs(ip->ip_off);
|
H A D | ipsec.c | 1038 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 D | ah_core.c | 1301 iphdr.ip_off = htons(ntohs(iphdr.ip_off) & ip4_ah_offsetmask);
|
Completed in 162 milliseconds