Searched refs:iplen (Results 1 - 12 of 12) sorted by relevance

/freebsd-10.1-release/contrib/ipfilter/ipsend/
H A Dip.c101 int err, iplen; local
130 iplen = ip->ip_len;
131 ip->ip_len = htons(iplen);
148 if (!frag || (sizeof(*eh) + iplen < mtu))
153 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen);
154 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen);
207 iplen = ntohs(ip->ip_len) - hlen;
212 if ((sent + (mtu - hlen)) >= iplen)
215 ts = iplen - sent;
257 int thlen, i, iplen, hle local
[all...]
/freebsd-10.1-release/sys/netipsec/
H A Dxform_ah.c902 u_int16_t iplen; local
1057 (caddr_t) &iplen, sizeof(u_int16_t));
1058 iplen = htons(ntohs(iplen) + rplen + authsize);
1060 sizeof(u_int16_t), (caddr_t) &iplen);
1068 (caddr_t) &iplen, sizeof(u_int16_t));
1069 iplen = htons(ntohs(iplen) + rplen + authsize);
1071 sizeof(u_int16_t), (caddr_t) &iplen);
/freebsd-10.1-release/crypto/openssl/crypto/x509v3/
H A Dv3_utl.c644 int iplen; local
648 iplen = a2i_ipadd(ipout, ipasc);
650 if (!iplen)
656 if (!ASN1_OCTET_STRING_set(ret, ipout, iplen)) {
/freebsd-10.1-release/sys/netinet/
H A Dip_carp.c440 int iplen, len; local
459 iplen = ip->ip_hl << 2;
461 if (m->m_pkthdr.len < iplen + sizeof(*ch)) {
470 if (iplen + sizeof(*ch) < m->m_len) {
471 if ((m = m_pullup(m, iplen + sizeof(*ch))) == NULL) {
478 ch = (struct carp_header *)((char *)ip + iplen);
484 len = iplen + sizeof(*ch);
499 ch = (struct carp_header *)((char *)ip + iplen);
502 m->m_data += iplen;
503 if (in_cksum(m, len - iplen)) {
[all...]
/freebsd-10.1-release/sys/dev/usb/net/
H A Duhso.c1666 uint16_t iplen; local
1713 iplen = htons(ip->ip_len);
1719 iplen = htons(ip6->ip6_plen);
1734 if (iplen == 0) {
1743 UHSO_DPRINTF(3, "m=%p, len=%d, cp=%p, iplen=%d\n",
1744 m, m->m_pkthdr.len, cp, iplen);
1749 if (iplen < m->m_pkthdr.len) {
1757 memcpy(mtod(m, uint8_t *), mtod(m0, uint8_t *), iplen); local
1758 m->m_pkthdr.len = m->m_len = iplen;
1761 m_adj(m0, iplen);
[all...]
/freebsd-10.1-release/sys/dev/qlxgbe/
H A Dql_isr.c187 uint32_t i, rem_len = 0, pkt_length, iplen; local
300 iplen = (ip->ip_hl << 2) + (th->th_off << 2) +
303 ip->ip_len = htons(iplen);
309 iplen = (th->th_off << 2) + sgc->payload_length;
311 ip6->ip6_plen = htons(iplen);
/freebsd-10.1-release/sys/netpfil/ipfw/
H A Dip_fw_log.c528 int ipoff, iplen; local
530 iplen = ntohs(ip->ip_len);
534 ntohs(ip->ip_id), iplen - (ip->ip_hl << 2),
H A Dip_fw2.c620 send_reject(struct ip_fw_args *args, int code, int iplen, struct ip *ip) argument
946 uint16_t iplen=0; local
1195 iplen = ntohs(ip->ip_len);
1196 pktlen = iplen < pktlen ? iplen : pktlen;
1635 x = iplen;
1696 x = iplen -
2291 send_reject(args, cmd->arg1, iplen, ip);
/freebsd-10.1-release/sys/dev/e1000/
H A De1000_82575.h103 u32 iplen:9; member in struct:e1000_adv_context_desc::__anon8437::__anon8438
/freebsd-10.1-release/tools/tools/net80211/wesside/wesside/
H A Dwesside.c1368 unsigned short iplen = htons(len - 8); local
1380 memcpy(ptr, &iplen, len);
/freebsd-10.1-release/sys/dev/cxgbe/common/
H A Dt4_msg.h1198 __be16 iplen; member in struct:cpl_tx_pkt_ufo_core
/freebsd-10.1-release/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h664 __be16 iplen; member in struct:fw_eth_tx_eo_wr::fw_eth_tx_eo::fw_eth_tx_eo_udpseg
675 __be16 iplen; member in struct:fw_eth_tx_eo_wr::fw_eth_tx_eo::fw_eth_tx_eo_tcpseg

Completed in 251 milliseconds