Searched refs:esn (Results 1 – 4 of 4) sorted by relevance
/openbsd/sys/netinet/ |
H A D | ip_esp.c | 351 uint32_t btsx, esn; in esp_input() local 390 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 0)) { in esp_input() 467 esn = htonl(esn); in esp_input() 468 memcpy(crda->crd_esn, &esn, 4); in esp_input() 546 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 1)) { in esp_input() 934 u_int32_t esn; in esp_output() local 936 esn = htonl((u_int32_t)(replay64 >> 32)); in esp_output() 937 memcpy(crda->crd_esn, &esn, 4); in esp_output() 989 int idx, esn = tdb->tdb_flags & TDBF_ESN; in checkreplaywindow() local 996 (!esn && seq == 0)) in checkreplaywindow() [all …]
|
H A D | ip_ah.c | 537 uint32_t btsx, esn; in ah_input() local 558 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 0)) { in ah_input() 654 esn = htonl(esn); in ah_input() 655 memcpy(crda->crd_esn, &esn, 4); in ah_input() 732 switch (checkreplaywindow(tdb, tdb->tdb_rpl, btsx, &esn, 1)) { in ah_input() 1048 u_int32_t esn; in ah_output() local 1050 esn = htonl((u_int32_t)(replay64 >> 32)); in ah_output() 1051 memcpy(crda->crd_esn, &esn, 4); in ah_output()
|
/openbsd/sys/crypto/ |
H A D | cryptodev.h | 120 u_int8_t esn[4]; /* high-order ESN */ member 123 #define cri_esn u.esn
|
/openbsd/sbin/iked/ |
H A D | ikev2.c | 6132 int esn, skip, ret = -1; in ikev2_childsa_negotiate() local 6274 if (ikev2_valid_proposal(prop, &encrxf, &integrxf, &esn) != 0) in ikev2_childsa_negotiate() 6287 csa->csa_esn = esn; in ikev2_childsa_negotiate() 6454 int esn = 0; in ikev2_childsa_enable() local 6533 esn = csa->csa_esn; in ikev2_childsa_enable() 6619 esn ? " esn" : ""); in ikev2_childsa_enable() 6695 struct iked_transform **exf, struct iked_transform **ixf, int *esn) in ikev2_valid_proposal() argument 6735 if (esn) in ikev2_valid_proposal() 6736 *esn = doesn; in ikev2_valid_proposal()
|