Lines Matching refs:family
230 family = AF_INET6 if ":" in addr else AF_INET
231 return inet_pton(family, addr)
245 def EmptySelector(family): argument
247 return XfrmSelector(family=family)
258 family = net_test.GetAddressFamily(srcver)
260 prefixlen_s=prefixlen, prefixlen_d=prefixlen, family=family)
284 def UserTemplate(family, spi, reqid, tun_addrs): argument
310 family=family,
509 family = AF_INET6 if ":" in dst else AF_INET
558 cur, stats, seq, reqid, family, mode, replay, flags))
575 family = AF_INET6 if ":" in dst else AF_INET
576 usersa_id = XfrmUsersaId((PaddedAddress(dst), spi, family, proto))
602 spi.info.family = AF_INET6 if ":" in dst else AF_INET