Home | History | Annotate | Download | only in netinet6

Lines Matching refs:ip6

150 #include <netinet/ip6.h>
1018 * pointed to by "ip6" has arrived on (or is about to be sent to) the interface
1027 ip6_mforward(struct ip6_hdr *ip6, struct ifnet *ifp, struct mbuf *m)
1040 IN6_PRINT(ip6bufs, &ip6->ip6_src),
1041 IN6_PRINT(ip6bufd, &ip6->ip6_dst),
1049 if (ip6->ip6_hlim <= 1 || IN6_IS_ADDR_MC_NODELOCAL(&ip6->ip6_dst) ||
1050 IN6_IS_ADDR_MC_LINKLOCAL(&ip6->ip6_dst))
1052 ip6->ip6_hlim--;
1061 if (IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) {
1068 IN6_PRINT(ip6bufs, &ip6->ip6_src),
1069 IN6_PRINT(ip6bufd, &ip6->ip6_dst),
1070 ip6->ip6_nxt,
1081 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt);
1106 IN6_PRINT(ip6bufs, &ip6->ip6_src),
1107 IN6_PRINT(ip6bufd, &ip6->ip6_dst));
1134 hash = MF6CHASH(ip6->ip6_src, ip6->ip6_dst);
1136 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_src,
1138 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst,
1174 sockaddr_in6_init(&sin6, &ip6->ip6_src, 0, 0, 0);
1232 sockaddr_in6_init(&rt->mf6c_origin, &ip6->ip6_src,
1234 sockaddr_in6_init(&rt->mf6c_mcastgrp, &ip6->ip6_dst,
1350 #define MC6_SEND(ip6, mifp, m) do { \
1352 register_send((ip6), (mifp), (m)); \
1354 phyint_send((ip6), (mifp), (m)); \
1363 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
1484 src0 = ip6->ip6_src;
1485 dst0 = ip6->ip6_dst;
1516 MC6_SEND(ip6, mifp, m);
1524 phyint_send(struct ip6_hdr *ip6, struct mif6 *mifp, struct mbuf *m)
1563 /* XXX: ip6_output will override ip6->ip6_hlim */
1564 im6o.im6o_multicast_hlim = ip6->ip6_hlim;
1586 sockaddr_in6_init(&dst6, &ip6->ip6_dst, 0, 0, 0);
1588 ingroup = in6_multi_group(&ip6->ip6_dst, ifp);
1624 IN6_PRINT(ip6bufs, &ip6->ip6_src),
1625 IN6_PRINT(ip6bufd, &ip6->ip6_dst),
1637 register_send(struct ip6_hdr *ip6, struct mif6 *mif, struct mbuf *m)
1648 IN6_PRINT(ip6bufs, &ip6->ip6_src),
1649 IN6_PRINT(ip6bufd, &ip6->ip6_dst));
1676 sockaddr_in6_init(&sin6, &ip6->ip6_src, 0, 0, 0);
1710 struct ip6_hdr *ip6 __mrt6debugused;
1718 ip6 = mtod(m, struct ip6_hdr *);
1745 * Make sure that the IP6 and PIM headers in contiguous memory, and
1796 * headers ip6+pim+u_int32_t+encap_ip6, to be passed up to the
1835 pimlen, IN6_PRINT(ip6buf, &ip6->ip6_src));
1900 * forward the inner ip6 packet; point m_data at the inner ip6.
1926 * encapsulator ip6 header, pim header, register header and the
1927 * encapsulated ip6 header.