Searched refs:seqh (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/sys/netipsec/ |
| H A D | xform_esp.c | 271 uint32_t seqh; in esp_input() local 339 seqh = htonl(seqh); in esp_input() 376 crp->crp_aad_length += sizeof(seqh); in esp_input() 389 bcopy(&seqh, (char *)crp->crp_aad + aad_skip, sizeof(seqh)); in esp_input() 390 aad_skip += sizeof(seqh); in esp_input() 402 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in esp_input() 690 uint32_t seqh; in esp_output() local 917 crp->crp_aad_length += sizeof(seqh); in esp_output() 930 bcopy(&seqh, (char *)crp->crp_aad + aad_skip, sizeof(seqh)); in esp_output() 931 aad_skip += sizeof(seqh); in esp_output() [all …]
|
| H A D | ipsec.c | 1254 uint32_t seqh; in ipsec_chkreplay() local 1324 seqh = th - 1; in ipsec_chkreplay() 1335 seqh = th + 1; in ipsec_chkreplay() 1338 if (seqh == 0) { in ipsec_chkreplay() 1369 uint32_t seqh; in ipsec_updatereplay() local 1397 seqh = th; in ipsec_updatereplay() 1406 replay->last = ((uint64_t)seqh << 32) | seq; in ipsec_updatereplay() 1438 seqh = th + 1; in ipsec_updatereplay() 1441 if (seqh == 0) in ipsec_updatereplay() 1444 advance_window(replay, ((uint64_t)seqh << 32) | seq); in ipsec_updatereplay() [all …]
|
| H A D | xform_ah.c | 541 uint32_t seqh; in ah_input() local 565 ipsec_chkreplay(ntohl(ah->ah_seq), &seqh, sav) == 0) { in ah_input() 663 seqh = htonl(seqh); in ah_input() 664 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in ah_input() 847 uint32_t seqh; in ah_output() local 1046 seqh = htonl((uint32_t)(sav->replay->count >> IPSEC_SEQH_SHIFT)); in ah_output() 1047 memcpy(crp->crp_esn, &seqh, sizeof(seqh)); in ah_output()
|