Lines Matching refs:family
238 family = AF_INET6 if ":" in addr else AF_INET
239 return inet_pton(family, addr)
253 def EmptySelector(family): argument
255 return XfrmSelector(family=family)
266 family = net_test.GetAddressFamily(srcver)
268 prefixlen_s=prefixlen, prefixlen_d=prefixlen, family=family)
292 def UserTemplate(family, spi, reqid, tun_addrs): argument
318 family=family,
517 family = AF_INET6 if ":" in dst else AF_INET
566 cur, stats, seq, reqid, family, mode, replay, flags))
583 family = AF_INET6 if ":" in dst else AF_INET
584 usersa_id = XfrmUsersaId((PaddedAddress(dst), spi, family, proto))
610 spi.info.family = AF_INET6 if ":" in dst else AF_INET