/freebsd-10-stable/contrib/ipfilter/ipsend/ |
H A D | ip.c | 101 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-stable/sys/netipsec/ |
H A D | xform_ah.c | 898 u_int16_t iplen; local 1053 (caddr_t) &iplen, sizeof(u_int16_t)); 1054 iplen = htons(ntohs(iplen) + rplen + authsize); 1056 sizeof(u_int16_t), (caddr_t) &iplen); 1064 (caddr_t) &iplen, sizeof(u_int16_t)); 1065 iplen = htons(ntohs(iplen) + rplen + authsize); 1067 sizeof(u_int16_t), (caddr_t) &iplen);
|
/freebsd-10-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_utl.c | 644 int iplen; local 648 iplen = a2i_ipadd(ipout, ipasc); 650 if (!iplen) 656 if (!ASN1_OCTET_STRING_set(ret, ipout, iplen)) {
|
/freebsd-10-stable/sys/netinet/ |
H A D | ip_carp.c | 440 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-stable/sys/dev/usb/net/ |
H A D | uhso.c | 1668 uint16_t iplen; local 1715 iplen = htons(ip->ip_len); 1721 iplen = htons(ip6->ip6_plen); 1736 if (iplen == 0) { 1745 UHSO_DPRINTF(3, "m=%p, len=%d, cp=%p, iplen=%d\n", 1746 m, m->m_pkthdr.len, cp, iplen); 1751 if (iplen < m->m_pkthdr.len) { 1759 memcpy(mtod(m, uint8_t *), mtod(m0, uint8_t *), iplen); local 1760 m->m_pkthdr.len = m->m_len = iplen; 1763 m_adj(m0, iplen); [all...] |
/freebsd-10-stable/sys/dev/qlxgbe/ |
H A D | ql_isr.c | 214 uint32_t i, rem_len = 0, pkt_length, iplen; local 327 iplen = (ip->ip_hl << 2) + (th->th_off << 2) + 330 ip->ip_len = htons(iplen); 339 iplen = (th->th_off << 2) + sgc->payload_length; 341 ip6->ip6_plen = htons(iplen);
|
/freebsd-10-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_log.c | 528 int ipoff, iplen; local 530 iplen = ntohs(ip->ip_len); 534 ntohs(ip->ip_id), iplen - (ip->ip_hl << 2),
|
H A D | ip_fw2.c | 622 send_reject(struct ip_fw_args *args, int code, int iplen, struct ip *ip) argument 948 int iplen = 0; local 1189 iplen = ntohs(ip6->ip6_plen) + sizeof(*ip6); 1203 iplen = ntohs(ip->ip_len); 1242 pktlen = iplen < pktlen ? iplen: pktlen; 1643 x = iplen; 1715 x = iplen - hlen; 1718 x = iplen - (ip->ip_hl << 2); 2314 send_reject(args, cmd->arg1, iplen, i [all...] |
/freebsd-10-stable/sys/dev/e1000/ |
H A D | e1000_82575.h | 103 u32 iplen:9; member in struct:e1000_adv_context_desc::__anon1178::__anon1179
|
/freebsd-10-stable/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 4791 int len, iphlen, iplen; local 4816 iplen = ntohs(ip->ip_len); 4822 if (m->m_pkthdr.len < hoff + iplen) 4837 if (iplen < iphlen + sizeof(struct tcphdr)) 4843 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen) 4849 if (iplen < iphlen + sizeof(struct udphdr)) 4855 if (iplen < iphlen)
|
/freebsd-10-stable/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 1368 unsigned short iplen = htons(len - 8); local 1380 memcpy(ptr, &iplen, len);
|
/freebsd-10-stable/sys/dev/cxgbe/common/ |
H A D | t4_msg.h | 1359 __be16 iplen; member in struct:cpl_tx_pkt_ufo_core
|
/freebsd-10-stable/sys/dev/cxgbe/firmware/ |
H A D | t4fw_interface.h | 807 __be16 iplen; member in struct:fw_eth_tx_eo_wr::fw_eth_tx_eo::fw_eth_tx_eo_udpseg 818 __be16 iplen; member in struct:fw_eth_tx_eo_wr::fw_eth_tx_eo::fw_eth_tx_eo_tcpseg
|
/freebsd-10-stable/contrib/ofed/libcxgb4/src/ |
H A D | t4fw_interface.h | 640 __be16 iplen; member in struct:fw_eth_tx_uo_wr
|