/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ah_output.c | 192 u_int32_t spi; local 210 (u_int32_t)ntohl(sav->spi))); 219 "SPI=%u\n", (u_int32_t)ntohl(sav->spi))); 224 spi = sav->spi; 285 ahdr->ah_spi = spi; 295 ahdr->ah_spi = spi; 410 u_int32_t spi; local 466 (u_int32_t)ntohl(sav->spi))); 475 "SPI=%u\n", (u_int32_t)ntohl(sav->spi))); [all...] |
H A D | ah_input.c | 134 u_int32_t spi; local 182 spi = ah->ah_spi; 186 IPPROTO_AH, spi)) == 0) { 188 "IPv4 AH input: no key association found for spi %u\n", 189 (u_int32_t)ntohl(spi))); 198 "IPv4 AH input: non-mature/dying SA found for spi %u\n", 199 (u_int32_t)ntohl(spi))); 207 "unsupported authentication algorithm for spi %u\n", 208 (u_int32_t)ntohl(spi))); 249 ipsec4_logpacketstr(ip, spi))); 628 u_int32_t spi; local [all...] |
H A D | esp_input.c | 170 u_int32_t spi; local 220 spi = esp->esp_spi; 224 IPPROTO_ESP, spi)) == 0) { 226 "IPv4 ESP input: no key association found for spi %u\n", 227 (u_int32_t)ntohl(spi))); 236 "IPv4 ESP input: non-mature/dying SA found for spi %u\n", 237 (u_int32_t)ntohl(spi))); 244 "unsupported encryption algorithm for spi %u\n", 245 (u_int32_t)ntohl(spi))); 254 ipsec4_logpacketstr(ip, spi), ipsec_logsast 730 u_int32_t spi; local [all...] |
H A D | esp_output.c | 246 u_int32_t spi; local 292 (u_int32_t)ntohl(sav->spi))); 301 (u_int32_t)ntohl(sav->spi))); 316 "SPI=%u\n", (u_int32_t)ntohl(sav->spi))); 321 spi = sav->spi; 501 esp->esp_spi = spi;
|
H A D | ipcomp_output.c | 144 if ((ntohl(sav->spi) & ~0xffff) != 0 || !algo) { 152 cpi = ntohl(sav->spi) & 0xffff;
|
H A D | ipsec.c | 2863 ipsec4_logpacketstr(ip, spi) 2865 u_int32_t spi; 2875 snprintf(buf, sizeof(buf), "packet(SPI=%u ", (u_int32_t)ntohl(spi)); 2893 ipsec6_logpacketstr(ip6, spi) 2895 u_int32_t spi; 2901 snprintf(buf, sizeof(buf), "packet(SPI=%u ", (u_int32_t)ntohl(spi)); 2932 snprintf(buf, sizeof(buf), "SA(SPI=%u ", (u_int32_t)ntohl(sav->spi)); 3136 "family mismatched between inner and outer spi=%u\n", 3137 (u_int32_t)ntohl(sav->spi))); 3601 "IPv4 must be outer layer, spi 4347 ipsec_addhist( struct mbuf *m, int proto, u_int32_t spi) argument [all...] |
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | key.h | 104 u_int32_t spi,
|
H A D | keydb.h | 84 u_int32_t spi; /* SPI Value, network byte order */ member in struct:secasvar
|
H A D | key.c | 274 /* max count of trial for the decision of spi value */ 278 /* minimum spi value to allocate automatically. */ 282 /* maximun spi value to allocate automatically. */ 563 u_int32_t spi, 1115 u_int32_t spi) 1155 LIST_FOREACH(sav, &spihash[SPIHASH(spi)], spihash) { 1156 if (sav->spi != spi) 1532 sav->refcnt, sav, (u_int32_t)ntohl(sav->spi))); 2352 /* when requesting to allocate spi range 1110 key_allocsa( u_int family, caddr_t src, caddr_t dst, u_int proto, u_int32_t spi) argument 3277 key_newsav2(struct secashead *sah, u_int8_t satype, u_int8_t alg_auth, u_int8_t alg_enc, u_int32_t flags, u_int8_t replay, struct sadb_key *key_auth, u_int16_t key_auth_len, struct sadb_key *key_enc, u_int16_t key_enc_len, u_int16_t natt_port, u_int32_t seq, u_int32_t spi, u_int32_t pid, struct sadb_lifetime *lifetime_hard, struct sadb_lifetime *lifetime_soft) argument 3484 key_checkspidup( struct secasindex *saidx, u_int32_t spi) argument 3517 key_setspi( struct secasvar *sav, u_int32_t spi) argument 3536 key_getsavbyspi( struct secashead *sah, u_int32_t spi) argument 3896 key_setsaval2(struct secasvar *sav, u_int8_t satype, u_int8_t alg_auth, u_int8_t alg_enc, u_int32_t flags, u_int8_t replay, struct sadb_key *key_auth, u_int16_t key_auth_len, struct sadb_key *key_enc, u_int16_t key_enc_len, u_int16_t natt_port, u_int32_t seq, u_int32_t spi, u_int32_t pid, struct sadb_lifetime *lifetime_hard, struct sadb_lifetime *lifetime_soft) argument 5722 u_int32_t spi; local 5924 u_int32_t spi; local 6858 key_getsastatbyspi_one(u_int32_t spi, struct sastat *stat) argument [all...] |
H A D | key_debug.c | 322 printf("sadb_sa{ spi=%u replay=%u state=%u\n", 431 printf(" spi=%x,\n", 432 stats[i].spi); 608 printf(" spi=%u flags=%u\n", 609 (u_int32_t)ntohl(sav->spi), sav->flags);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_utun_crypto.h | 121 u_int32_t spi; // 0 when requesting the index, otherwise it contains the resulting index member in struct:utun_crypto_keys_idx_ipsec_args_v1 165 u_int32_t spi; member in struct:utun_crypto_keys_ipsec_args_v1 235 u_int32_t spi; member in struct:utun_crypto_keys_ipsec_state
|
H A D | if_utun_crypto_ipsec.c | 309 u_int32_t spi, 347 spi, 488 args_ipsec_v1->spi, 501 crypto_keys->state.u.ipsec.spi = args_ipsec_v1->spi; 567 args_ipsec_v1->spi = 0; 568 if ((args_ipsec_v1->spi = utun_ipsec_get_spi(&args_ipsec_v1->src_addr, 295 utun_ipsec_alloc_sav(struct secashead *sah, struct secasvar **sav, struct utun_pcb *pcb, u_int8_t satype, u_int8_t alg_auth, u_int8_t alg_enc, u_int32_t flags, u_int8_t replay, u_int8_t *key_auth, u_int16_t key_auth_len, u_int8_t *key_enc, u_int16_t key_enc_len, u_int16_t natt_port, u_int32_t seq, u_int32_t spi, u_int32_t pid, u_int64_t lifetime_hard, u_int64_t lifetime_soft) argument
|
H A D | pf.c | 757 u_int32_t spi; member in struct:pf_esp_hdr 854 if (!!(diff = a->ext.xport.spi - b->ext.xport.spi)) 984 if (!!(diff = a->gwy.xport.spi - b->gwy.xport.spi)) 1830 if (sh->xport.spi) 1831 printf("[%08x]", ntohl(sh->xport.spi)); 1990 cx->spi != px->spi) 2024 if (sk->lan.xport.spi < [all...] |
H A D | if_utun_crypto.c | 312 if (crypto_keys_args->u.ipsec_v1.spi == cur_crypto_keys->state.u.ipsec.spi) {
|
H A D | pfkeyv2.h | 307 u_int32_t spi; /* SPI Value, network byte order */ member in struct:sastat
|
H A D | pfvar.h | 293 u_int32_t spi; member in union:pf_rule_xport 918 u_int32_t spi; member in union:pf_state_xport
|