Home
last modified time | relevance | path

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

/system/netd/server/
DXfrmControllerTest.cpp404 XfrmController::nlattr_xfrm_replay_esn* const replay_esn = &_replayEsn; in testIpSecAddSecurityAssociation() local
405 auto attrHandler = [&encryptAlgo, &authAlgo, &mark, &outputmark, &xfrm_if_id, &replay_esn]( in testIpSecAddSecurityAssociation()
428 replay_esn->hdr = attr; in testIpSecAddSecurityAssociation()
429 netdutils::extract(buf, replay_esn->replay_state); in testIpSecAddSecurityAssociation()
441 EXPECT_EQ(REPLAY_WINDOW_SIZE_ESN, replay_esn->replay_state.replay_window); in testIpSecAddSecurityAssociation()
442 EXPECT_EQ((REPLAY_WINDOW_SIZE_ESN + 31) / 32, replay_esn->replay_state.bmp_len); in testIpSecAddSecurityAssociation()
DXfrmController.h425 static int fillNlAttrXfrmReplayEsn(nlattr_xfrm_replay_esn* replay_esn);
DXfrmController.cpp1434 int XfrmController::fillNlAttrXfrmReplayEsn(nlattr_xfrm_replay_esn* replay_esn) { in fillNlAttrXfrmReplayEsn() argument
1435 replay_esn->replay_state.replay_window = REPLAY_WINDOW_SIZE_ESN; in fillNlAttrXfrmReplayEsn()
1436 replay_esn->replay_state.bmp_len = (REPLAY_WINDOW_SIZE_ESN + 31) / 32; in fillNlAttrXfrmReplayEsn()
1440 fillXfrmNlaHdr(&replay_esn->hdr, XFRMA_REPLAY_ESN_VAL, len); in fillNlAttrXfrmReplayEsn()