/freebsd-11-stable/sys/netipsec/ |
H A D | xform_ah.c | 866 uint16_t iplen; local 1021 (caddr_t) &iplen, sizeof(u_int16_t)); 1022 iplen = htons(ntohs(iplen) + rplen + authsize); 1024 sizeof(u_int16_t), (caddr_t) &iplen); 1032 (caddr_t) &iplen, sizeof(uint16_t)); 1033 iplen = htons(ntohs(iplen) + rplen + authsize); 1035 sizeof(uint16_t), (caddr_t) &iplen);
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 980 send_reject(struct ip_fw_args *args, int code, int iplen, struct ip *ip) argument 1020 if (iplen >= (ip->ip_hl << 2) + sizeof(struct sctphdr) + 1035 if (iplen > 1041 if ((iplen >= (ip->ip_hl << 2) + 1401 int iplen = 0; local 1660 iplen = ntohs(ip6->ip6_plen) + sizeof(*ip6); 1673 iplen = ntohs(ip->ip_len); 1735 pktlen = iplen < pktlen ? iplen: pktlen; 2203 x = iplen; [all...] |
H A D | ip_fw_log.c | 394 int ipoff, iplen; local 396 iplen = ntohs(ip->ip_len); 400 ntohs(ip->ip_id), iplen - (ip->ip_hl << 2),
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_carp.c | 455 int iplen, len; local 457 iplen = *offp; 477 iplen = ip->ip_hl << 2; 479 if (m->m_pkthdr.len < iplen + sizeof(*ch)) { 488 if (iplen + sizeof(*ch) < m->m_len) { 489 if ((m = m_pullup(m, iplen + sizeof(*ch))) == NULL) { 496 ch = (struct carp_header *)((char *)ip + iplen); 502 len = iplen + sizeof(*ch); 517 ch = (struct carp_header *)((char *)ip + iplen); 520 m->m_data += iplen; [all...] |
/freebsd-11-stable/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 4798 int len, iphlen, iplen; local 4823 iplen = ntohs(ip->ip_len); 4829 if (m->m_pkthdr.len < hoff + iplen) 4844 if (iplen < iphlen + sizeof(struct tcphdr)) 4850 if (thoff < sizeof(struct tcphdr) || thoff + iphlen > iplen) 4856 if (iplen < iphlen + sizeof(struct udphdr)) 4862 if (iplen < iphlen)
|
/freebsd-11-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-11-stable/sys/dev/cxgbe/common/ |
H A D | t4_msg.h | 1404 __be16 iplen; member in struct:cpl_tx_pkt_ufo_core
|
/freebsd-11-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-11-stable/contrib/ipfilter/ipsend/ |
H A D | ip.c | 96 int err, iplen; local 125 iplen = ip->ip_len; 126 ip->ip_len = htons(iplen); 143 if (!frag || (sizeof(*eh) + iplen < mtu)) 148 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); 149 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen); 202 iplen = ntohs(ip->ip_len) - hlen; 207 if ((sent + (mtu - hlen)) >= iplen) 210 ts = iplen - sent; 252 int thlen, i, iplen, hle local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/x509/ |
H A D | x509_vfy.c | 903 if (id->ip && X509_check_ip(x, id->ip, id->iplen, 0) <= 0) {
|
H A D | x509_vpm.c | 167 paramid->iplen = 0; 326 if (!X509_VERIFY_PARAM_set1_ip(dest, id->ip, id->iplen)) 496 const unsigned char *ip, size_t iplen) 498 if (iplen != 0 && iplen != 4 && iplen != 16) 500 return int_x509_param_set1((char **)¶m->id->ip, ¶m->id->iplen, 501 (char *)ip, iplen); 507 size_t iplen; local 509 iplen 495 X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, const unsigned char *ip, size_t iplen) argument [all...] |
H A D | x509_vfy.h | 605 const unsigned char *ip, size_t iplen);
|
H A D | vpm_int.h | 69 size_t iplen; /* Length of IP address */ member in struct:X509_VERIFY_PARAM_ID_st
|
/freebsd-11-stable/sys/dev/e1000/ |
H A D | e1000_82575.h | 103 u32 iplen:9; member in struct:e1000_adv_context_desc::__anon6364::__anon6365
|
/freebsd-11-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-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_utl.c | 1057 size_t iplen; local 1061 iplen = (size_t)a2i_ipadd(ipout, ipasc); 1062 if (iplen == 0) 1064 return do_x509_check(x, (char *)ipout, iplen, flags, GEN_IPADD, NULL); 1076 int iplen; local 1080 iplen = a2i_ipadd(ipout, ipasc); 1082 if (!iplen) 1088 if (!ASN1_OCTET_STRING_set(ret, ipout, iplen)) {
|
/freebsd-11-stable/sys/dev/usb/net/ |
H A D | uhso.c | 1670 uint16_t iplen; local 1712 iplen = htons(ip->ip_len); 1718 iplen = htons(ip6->ip6_plen); 1733 if (iplen == 0) { 1742 UHSO_DPRINTF(3, "m=%p, len=%d, cp=%p, iplen=%d\n", 1743 m, m->m_pkthdr.len, cp, iplen); 1748 if (iplen < m->m_pkthdr.len) { 1756 memcpy(mtod(m, uint8_t *), mtod(m0, uint8_t *), iplen); local 1757 m->m_pkthdr.len = m->m_len = iplen; 1760 m_adj(m0, iplen); [all...] |