HomeSort by: relevance | last modified time | path
    Searched defs:ip_len (Results 1 - 9 of 9) sorted by relevancy

  /src/sys/dev/pci/cxgb/
cxgb_lro.c 160 int ip_len = ntohs(ih->ip_len); local in function:lro_new_session_init
167 s->ip_len = ip_len;
168 s->seq = ntohl(th->th_seq) + ip_len - sizeof(*ih) - (th->th_off << 2);
188 ih->ip_len = htons(s->ip_len);
282 plen = ntohs(nih->ip_len) - tcpiphlen;
284 s->ip_len += plen;
cxgb_adapter.h 172 uint16_t ip_len; member in struct:t3_lro_session
  /src/sys/netinet/
igmp.c 193 int ip_len, iphlen; local in function:igmp_input
204 ip_len = ntohs(ip->ip_len);
205 if (ip_len < minlen) {
226 if (in_cksum(m, ip_len - iphlen)) {
614 ip->ip_len = htons(sizeof(struct ip) + IGMP_MINLEN);
in_offload.c 110 ip->ip_len = htons(iphlen + thlen + mss);
202 uint16_t ip_len; local in function:in_undefer_cksum
225 ip_len = ip->ip_len;
229 hdrlen + offsetof(struct ip, ip_len);
231 m_copydata(m, ip_len_offset, sizeof(ip_len), &ip_len);
234 ip_len = ntohs(ip_len);
251 csum = in4_cksum(m, 0, l4offset, ip_len - iphdrlen)
    [all...]
udp_usrreq.c 319 u_int16_t ip_len; local in function:udp_input
357 ip_len = ntohs(ip->ip_len);
363 if (ip_len != iphlen + len) {
364 if (ip_len < iphlen + len) {
368 m_adj(m, iphlen + len - ip_len);
841 ((struct ip *)ui)->ip_len = htons(sizeof(struct udpiphdr) + len);
1315 ip->ip_len = htons(ntohs(ip->ip_len) - skip);
ip.h 61 u_int16_t ip_len; /* total length */ member in struct:ip
  /src/sys/arch/mvme68k/stand/sboot/
etherfun.h 75 short ip_len; /* total length */ member in struct:ip
  /src/sys/dist/pf/net/
pf_norm.c 367 u_int16_t ip_len = ntohs(ip->ip_len) - ip->ip_hl * 4; local in function:pf_reassemble
368 u_int16_t frmax = ip_len + off;
416 FR_IP_OFF(frep) + ntohs(frep->fr_ip->ip_len) - frep->fr_ip->ip_hl *
421 precut = FR_IP_OFF(frep) + ntohs(frep->fr_ip->ip_len) -
423 if (precut >= ip_len)
430 ip_len -= precut;
431 ip->ip_len = htons(ip_len);
434 for (; frea != NULL && ip_len + off > FR_IP_OFF(frea)
565 int ip_len = ntohs(h->ip_len) - (h->ip_hl << 2); local in function:pf_fragcache
868 int ip_len; local in function:pf_normalize_ip
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_fil_netbsd.c 822 ip->ip_len = htons(sizeof(struct tcphdr));
826 ip->ip_len = hlen + sizeof(*tcp2);
835 * Expects ip_len to be in host byte order when called.
860 fnew.fin_plen = ntohs(ip->ip_len);
861 HTONS(ip->ip_len);
1082 ip->ip_len = iclen;
1112 u_short ip_off, ip_len; local in function:ipf_fastroute
1248 ip_len = ntohs(ip->ip_len);
1249 if (ip_len <= ifp->if_mtu)
    [all...]

Completed in 61 milliseconds