/freebsd-11-stable/contrib/traceroute/ |
H A D | traceroute.c | 787 outip->ip_len = htons(packlen); 790 outip->ip_len = packlen;
|
/freebsd-11-stable/contrib/wpa/src/tls/ |
H A D | x509v3.c | 36 name->ip_len = 0; 970 name->ip_len = len;
|
/freebsd-11-stable/sys/netinet/ |
H A D | siftr.c | 963 * in_cksum_skip(at, ip->ip_len - offset, offset) 965 * in_cksum_skip(at, ip->ip_len, offset) 966 * which means read "ip->ip_len - offset" bytes from 970 th->th_sum = in_cksum_skip(*m, ntohs(ip->ip_len),
|
H A D | tcp_output.c | 1420 ip->ip_len = htons(m->m_pkthdr.len);
|
H A D | sctputil.c | 6971 iph->ip_len = htons(ntohs(iph->ip_len) - sizeof(struct udphdr)); 7010 if (ntohs(outer_ip->ip_len) < 7058 if (ntohs(outer_ip->ip_len) >= 7084 ntohs(inner_ip->ip_len),
|
H A D | ip_carp.c | 848 ip->ip_len = htons(len);
|
H A D | sctp_usrreq.c | 157 uint16_t ip_len, 219 next_mtu = sctp_get_prev_mtu(ip_len); 320 if (ntohs(outer_ip->ip_len) >= 342 ntohs(inner_ip->ip_len), 152 sctp_notify(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, uint8_t icmp_type, uint8_t icmp_code, uint16_t ip_len, uint32_t next_mtu) argument
|
H A D | tcp_input.c | 689 tlen = ntohs(ip->ip_len) - off0; 713 ip->ip_len = htons(len);
|
/freebsd-11-stable/sys/dev/qlxgbe/ |
H A D | ql_isr.c | 330 ip->ip_len = htons(iplen);
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-tcp.c | 874 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4;
|
/freebsd-11-stable/sys/netipsec/ |
H A D | xform_ipcomp.c | 619 mtod(m, struct ip *)->ip_len = htons(m->m_pkthdr.len);
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
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_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;
|
/freebsd-11-stable/sys/dev/cas/ |
H A D | if_cas.c | 571 if (ntohs(ip->ip_len) < hlen) 573 if (ntohs(ip->ip_len) != pktlen)
|
/freebsd-11-stable/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 793 ih->ip_len = htons(20+8+PRGA_LEN); 1898 ih->ip_len = htons(20+8+5);
|
/freebsd-11-stable/sys/dev/gem/ |
H A D | if_gem.c | 509 if (ntohs(ip->ip_len) < hlen) 511 if (ntohs(ip->ip_len) != pktlen)
|
/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/sys/netgraph/netflow/ |
H A D | netflow.c | 715 plen = ntohs(ip->ip_len);
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom.c | 895 ip->ip_len = htons(sizeof(struct ip) + sizeof(struct tcphdr));
|
/freebsd-11-stable/sys/dev/fxp/ |
H A D | if_fxp.c | 1504 ip->ip_len = htons(m->m_pkthdr.tso_segsz + (ip->ip_hl << 2) + 1826 if (ntohs(ip->ip_len) < hlen) 1828 if (ntohs(ip->ip_len) != pktlen)
|
/freebsd-11-stable/sys/dev/bce/ |
H A D | if_bce.c | 7255 int hdr_len, ip_hlen = 0, tcp_hlen = 0, ip_len = 0; local 7320 ip_len = ip->ip_len; 7321 ip->ip_len = 0; 7342 "ip_hlen = %d, tcp_hlen = %d, ip_len = %d\n", 7344 tcp_hlen, ip_len); 9758 ntohs(ip->ip_len), ip->ip_p, ntohs(ip->ip_sum));
|
/freebsd-11-stable/sys/dev/usb/net/ |
H A D | uhso.c | 1712 iplen = htons(ip->ip_len);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_socket.c | 656 * It should include all the fields we modify (ip_len and ip_off). 678 packet->ip_len = linux_args->len;
|
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 1336 tsoh_iph->ip_len = htons(ip_length);
|
/freebsd-11-stable/sys/dev/sk/ |
H A D | if_sk.c | 2684 if (ntohs(ip->ip_len) < hlen) 2686 if (ntohs(ip->ip_len) != pktlen)
|