Searched refs:ip6_plen (Results 26 - 50 of 56) sorted by relevance

123

/netbsd-current/sys/dev/pci/
H A Dif_jme.c1379 ip6.ip6_plen = 0;
1381 offsetof(struct ip6_hdr, ip6_plen),
1382 sizeof(ip6.ip6_plen), &ip6.ip6_plen);
1414 ip6->ip6_plen = 0;
H A Dif_wm.c8692 ip6.ip6_plen = 0;
8694 offset + offsetof(struct ip6_hdr, ip6_plen),
8695 sizeof(ip6.ip6_plen), &ip6.ip6_plen);
8723 ip6->ip6_plen = 0;
9360 ip6.ip6_plen = 0;
9362 offset + offsetof(struct ip6_hdr, ip6_plen),
9363 sizeof(ip6.ip6_plen), &ip6.ip6_plen);
9391 ip6->ip6_plen
[all...]
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_fil_netbsd.c810 ip6->ip6_plen = htons(sizeof(struct tcphdr));
881 fnew.fin_plen = ntohs(ip6->ip6_plen) + hlen;
1060 ip6->ip6_plen = htons(iclen - hlen);
H A Dip_ftp_pxy.c940 u_short len = ntohs(ip6->ip6_plen) + inc;
941 ip6->ip6_plen = htons(len);
2061 ip6->ip6_plen = htons(fin->fin_plen - fin->fin_hlen);
H A Dip_state.c4417 savelen = oip6->ip6_plen;
4418 oip6->ip6_plen = htons(fin->fin_dlen - ICMPERR_ICMPHLEN);
4423 oip6->ip6_plen = savelen;
H A Dip_nat6.c2848 ip6->ip6_plen = htons(fin->fin_plen + 8);
3247 ip6->ip6_plen = htons(fin->fin_plen + sizeof(udphdr_t));
3690 ip6->ip6_plen = 0;
/netbsd-current/sys/dist/pf/net/
H A Dpf_osfp.c170 fp.fp_psize = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen);
/netbsd-current/sys/net/npf/
H A Dnpf_inet.c267 return ntohs(ip6->ip6_plen) -
/netbsd-current/sys/netipsec/
H A Dxform_ipcomp.c592 mtod(m, struct ip6_hdr *)->ip6_plen =
H A Dipsec_input.c544 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
H A Dipsecif.c586 #if 0 /* ip6->ip6_plen will be filled by ip6_output */
587 ip6->ip6_plen = htons((u_short)m->m_pkthdr.len - sizeof(*ip6));
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-esp.c786 if (!GET_BE_U_2(ip6->ip6_plen))
H A Dprint-tcp.c935 len32 = htonl(GET_BE_U_2(ip6->ip6_plen));
/netbsd-current/sys/netinet6/
H A Dip6_output.c356 ip6->ip6_plen = 0;
358 ip6->ip6_plen = htons(plen);
889 } else if (ip6->ip6_plen == 0) {
987 mhip6->ip6_plen = htons((u_int16_t)(len + hlen +
H A Dnd6_nbr.c459 /* ip6->ip6_plen will be set later */
578 ip6->ip6_plen = htons((u_int16_t)icmp6len);
1033 ip6->ip6_plen = htons((u_int16_t)icmp6len);
H A Dsctp6_usrreq.c274 length = ntohs(ip6->ip6_plen) + iphlen;
H A Dicmp6.c2572 /* ip6->ip6_plen will be set later */
2717 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
2721 in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), ntohs(ip6->ip6_plen));
H A Dip6_mroute.c1853 ntohs(eip6->ip6_plen));
/netbsd-current/sys/dev/usb/
H A Dif_mue.c994 ip6->ip6_plen = 0;
996 m_copyback(m, off + offsetof(struct ip6_hdr, ip6_plen),
/netbsd-current/sys/netinet/
H A Dtcp_subr.c551 ip6->ip6_plen = htons(sizeof(struct tcphdr));
808 ip6->ip6_plen = htons(tlen);
/netbsd-current/sys/kern/
H A Duipc_mbufdebug.c677 (*pr)("IPv6: Payload Length = %u\n", ntohs(ip6.ip6_plen));
/netbsd-current/external/bsd/ipf/dist/tools/
H A Dipftest.c832 len = ntohs(((ip6_t *)ip)->ip6_plen);
H A Dipmon.c1189 plen = hl + ntohs(ip6.ip6_plen);
/netbsd-current/external/bsd/ipf/dist/
H A Dip_nat6.c2905 ip6->ip6_plen = htons(fin->fin_plen + 8);
3304 ip6->ip6_plen = htons(fin->fin_plen + sizeof(udphdr_t));
3755 ip6->ip6_plen = 0;
/netbsd-current/sbin/ping6/
H A Dping6.c2293 ntohs(ip6->ip6_plen), ip6->ip6_nxt, ip6->ip6_hlim);

Completed in 320 milliseconds

123