Searched refs:ip_len (Results 1 - 25 of 140) sorted by last modified time
123456
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_state.c | 2775 * oip->ip_len. 2777 savelen = oip->ip_len; 2778 oip->ip_len = htons(len); 2803 * Put old values of ip_len back as we don't know 2806 oip->ip_len = savelen;
|
H A D | ip_nat.c | 5221 s1 = ip->ip_len; 5222 ip->ip_len = ntohs(ip->ip_len); 5223 ip->ip_len += fin->fin_plen; 5224 ip->ip_len = htons(ip->ip_len); 5225 s2 += ntohs(ip->ip_len); 5668 sum1 = ntohs(ip->ip_len); 5669 ip->ip_len = ntohs(ip->ip_len); [all...] |
H A D | ip_irc_pxy.c | 375 ip->ip_len = htons(fin->fin_plen);
|
H A D | ip_fil_freebsd.c | 134 ip->ip_len = htons(ip->ip_len); 144 ip->ip_len = ntohs(ip->ip_len); 428 ip->ip_len = htons(sizeof(struct tcphdr)); 432 ip->ip_len = htons(hlen + sizeof(*tcp2)); 438 * ip_len must be in network byte order when called. 461 fnew.fin_plen = ntohs(ip->ip_len); 674 ip->ip_len = htons(iclen); 826 if (ntohs(ip->ip_len) < [all...] |
H A D | ip_compat.h | 711 #define IPMINLEN(i, h) ((i)->ip_len >= (IP_HL(i) * 4 + sizeof(struct h)))
|
H A D | ip_auth.c | 517 bo = ip->ip_len; 518 ip->ip_len = htons(bo);
|
H A D | fil.c | 2052 fin->fin_plen = ntohs(ip->ip_len); 3391 /* Expects ip_len and ip_off to be in network byte order when called. */
|
H A D | ip_tftp_pxy.c | 339 slen = ip->ip_len; 340 ip->ip_len = htons(fin->fin_hlen + sizeof(udp)); 407 ip->ip_len = slen;
|
H A D | ip_rpcb_pxy.c | 830 fin->fin_ip->ip_len = htons(fin->fin_plen); 1471 fin->fin_ip->ip_len = htons(fin->fin_plen);
|
H A D | ip_rcmd_pxy.c | 267 slen = ip->ip_len; 268 ip->ip_len = htons(fin->fin_hlen + sizeof(*tcp)); 321 ip->ip_len = slen;
|
H A D | ip_raudio_pxy.c | 290 slen = ip->ip_len; 291 ip->ip_len = htons(fin->fin_hlen + sizeof(*tcp)); 341 ip->ip_len = slen;
|
H A D | ip_ftp_pxy.c | 421 printf("ipf_p_ftp_port:inc(%d) + ip->ip_len > 65535\n", 442 ip->ip_len = htons(fin->fin_plen); 896 printf("ipf_p_ftp_pasv:inc(%d) + ip->ip_len > 65535\n", 989 ip->ip_len = htons(fin->fin_plen); 1868 printf("ipf_p_ftp_eprt4:inc(%d) + ip->ip_len > 65535\n", 1886 ip->ip_len = htons(fin->fin_plen); 2157 printf("ipf_p_ftp_eprt6:inc(%d) + ip->ip_len > 65535\n",
|
/freebsd-11-stable/tests/sys/netgraph/ |
H A D | bridge.c | 73 .ip.ip_len = 32,
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_input.c | 455 uint16_t sum, ip_len; local 466 ip_len = ntohs(ip->ip_len); 532 ip_len = ntohs(ip->ip_len); 533 if (ip_len < hlen) { 544 if (m->m_pkthdr.len < ip_len) { 549 if (m->m_pkthdr.len > ip_len) { 551 m->m_len = ip_len; 552 m->m_pkthdr.len = ip_len; [all...] |
H A D | tcp_output.c | 1420 ip->ip_len = htons(m->m_pkthdr.len);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_checksum.c | 324 plen = ntohs(ip4->ip_len);
|
H A D | ng_nat.c | 815 if (m->m_pkthdr.len < ipofs + ntohs(ip->ip_len)) 849 m->m_pkthdr.len = m->m_len = ntohs(ip->ip_len) + ipofs; 879 uint16_t ip_len = ntohs(ip->ip_len); local 884 ip_len - (ip->ip_hl << 2)));
|
/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_if.c | 1539 ip4_hdr->ip_len = htons(cqe2->coalesced_size - sizeof(struct ether_header));
|
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_db.c | 2066 AddSeq(struct alias_link *lnk, int delta, u_int ip_hl, u_short ip_len, argument 2080 tlen = ntohs(ip_len);
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipmon.c | 1170 plen = ntohs(ip->ip_len); 1267 i = ntohs(ipc->ip_len); 1269 * XXX - try to guess endian of ip_len in ICMP 1273 i = ipc->ip_len;
|
H A D | ipftest.c | 667 len = ntohs(ip->ip_len);
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | ipft_tx.c | 154 mb->mb_len = ntohs(ip->ip_len); 218 ip->ip_len = sizeof(ip_t); 223 ip->ip_len += sizeof(struct tcphdr); 227 ip->ip_len += sizeof(struct udphdr); 231 ip->ip_len += ICMPERR_IPICMPHLEN; 327 ip->ip_len += olen; 336 ip->ip_len = htons(ip->ip_len);
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | resend.c | 47 printf("len %d id %d ", ip->ip_len, ip->ip_id); 109 len = ntohs(ip->ip_len);
|
H A D | iptest.c | 83 ip->ip_len = sizeof(*ip);
|
H A D | ipsend.c | 82 ip->ip_len += sizeof(*ic); 191 ip->ip_len = sizeof(*ip); 249 ip->ip_len += sizeof(tcphdr_t); 260 ip->ip_len += sizeof(udphdr_t); 353 ip->ip_len += olen; 363 bcopy(ip + 1, p + hlen, ip->ip_len - hlen); 409 udpcksum(ip, udp, ip->ip_len - (IP_HL(ip) << 2));
|
Completed in 256 milliseconds
123456