Searched refs:ip_off (Results 26 - 50 of 92) sorted by relevance

1234

/freebsd-10.2-release/sys/dev/sge/
H A Dif_sge.c1406 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 Dif_em.c1883 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 Dslcompress.c177 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 Dip.c257 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 Dif_mxge.c1785 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 Dif_mxge_var.h323 int ip_off; member in struct:mxge_pkt_info
/freebsd-10.2-release/sbin/dhclient/
H A Dpacket.c122 ip.ip_off = 0;
/freebsd-10.2-release/contrib/ipfilter/ipsd/
H A Dsdlpi.c74 if (ip->ip_off & 0x1fff != 0)
H A Dsnit.c68 if (ip->ip_off & 0x1fff != 0)
/freebsd-10.2-release/sys/contrib/altq/altq/
H A Daltq_subr.c1156 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 Dpf_osfp.c99 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 Dipsend.c291 ip->ip_off = strtol(optarg, NULL, 0);
/freebsd-10.2-release/tools/tools/net80211/wesside/dics/
H A Ddics.c243 iph->ip_off = 0;
/freebsd-10.2-release/sys/dev/fxp/
H A Dif_fxp.c1447 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 Dif_ale.c1615 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 Dif_age.c1501 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 Dping.c652 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 Dip_fw_pfil.c432 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) {
/freebsd-10.2-release/sys/net/
H A Dif_spppfr.c338 if (! (ip->ip_off & ~IP_DF) && ip->ip_len > 400 &&
H A Dslcompress.c176 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40)
/freebsd-10.2-release/sys/dev/jme/
H A Dif_jme.c1711 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 Demac.c131 ipHdr->ip_off = SWAP16(0x4000);
/freebsd-10.2-release/sys/netinet/
H A Dip_icmp.c236 if (oip->ip_off & htons(~(IP_MF|IP_DF)))
349 nip->ip_off = 0;
/freebsd-10.2-release/sys/netipsec/
H A Dxform_ah.c313 ip->ip_off &= htons(IP_DF);
315 ip->ip_off = htons(0);
/freebsd-10.2-release/sys/contrib/ipfilter/netinet/
H A Dip_auth.c538 bo = ip->ip_off;
539 ip->ip_off = htons(bo);

Completed in 474 milliseconds

1234