/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | printiphdr.c | 18 ntohs(ip->ip_off), ntohs(ip->ip_sum), ntohl(ip->ip_src.s_addr),
|
H A D | printpacket.c | 73 off = ntohs(ip->ip_off);
|
/freebsd-10.0-release/contrib/ipfilter/ipsend/ |
H A D | iptests.c | 143 ip->ip_off = 0; 291 printf("1.7.0 Zero length fragments (ip_off = 0x2000)\n"); 294 ip->ip_off = htons(IP_MF); 299 printf("1.7.1 Zero length fragments (ip_off = 0x3000)\n"); 302 ip->ip_off = htons(IP_MF); 307 printf("1.7.2 Zero length fragments (ip_off = 0xa000)\n"); 310 ip->ip_off = htons(0xa000); 315 printf("1.7.3 Zero length fragments (ip_off = 0x0100)\n"); 318 ip->ip_off = htons(0x0100); 336 ip->ip_off [all...] |
H A D | ip.c | 208 ip->ip_off |= htons(IP_MF); 214 ip->ip_off ^= htons(IP_MF); 219 ip->ip_off &= htons(0xe000); 220 ip->ip_off |= htons(sent >> 3); 231 if (!(ntohs(ip->ip_off) & IP_MF)) 233 else if (!(ip->ip_off & htons(0x1fff))) 282 if ((t2->th_flags == TH_SYN) && !ntohs(ip->ip_off) &&
|
H A D | resend.c | 50 if (ip->ip_off & 0x3fff) 51 printf("frag @%#x ", (ip->ip_off & 0x1fff) << 3);
|
/freebsd-10.0-release/sys/boot/arm/at91/libat91/ |
H A D | emac.h | 78 unsigned short ip_off; member in struct:__anon5954
|
/freebsd-10.0-release/sys/netinet/ |
H A D | ip_output.c | 132 uint16_t ip_len, ip_off; local 180 ip_off = ntohs(ip->ip_off); 604 ((ip_off & IP_DF) == 0 && (ifp->if_hwassist & CSUM_FRAGMENT))) { 641 if ((ip_off & IP_DF) || (m->m_pkthdr.csum_flags & CSUM_TSO)) { 710 uint16_t ip_len, ip_off; local 713 ip_off = ntohs(ip->ip_off); 715 if (ip_off & IP_DF) { /* Fragmentation not allowed */ 813 /* XXX do we need to add ip_off belo [all...] |
H A D | ip_input.c | 738 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { 915 if (ip->ip_off & htons(IP_MF)) { 927 ip->ip_off = htons(ntohs(ip->ip_off) << 3); 999 if (ntohs(GETIP(q)->ip_off) > ntohs(ip->ip_off)) 1012 i = ntohs(GETIP(p)->ip_off) + ntohs(GETIP(p)->ip_len) - 1013 ntohs(ip->ip_off); 1019 ip->ip_off = htons(ntohs(ip->ip_off) [all...] |
H A D | ip_fastfwd.c | 170 uint16_t sum, ip_len, ip_off; local 488 ip_off = ntohs(ip->ip_off); 529 (ifp->if_hwassist & CSUM_FRAGMENT && (ip_off & IP_DF) == 0)) { 544 if (ip_off & IP_DF) {
|
H A D | ip.h | 61 u_short ip_off; /* fragment offset field */ member in struct:ip
|
H A D | raw_ip.c | 293 ip->ip_off = ntohs(ip->ip_off); 450 ip->ip_off = htons(IP_DF); 452 ip->ip_off = htons(0); 510 ip->ip_off = htons(ip->ip_off);
|
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 132 ip->ip_off = htons(ip->ip_off); 140 ip->ip_off = ntohs(ip->ip_off); 469 ip->ip_off = htons(path_mtu_discovery ? IP_DF : 0); 471 ip->ip_off = 0; 714 u_short ip_off; local 858 ip_off = ntohs(ip->ip_off); 859 if (ip_off [all...] |
/freebsd-10.0-release/sys/netpfil/pf/ |
H A D | pf_norm.c | 356 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3) 366 u_int16_t off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; 431 ip->ip_off = htons(ntohs(ip->ip_off) + (precut >> 3)); 432 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; 449 frea->fr_ip->ip_off = htons(ntohs(frea->fr_ip->ip_off) + 567 u_int16_t off = ntohs(h->ip_off) << 3; 696 h->ip_off = htons(ntohs(h->ip_off) 877 int ip_off; local 924 u_int16_t ip_off = h->ip_off; local 1060 u_int16_t ip_off = h->ip_off; local 1954 u_int16_t ip_off = h->ip_off; local [all...] |
/freebsd-10.0-release/sys/netipsec/ |
H A D | xform_ipip.c | 491 offsetof(struct ip, ip_off), 492 sizeof(u_int16_t), (caddr_t) &ipo->ip_off); 493 ipo->ip_off = ntohs(ipo->ip_off); 494 ipo->ip_off &= ~(IP_DF | IP_MF | IP_OFFMASK); 495 ipo->ip_off = htons(ipo->ip_off); 508 ipo->ip_off = 0;
|
H A D | ipsec_output.c | 479 setdf = ntohs(ip->ip_off & IP_DF); 548 ip->ip_off = ntohs(ip->ip_off); 549 ip->ip_off |= IP_DF; 550 ip->ip_off = htons(ip->ip_off);
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | ip.h | 46 * We declare ip_len and ip_off to be short, rather than u_short 57 u_int16_t ip_off; /* fragment offset field */ member in struct:ip
|
/freebsd-10.0-release/contrib/traceroute/ |
H A D | rip_output.c | 44 ip->ip_off = 0;
|
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_frag.c | 95 iph->ip_off = htons(more | (session->offset >> 3)); 139 offset = ntohs(iph->ip_off); 173 if (!(ntohs(iph->ip_off) & IP_MF))
|
/freebsd-10.0-release/sbin/natd/ |
H A D | icmp.c | 54 if (ntohs (failedDgram->ip_off) & ~(IP_MF | IP_DF))
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | tcpmss.c | 161 if (pip->ip_p == IPPROTO_TCP && (ntohs(pip->ip_off) & IP_OFFMASK) == 0 &&
|
/freebsd-10.0-release/cddl/lib/libdtrace/ |
H A D | ip.d | 258 ipv4_flags = p == NULL ? 0 : (p->ip_off & 0xe000); 259 ipv4_offset = p == NULL ? 0 : p->ip_off;
|
/freebsd-10.0-release/contrib/ipfilter/ipsd/Celler/ |
H A D | ip_compat.h | 171 __u16 ip_off; member in struct:__anon1497
|
/freebsd-10.0-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 173 __u16 ip_off; member in struct:__anon1504
|
/freebsd-10.0-release/contrib/ipfilter/ |
H A D | mli_ipl.c | 276 ip->ip_off = htons(ip->ip_off); 282 ip->ip_off = ntohs(ip->ip_off);
|
/freebsd-10.0-release/sys/dev/nxge/xgehal/ |
H A D | xgehal-device-fp.c | 900 u8 ip_off, ip_length; local 924 ip_off = XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE; 927 ip_off = (XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE + 931 ip_off = (XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE + 940 ip_off += XGE_HAL_HEADER_VLAN_SIZE; 944 *ip = (iplro_t *)((char*)buffer + ip_off);
|