/freebsd-10.2-release/sys/dev/sge/ |
H A D | if_sge.c | 1406 uint32_t ip_off, poff; local 1418 ip_off = sizeof(struct ether_header); 1419 m = m_pullup(*m_head, ip_off); 1427 ip_off = sizeof(struct ether_vlan_header); 1428 m = m_pullup(m, ip_off); 1434 m = m_pullup(m, ip_off + sizeof(struct ip)); 1439 ip = (struct ip *)(mtod(m, char *) + ip_off); 1440 poff = ip_off + (ip->ip_hl << 2); 1456 ip = (struct ip *)(mtod(m, char *) + ip_off);
|
/freebsd-10.2-release/sys/dev/e1000/ |
H A D | if_em.c | 1883 int ip_off, poff; local 1890 ip_off = poff = 0; 1924 ip_off = sizeof(struct ether_header); 1925 m_head = m_pullup(m_head, ip_off); 1932 ip_off = sizeof(struct ether_vlan_header); 1933 m_head = m_pullup(m_head, ip_off); 1939 m_head = m_pullup(m_head, ip_off + sizeof(struct ip)); 1944 ip = (struct ip *)(mtod(m_head, char *) + ip_off); 1945 poff = ip_off + (ip->ip_hl << 2); 1962 ip = (struct ip *)(mtod(m_head, char *) + ip_off); 3726 em_transmit_checksum_setup(struct tx_ring *txr, struct mbuf *mp, int ip_off, struct ip *ip, u32 *txd_upper, u32 *txd_lower) argument 3863 em_tso_setup(struct tx_ring *txr, struct mbuf *mp, int ip_off, struct ip *ip, struct tcphdr *tp, u32 *txd_upper, u32 *txd_lower) argument [all...] |
/freebsd-10.2-release/usr.sbin/ppp/ |
H A D | slcompress.c | 177 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) { 178 log_Printf(LogDEBUG, "??? 1 ip_off = %x, m_len = %lu\n", 179 ip->ip_off, (unsigned long)m->m_len);
|
H A D | ip.c | 257 len = ntohs(pip->ip_off) & IP_OFFMASK; /* fragment offset */ 605 frag = ntohs(pip->ip_off) & IP_OFFMASK;
|
/freebsd-10.2-release/sys/dev/mxge/ |
H A D | if_mxge.c | 1785 pi->ip_off = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; 1788 pi->ip_off = ETHER_HDR_LEN; 1797 pi->ip = (struct ip *)(m->m_data + pi->ip_off); 1799 if (__predict_false(m->m_len < pi->ip_off + sizeof(*pi->ip))) { 1800 m_copydata(m, 0, pi->ip_off + sizeof(*pi->ip), 1802 pi->ip = (struct ip *)(ss->scratch + pi->ip_off); 1808 if (__predict_false(m->m_len < pi->ip_off + pi->ip_hlen + 1810 m_copydata(m, 0, pi->ip_off + pi->ip_hlen + 1812 pi->ip = (struct ip *)(ss->scratch + pi->ip_off); 1818 pi->ip6 = (struct ip6_hdr *)(m->m_data + pi->ip_off); [all...] |
H A D | if_mxge_var.h | 323 int ip_off; member in struct:mxge_pkt_info
|
/freebsd-10.2-release/sbin/dhclient/ |
H A D | packet.c | 122 ip.ip_off = 0;
|
/freebsd-10.2-release/contrib/ipfilter/ipsd/ |
H A D | sdlpi.c | 74 if (ip->ip_off & 0x1fff != 0)
|
H A D | snit.c | 68 if (ip->ip_off & 0x1fff != 0)
|
/freebsd-10.2-release/sys/contrib/altq/altq/ |
H A D | altq_subr.c | 1156 u_short ip_off; local 1164 ip_off = ntohs(ip->ip_off); 1166 if (ip_off & IP_OFFMASK) { 1240 if (ip_off & IP_MF) 1925 if ((ntohs(ip->ip_off) & IP_MF) == 0)
|
/freebsd-10.2-release/sys/netpfil/pf/ |
H A D | pf_osfp.c | 99 if ((ip->ip_off & htons(IP_OFFMASK)) != 0) 108 if (ip->ip_off & htons(IP_DF))
|
/freebsd-10.2-release/contrib/ipfilter/ipsend/ |
H A D | ipsend.c | 291 ip->ip_off = strtol(optarg, NULL, 0);
|
/freebsd-10.2-release/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 243 iph->ip_off = 0;
|
/freebsd-10.2-release/sys/dev/fxp/ |
H A D | if_fxp.c | 1447 uint32_t ip_off, poff; local 1459 ip_off = sizeof(struct ether_header); 1460 m = m_pullup(*m_head, ip_off); 1468 ip_off = sizeof(struct ether_vlan_header); 1469 m = m_pullup(m, ip_off); 1475 m = m_pullup(m, ip_off + sizeof(struct ip)); 1480 ip = (struct ip *)(mtod(m, char *) + ip_off); 1481 poff = ip_off + (ip->ip_hl << 2); 1498 ip = (struct ip *)(mtod(m, char *) + ip_off); 1507 tcp_payload = m->m_pkthdr.len - ip_off [all...] |
/freebsd-10.2-release/sys/dev/ale/ |
H A D | if_ale.c | 1615 uint32_t cflags, hdrlen, ip_off, poff, vtag; local 1626 ip_off = poff = 0; 1667 ip_off = sizeof(struct ether_header); 1668 m = m_pullup(m, ip_off); 1679 ip_off = sizeof(struct ether_vlan_header); 1680 m = m_pullup(m, ip_off); 1686 m = m_pullup(m, ip_off + sizeof(struct ip)); 1691 ip = (struct ip *)(mtod(m, char *) + ip_off); 1692 poff = ip_off + (ip->ip_hl << 2); 1708 ip = (struct ip *)(mtod(m, char *) + ip_off); [all...] |
/freebsd-10.2-release/sys/dev/age/ |
H A D | if_age.c | 1501 uint32_t cflags, hdrlen, ip_off, poff, vtag; local 1512 ip_off = poff = 0; 1536 ip_off = sizeof(struct ether_header); 1537 m = m_pullup(m, ip_off); 1548 ip_off = sizeof(struct ether_vlan_header); 1549 m = m_pullup(m, ip_off); 1555 m = m_pullup(m, ip_off + sizeof(struct ip)); 1560 ip = (struct ip *)(mtod(m, char *) + ip_off); 1561 poff = ip_off + (ip->ip_hl << 2); 1588 ip = (struct ip *)(mtod(m, char *) + ip_off); [all...] |
/freebsd-10.2-release/sbin/ping/ |
H A D | ping.c | 652 ip->ip_off = df ? IP_DF : 0; 1583 (u_long) (ntohl(ip->ip_off) & 0xe000) >> 13, 1584 (u_long) ntohl(ip->ip_off) & 0x1fff);
|
/freebsd-10.2-release/sys/netpfil/ipfw/ |
H A D | ip_fw_pfil.c | 432 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) {
|
/freebsd-10.2-release/sys/net/ |
H A D | if_spppfr.c | 338 if (! (ip->ip_off & ~IP_DF) && ip->ip_len > 400 &&
|
H A D | slcompress.c | 176 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40)
|
/freebsd-10.2-release/sys/dev/jme/ |
H A D | if_jme.c | 1711 uint32_t ip_off, poff; local 1723 ip_off = sizeof(struct ether_header); 1724 m = m_pullup(*m_head, ip_off); 1732 ip_off = sizeof(struct ether_vlan_header); 1733 m = m_pullup(m, ip_off); 1739 m = m_pullup(m, ip_off + sizeof(struct ip)); 1744 ip = (struct ip *)(mtod(m, char *) + ip_off); 1745 poff = ip_off + (ip->ip_hl << 2); 1755 ip = (struct ip *)(mtod(m, char *) + ip_off);
|
/freebsd-10.2-release/sys/boot/arm/at91/libat91/ |
H A D | emac.c | 131 ipHdr->ip_off = SWAP16(0x4000);
|
/freebsd-10.2-release/sys/netinet/ |
H A D | ip_icmp.c | 236 if (oip->ip_off & htons(~(IP_MF|IP_DF))) 349 nip->ip_off = 0;
|
/freebsd-10.2-release/sys/netipsec/ |
H A D | xform_ah.c | 313 ip->ip_off &= htons(IP_DF); 315 ip->ip_off = htons(0);
|
/freebsd-10.2-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_auth.c | 538 bo = ip->ip_off; 539 ip->ip_off = htons(bo);
|