HomeSort by: relevance | last modified time | path
    Searched refs:in6_cksum (Results 1 - 20 of 20) sorted by relevancy

  /src/sys/netinet6/
in6_cksum.c 1 /* $NetBSD: in6_cksum.c,v 1.28 2011/04/25 22:05:05 yamt Exp $ */
33 __KERNEL_RCSID(0, "$NetBSD: in6_cksum.c,v 1.28 2011/04/25 22:05:05 yamt Exp $");
47 in6_cksum(struct mbuf *m, u_int8_t nxt, uint32_t off, uint32_t len) function in typeref:typename:int
67 panic("in6_cksum: offset too short for IPv6 header");
69 panic("in6_cksum: mbuf too short for IPv6 header");
in6_offload.c 150 th->th_sum = in6_cksum(n, 0, off + iphlen, thlen + mss);
216 csum = in6_cksum(m, 0, l4offset,
248 csum = in6_cksum(m, 0, offset, m->m_pkthdr.len - offset);
raw_ip6.c 206 * Although in6_cksum() does not need the position of
214 in6_cksum(m, proto, *offp,
495 sum = in6_cksum(m, nxt, sizeof(*ip6), plen);
in6.h 602 int in6_cksum(struct mbuf *, u_int8_t, u_int32_t, u_int32_t);
nd6_nbr.c 580 in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), icmp6len);
1037 in6_cksum(m, IPPROTO_ICMPV6, sizeof(struct ip6_hdr), icmp6len);
icmp6.c 561 if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
2199 icmp6->icmp6_cksum = in6_cksum(m, IPPROTO_ICMPV6,
2715 in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), ntohs(ip6->ip6_plen));
mld6.c 596 mldh->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV6, sizeof(struct ip6_hdr),
udp6_usrreq.c 623 if (in6_cksum(m, IPPROTO_UDP, off, len) != 0) {
ip6_mroute.c 1780 if (in6_cksum(m, IPPROTO_PIM, off, cksumlen)) {
  /src/sys/net/npf/
npf_sendpkt.c 65 #define in6_cksum(...) 0 macro
191 th->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr),
  /src/sys/net/
ether_sw_offload.c 305 sum = in6_cksum(m, 0, l4offset, len);
331 sum = in6_cksum(m, 0, l4offset, len);
  /src/sys/external/bsd/ipf/netinet/
ip_fil_netbsd.c 815 tcp2->th_sum = in6_cksum(m, IPPROTO_TCP,
1068 icmp->icmp_cksum = in6_cksum(m, IPPROTO_ICMPV6,
  /src/sys/netinet/
tcp_syncache.c 1323 th->th_sum = in6_cksum(m, IPPROTO_TCP, hlen, tlen - hlen);
dccp_usrreq.c 316 if (in6_cksum(m, IPPROTO_DCCP, off, cslen) != 0) {
1483 dh->dh_sum = in6_cksum(m, IPPROTO_DCCP, sizeof(struct ip6_hdr),
tcp_subr.c 805 th->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr),
tcp_input.c 964 if (in6_cksum(m, IPPROTO_TCP, toff,
ip_carp.c 254 return (in6_cksum(m, IPPROTO_CARP, off, len));
  /src/sys/netipsec/
ipsec.c 1853 uh_sum = in6_cksum(m, IPPROTO_UDP, sizeof(*ip6), plen);
  /src/share/man/man9/
Makefile 429 in4_cksum.9 in6_cksum.9
  /src/sys/dist/pf/net/
pf.c 1838 th->th_sum = in6_cksum(m, IPPROTO_TCP,
5673 sum = in6_cksum(m, p, off, len);

Completed in 41 milliseconds