Lines Matching defs:ia6
347 struct in6_ifaddr *ia6;
371 ia6 = stf_getsrcifa6(sc->sc_if);
372 if (ia6 == NULL)
378 * success on: dst = 10.1.1.1, ia6->ia_addr = 2002:0a01:0101:...
380 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst,
387 * success on: src = 10.1.1.1, ia6->ia_addr = 2002:0a00:.../24
388 * fail on: src = 10.1.1.1, ia6->ia_addr = 2002:0b00:.../24
391 a.s_addr = GET_V4(&ia6->ia_addr.sin6_addr)->s_addr;
392 a.s_addr &= GET_V4(&ia6->ia_prefixmask.sin6_addr)->s_addr;
394 b.s_addr &= GET_V4(&ia6->ia_prefixmask.sin6_addr)->s_addr;
461 struct in6_ifaddr *ia6;
479 ia6 = stf_getsrcifa6(ifp);
480 if (ia6 == NULL) {
524 bcopy(GET_V4(&((struct sockaddr_in6 *)&ia6->ia_addr)->sin6_addr),