Searched refs:ip_len (Results 101 - 125 of 140) sorted by relevance

123456

/freebsd-11-stable/contrib/traceroute/
H A Dtraceroute.c787 outip->ip_len = htons(packlen);
790 outip->ip_len = packlen;
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dx509v3.c36 name->ip_len = 0;
970 name->ip_len = len;
/freebsd-11-stable/sys/netinet/
H A Dsiftr.c963 * 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 Dtcp_output.c1420 ip->ip_len = htons(m->m_pkthdr.len);
H A Dsctputil.c6971 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 Dip_carp.c848 ip->ip_len = htons(len);
H A Dsctp_usrreq.c157 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 Dtcp_input.c689 tlen = ntohs(ip->ip_len) - off0;
713 ip->ip_len = htons(len);
/freebsd-11-stable/sys/dev/qlxgbe/
H A Dql_isr.c330 ip->ip_len = htons(iplen);
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-tcp.c874 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4;
/freebsd-11-stable/sys/netipsec/
H A Dxform_ipcomp.c619 mtod(m, struct ip *)->ip_len = htons(m->m_pkthdr.len);
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_compat.h711 #define IPMINLEN(i, h) ((i)->ip_len >= (IP_HL(i) * 4 + sizeof(struct h)))
H A Dip_state.c2775 * 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 Dif_cas.c571 if (ntohs(ip->ip_len) < hlen)
573 if (ntohs(ip->ip_len) != pktlen)
/freebsd-11-stable/tools/tools/net80211/wesside/wesside/
H A Dwesside.c793 ih->ip_len = htons(20+8+PRGA_LEN);
1898 ih->ip_len = htons(20+8+5);
/freebsd-11-stable/sys/dev/gem/
H A Dif_gem.c509 if (ntohs(ip->ip_len) < hlen)
511 if (ntohs(ip->ip_len) != pktlen)
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_db.c2066 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 Dnetflow.c715 plen = ntohs(ip->ip_len);
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_tom.c895 ip->ip_len = htons(sizeof(struct ip) + sizeof(struct tcphdr));
/freebsd-11-stable/sys/dev/fxp/
H A Dif_fxp.c1504 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 Dif_bce.c7255 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 Duhso.c1712 iplen = htons(ip->ip_len);
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_socket.c656 * 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 Dsfxge_tx.c1336 tsoh_iph->ip_len = htons(ip_length);
/freebsd-11-stable/sys/dev/sk/
H A Dif_sk.c2684 if (ntohs(ip->ip_len) < hlen)
2686 if (ntohs(ip->ip_len) != pktlen)

Completed in 305 milliseconds

123456