Home
last modified time | relevance | path

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

/system/netd/server/
DXfrmController.cpp1335 int XfrmController::fillUserSpInfo(const XfrmSpInfo& record, xfrm_userpolicy_info* usersp) { in fillUserSpInfo() argument
1336 fillXfrmSelector(record.selAddrFamily, &usersp->sel); in fillUserSpInfo()
1337 fillXfrmLifetimeDefaults(&usersp->lft); in fillUserSpInfo()
1338 fillXfrmCurLifetimeDefaults(&usersp->curlft); in fillUserSpInfo()
1341 usersp->index = 0; in fillUserSpInfo()
1342 usersp->dir = static_cast<uint8_t>(record.direction); in fillUserSpInfo()
1343 usersp->action = XFRM_POLICY_ALLOW; in fillUserSpInfo()
1344 usersp->flags = XFRM_POLICY_LOCALOK; in fillUserSpInfo()
1345 usersp->share = XFRM_SHARE_UNIQUE; in fillUserSpInfo()
1346 return sizeof(*usersp); in fillUserSpInfo()
[all …]
DXfrmController.h418 static int fillUserSpInfo(const XfrmSpInfo& record, xfrm_userpolicy_info* usersp);