/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 403 mcl->m_pkthdr.len = mcl->m_len = ntohs(ip->ip_len); 422 uint16_t ip_len, cksum; local 424 ip_len = ntohs(ip->ip_len); 426 htons(ip->ip_p + ip_len - (ip->ip_hl << 2)));
|
H A D | ip_fw_log.c | 396 iplen = ntohs(ip->ip_len);
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-ip.c | 575 ipds->len = EXTRACT_16BITS(&ipds->ip->ip_len); 643 ND_PRINT((ndo, ", length %u", EXTRACT_16BITS(&ipds->ip->ip_len)));
|
H A D | print-icmp.c | 587 ND_TCHECK_16BITS(&ip->ip_len); 588 ip_print(ndo, bp, EXTRACT_16BITS(&ip->ip_len));
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_mroute.c | 1491 int plen = ntohs(ip->ip_len); 2399 if (ntohs(ip->ip_len) <= mtu) { 2422 int len = ntohs(ip->ip_len); 2476 int len = ntohs(ip->ip_len); 2505 ip_outer->ip_len = htons(len + sizeof(pim_encap_iphdr) + 2571 int datalen = ntohs(ip->ip_len) - iphlen; 2687 ntohs(encap_ip->ip_len)); 2748 PIMSTAT_ADD(pims_rcv_registers_bytes, ntohs(encap_ip->ip_len));
|
H A D | raw_ip.c | 470 ip->ip_len = htons(m->m_pkthdr.len); 514 || (ntohs(ip->ip_len) != m->m_pkthdr.len)) {
|
/freebsd-11-stable/sys/net/ |
H A D | if_me.c | 465 ip->ip_len = htons(m->m_pkthdr.len - hlen); 620 ip->ip_len = htons(m->m_pkthdr.len);
|
H A D | if_spppfr.c | 323 if (! (ip->ip_off & ~IP_DF) && ip->ip_len > 400 &&
|
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_pptp.c | 447 tlen = ntohs(pip->ip_len);
|
H A D | alias_skinny.c | 315 tlen = ntohs(pip->ip_len);
|
H A D | alias_local.h | 351 u_short ip_len, u_long th_seq, u_int th_off);
|
/freebsd-11-stable/tools/bus_space/examples/ |
H A D | am79c900_diag.py | 87 ('ip_len', ctypes.c_uint16), 298 pkt.ip_len = ctypes.sizeof(pkt) - 14
|
/freebsd-11-stable/contrib/netbsd-tests/net/icmp/ |
H A D | t_ping.c | 409 ip->ip_len = frag;
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_irc_pxy.c | 375 ip->ip_len = htons(fin->fin_plen);
|
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...] |
/freebsd-11-stable/sys/netipsec/ |
H A D | ipsec_output.c | 228 ip->ip_len = htons(m->m_pkthdr.len); 699 mtod(m, struct ip *)->ip_len = htons(m->m_pkthdr.len); 915 ip->ip_len = htons((*mp)->m_pkthdr.len);
|
H A D | xform_ah.c | 1020 offsetof(struct ip, ip_len), 1023 m_copyback(m, offsetof(struct ip, ip_len),
|
/freebsd-11-stable/sys/dev/nxge/ |
H A D | if_nxge.c | 2493 header_ip->ip_len = htons(lro_session->len - ETHER_HDR_LEN); 2531 int hlen, ip_len, tcp_hdr_len, tcp_data_len, tot_len, tcp_options; local 2578 ip_len = ntohs(header_ip->ip_len); 2581 tcp_data_len = ip_len - (header_tcp->th_off << 2) - sizeof(*header_ip); 2585 trim = tot_len - (ip_len + ETHER_HDR_LEN); 2601 hlen = ip_len + ETHER_HDR_LEN - tcp_data_len;
|
/freebsd-11-stable/usr.sbin/trpt/ |
H A D | trpt.c | 372 ip4->ip_len;
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_ud_header.c | 296 iph.ip_len = header->ip4.tot_len;
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_rx.c | 199 ip4->ip_len = cpu_to_be16(tot_len);
|
/freebsd-11-stable/sys/dev/xen/netback/ |
H A D | netback.c | 2170 size_t tcplen = ntohs(iph->ip_len) - sizeof(struct ip); 2175 sizeof(struct ether_header) + ntohs(iph->ip_len), 2181 size_t udplen = ntohs(iph->ip_len) - sizeof(struct ip); 2186 sizeof(struct ether_header) + ntohs(iph->ip_len),
|
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 487 ip->ip_len = htons(sizeof(*ip) + plen); 791 oip->ip_len = htons(n->m_pkthdr.len); 1057 eip6->ip6_plen = htons(ntohs(ip.ip_len) - (ip.ip_hl << 2)); 1195 plen = ntohs(ip->ip_len) - hlen;
|
/freebsd-11-stable/contrib/openbsm/test/bsm/ |
H A D | generate.c | 677 ip_token_ip.ip_len = htons(sizeof(ip_token_ip)); 700 ip_token_ip.ip_len = htons(sizeof(ip_token_ip));
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | ip.c | 275 datalen = ntohs(pip->ip_len) - (pip->ip_hl << 2); 603 datalen = ntohs(pip->ip_len) - (pip->ip_hl << 2);
|