• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/

Lines Matching refs:ip6

105 #include <netinet/ip6.h>
947 * pointed to by "ip6" has arrived on (or is about to be sent to) the interface
957 ip6_mforward(ip6, ifp, m)
958 struct ip6_hdr *ip6;
971 ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst),
979 if (ip6->ip6_hlim <= 1 || IN6_IS_ADDR_MC_NODELOCAL(&ip6->ip6_dst) ||
980 IN6_IS_ADDR_MC_LINKLOCAL(&ip6->ip6_dst))
982 ip6->ip6_hlim--;
992 if (IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) {
999 ip6_sprintf(&ip6->ip6_src),
1000 ip6_sprintf(&ip6->ip6_dst),
1001 ip6->ip6_nxt,
1010 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt);
1036 ip6_sprintf(&ip6->ip6_src),
1037 ip6_sprintf(&ip6->ip6_dst));
1063 hash = MF6CHASH(ip6->ip6_src, ip6->ip6_dst);
1065 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_src,
1067 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst,
1103 sin6.sin6_addr = ip6->ip6_src;
1167 rt->mf6c_origin.sin6_addr = ip6->ip6_src;
1170 rt->mf6c_mcastgrp.sin6_addr = ip6->ip6_dst;
1279 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
1290 #define MC6_SEND(ip6, mifp, m) do { \
1292 register_send((ip6), (mifp), (m)); \
1294 phyint_send((ip6), (mifp), (m)); \
1425 (in6_addr2scopeid(ifp, &ip6->ip6_dst) !=
1427 &ip6->ip6_dst) ||
1428 in6_addr2scopeid(ifp, &ip6->ip6_src) !=
1430 &ip6->ip6_src))) {
1437 MC6_SEND(ip6, mifp, m);
1443 phyint_send(ip6, mifp, m)
1444 struct ip6_hdr *ip6;
1481 /* XXX: ip6_output will override ip6->ip6_hlim */
1482 im6o.im6o_multicast_hlim = ip6->ip6_hlim;
1501 IN6_LOOKUP_MULTI(ip6->ip6_dst, ifp, in6m);
1505 dst6->sin6_addr = ip6->ip6_dst;
1515 dst6->sin6_addr = ip6->ip6_dst;
1551 ip6_sprintf(&ip6->ip6_src),
1552 ip6_sprintf(&ip6->ip6_dst),
1561 register_send(ip6, mif, m)
1562 struct ip6_hdr *ip6;
1575 ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst));
1610 addr.sin6_addr = ip6->ip6_src;
1646 struct ip6_hdr *ip6;
1655 ip6 = mtod(m, struct ip6_hdr *);
1657 proto = ip6->ip6_nxt;
1689 ip6 = mtod(m, struct ip6_hdr *);
1692 pim = (struct pim *)((caddr_t)ip6 + off);
1743 * headers ip6+pim+u_int32_t+encap_ip6, to be passed up to the
1781 pimlen, ip6_sprintf(&ip6->ip6_src));
1839 * forward the inner ip6 packet; point m_data at the inner ip6.
1876 * encapsulator ip6 header, pim header, register header and the
1877 * encapsulated ip6 header.