Searched refs:usersp (Results 1 – 2 of 2) sorted by relevance
1329 int XfrmController::fillUserSpInfo(const XfrmSpInfo& record, xfrm_userpolicy_info* usersp) { in fillUserSpInfo() argument1330 fillXfrmSelector(record.selAddrFamily, &usersp->sel); in fillUserSpInfo()1331 fillXfrmLifetimeDefaults(&usersp->lft); in fillUserSpInfo()1332 fillXfrmCurLifetimeDefaults(&usersp->curlft); in fillUserSpInfo()1335 usersp->index = 0; in fillUserSpInfo()1336 usersp->dir = static_cast<uint8_t>(record.direction); in fillUserSpInfo()1337 usersp->action = XFRM_POLICY_ALLOW; in fillUserSpInfo()1338 usersp->flags = XFRM_POLICY_LOCALOK; in fillUserSpInfo()1339 usersp->share = XFRM_SHARE_UNIQUE; in fillUserSpInfo()1340 return sizeof(*usersp); in fillUserSpInfo()[all …]
401 static int fillUserSpInfo(const XfrmSpInfo& record, xfrm_userpolicy_info* usersp);