Home
last modified time | relevance | path

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

/system/netd/server/
DXfrmController.cpp589 if (saInfo.addrFamily != AF_INET) { in ipSecAddSecurityAssociation()
672 info->addrFamily = destFamily.value(); in fillXfrmCommonInfo()
723 spInfo.selAddrFamily = spInfo.addrFamily; in ipSecApplyTransportModeTransform()
728 if (saddr.ss_family == AF_INET && spInfo.addrFamily != AF_INET) { in ipSecApplyTransportModeTransform()
731 saddr.ss_family, spInfo.addrFamily); in ipSecApplyTransportModeTransform()
1060 usersa->family = record.addrFamily; in fillUserSaInfo()
1076 said->family = record.addrFamily; in fillUserSaId()
1269 tmpl->family = record.addrFamily; in fillUserTemplate()
DXfrmController.h114 int addrFamily; // AF_INET or AF_INET6 member
/system/netd/tests/
Dbinder_test.cpp356 for (int addrFamily : ADDRESS_FAMILIES) { in TEST_F() local
357 status = mNetd->ipSecAddSecurityPolicy(0, addrFamily, direction, "127.0.0.5", in TEST_F()
360 << " family: " << addrFamily << " direction: " << direction; in TEST_F()
366 for (int addrFamily : ADDRESS_FAMILIES) { in TEST_F() local
367 status = mNetd->ipSecDeleteSecurityPolicy(0, addrFamily, direction, 0, 0, 0); in TEST_F()
380 for (int addrFamily : ADDRESS_FAMILIES) { in TEST_F() local
381 status = mNetd->ipSecAddSecurityPolicy(0, addrFamily, direction, "2001:db8::f00d", in TEST_F()
384 << " family: " << addrFamily << " direction: " << direction; in TEST_F()
390 for (int addrFamily : ADDRESS_FAMILIES) { in TEST_F() local
391 status = mNetd->ipSecDeleteSecurityPolicy(0, addrFamily, direction, 0, 0, 0); in TEST_F()