| Argument | Type | Description |
|---|
| spi | num | |
| state | enum (larval | mature | dying | dead) { larval:0, mature:1, dying:2, dead:3 } | |
| auth-algorithm | enum (none | md5 | sha1 | sha256 | sha512) { none:0, md5:2, sha1:3, sha256:5, sha512:7 } | |
| enc-algorithm | enum (none | des | 3des | null | aes-cbc | aes-ctr | aes-gcm | blowfish | twofish | camellia | chacha20poly1305) { none:0, des:2, 3des:3, null:11, aes-cbc:12, aes-ctr:13, aes-gcm:20, blowfish:7, twofish:253, camellia:22, chacha20poly1305:254 } | |
| enc-key-size | num | |
| auth-key | string | |
| enc-key | string | |
| addtime | date | |
| expires-in | time | |
| add-lifetime | composite { soft: time
, hard: time
} | |
| current-bytes | num | |
| current-packets | num | |
| invalid-packets | num | |
| replay | num | |