Home
last modified time | relevance | path

Searched refs:GET_V4 (Results 1 – 1 of 1) sorted by relevance

/netbsd/sys/net/
H A Dif_stf.c127 #define GET_V4(x) ((const struct in_addr *)(&(x)->s6_addr16[1])) macro
298 if (memcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst, in stf_encapcheck()
309 a.s_addr = GET_V4(&ia6->ia_addr.sin6_addr)->s_addr; in stf_encapcheck()
310 a.s_addr &= GET_V4(&ia6->ia_prefixmask.sin6_addr)->s_addr; in stf_encapcheck()
312 b.s_addr &= GET_V4(&ia6->ia_prefixmask.sin6_addr)->s_addr; in stf_encapcheck()
337 memcpy(&in, GET_V4(&sin6->sin6_addr), sizeof(in)); in stf_getsrcifa6()
404 in4 = GET_V4(&ip6->ip6_dst); in stf_output()
406 in4 = GET_V4(&dst6->sin6_addr); in stf_output()
426 bcopy(GET_V4(&((struct sockaddr_in6 *)&ia6->ia_addr)->sin6_addr), in stf_output()
553 return stf_checkaddr4(sc, GET_V4(in6), inifp); in stf_checkaddr6()
[all …]