Home | History | Annotate | Download | only in netinet6

Lines Matching defs:ip6

57 #include <netinet/ip6.h>
75 ip6_cantforward(const struct ip6_hdr *ip6, const struct ifnet *srcifp,
102 IN6_PRINT(sbuf, &ip6->ip6_src), srcifp ? if_name(srcifp) : "?",
103 IN6_PRINT(dbuf, &ip6->ip6_dst), dstifp ? if_name(dstifp) : "?",
104 ip6->ip6_nxt, reason);
121 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
146 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) ||
147 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) {
148 ip6_cantforward(ip6, rcvif, NULL,
150 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) ? "mcast/dst" :
155 if (ip6->ip6_hlim <= IPV6_HLIMDEC) {
161 ip6->ip6_hlim -= IPV6_HLIMDEC;
202 sockaddr_in6_init(&u.dst6, &ip6->ip6_dst, 0, 0, 0);
217 * ip6->ip6_dst
238 src_in6 = ip6->ip6_src;
243 ip6_cantforward(ip6, rcvif, rt->rt_ifp,
245 in6_getscopename(&ip6->ip6_src), inzone, outzone);
275 dst_in6 = ip6->ip6_dst;
280 ip6_cantforward(ip6, rcvif, rt->rt_ifp,
282 in6_getscopename(&ip6->ip6_dst), inzone, outzone);
366 IN6_PRINT(ip6bufs, &ip6->ip6_src),
367 IN6_PRINT(ip6bufd, &ip6->ip6_dst),
368 ip6->ip6_nxt, if_name(rcvif),
382 in6_clearscope(&ip6->ip6_src);
383 in6_clearscope(&ip6->ip6_dst);
397 ip6 = mtod(m, struct ip6_hdr *);