Home
last modified time | relevance | path

Searched refs:sadb_sa_spi (Results 1 – 12 of 12) sorted by relevance

/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Disakmp_inf.c1146 plog(LLV_DEBUG2, LOCATION, NULL, "spi: %u\n", ntohl(sa->sadb_sa_spi));
1160 ntohl(spi[i]), ntohl(sa->sadb_sa_spi));
1161 if (spi[i] != sa->sadb_sa_spi)
1167 src, dst, sa->sadb_sa_spi);
1353 "purging spi=%u.\n", ntohl(sa->sadb_sa_spi));
1356 IPSEC_MODE_ANY, src, dst, sa->sadb_sa_spi);
1364 iph2 = getph2bysaidx(src, dst, proto_id, sa->sadb_sa_spi);
H A Dpfkey.c1056 pr->spi = sa->sadb_sa_spi;
1062 sa->sadb_sa_spi,
1325 && pr->spi == sa->sadb_sa_spi) {
1331 sa->sadb_sa_spi,
1337 msg->sadb_msg_satype, sa->sadb_sa_spi,
1588 msg->sadb_msg_satype, sa->sadb_sa_spi, sa_mode));
1635 msg->sadb_msg_satype, sa->sadb_sa_spi, sa_mode));
1637 iph2 = getph2bysaidx(src, dst, proto_id, sa->sadb_sa_spi);
1647 msg->sadb_msg_satype, sa->sadb_sa_spi,
2023 iph2 = getph2bysaidx(src, dst, proto_id, sa->sadb_sa_spi);
[all …]
H A Disakmp.c3333 iph2 = getph2bysaidx(src, dst, proto_id, sa->sadb_sa_spi);
3342 ntohl(sa->sadb_sa_spi));
3360 ntohl(sa->sadb_sa_spi),
3372 src, dst, sa->sadb_sa_spi);
3383 ntohl(sa->sadb_sa_spi));
/netbsd/crypto/dist/ipsec-tools/src/libipsec/
H A Dpfkey_dump.c366 (u_int32_t)ntohl(m_sa->sadb_sa_spi), in pfkey_sadump1()
367 (u_int32_t)ntohl(m_sa->sadb_sa_spi), in pfkey_sadump1()
H A Dkey_debug.c373 (u_int32_t)ntohl(sa->sadb_sa_spi), sa->sadb_sa_replay, in kdebug_sadb_sa()
H A Dpfkey.c2244 p->sadb_sa_spi = spi; in pfkey_setsadbsa()
/netbsd/crypto/dist/ipsec-tools/src/setkey/
H A Dsetkey.c598 spi[(*num_spi)++] = (uint32_t)ntohl(sa->sadb_sa_spi); in sendkeymsg_spigrep()
941 printf(" %08x", (uint32_t)ntohl(sa->sadb_sa_spi)); in shortdump()
H A Dparse.y1179 m_sa.sadb_sa_spi = htonl(p_spi); in setkeymsg_addr()
1422 m_sa.sadb_sa_spi = htonl(p_spi); in setkeymsg_add()
/netbsd/sys/net/
H A Dpfkeyv2.h103 uint32_t sadb_sa_spi; member
/netbsd/sys/netipsec/
H A Dkey.c3329 newsav->spi = xsa->sadb_sa_spi; in key_newsav()
4288 p->sadb_sa_spi = sav->spi; in key_setsadbsa()
5506 m_sa->sadb_sa_spi = htonl(spi); in key_api_getspi()
5819 sav = key_getsavbyspi(sah, sa0->sadb_sa_spi); in key_api_update()
5822 (u_int32_t)ntohl(sa0->sadb_sa_spi)); in key_api_update()
5836 if (sav->spi != sa0->sadb_sa_spi) { in key_api_update()
5839 (u_int32_t)ntohl(sa0->sadb_sa_spi)); in key_api_update()
5899 oldsav = key_lookup_and_remove_sav(sah, sa0->sadb_sa_spi, sav); in key_api_update()
6070 sav = key_getsavbyspi(sah, sa0->sadb_sa_spi); in key_api_add()
6322 sav = key_lookup_and_remove_sav(sah, sa0->sadb_sa_spi, NULL); in key_api_delete()
[all …]
H A Dkey_debug.c306 (u_int32_t)ntohl(sa->sadb_sa_spi), sa->sadb_sa_replay, in kdebug_sadb_sa()
/netbsd/crypto/dist/ipsec-tools/src/racoon/rfc/
H A Drfc2367.txt832 uint32_t sadb_sa_spi;
849 sadb_sa_spi The Security Parameters Index value for the security
1496 | sadb_sa_spi |
3311 uint32_t sadb_sa_spi;