next up previous
Next: 3.4 klips1 tdb Up: 3 KLIPS1 static structure Previous: 3.2 klips1 eroute

3.3 klips1 tdbh

This is an array of pointers to struct tdb structures. It serves as a root for chained hash buckets. It is an open hash.

These are managed by the code in ipsec_xform.c. These provide a mapping from a struct sa_id to a struct tdb based upon SPI, protocol and destination address.

The entries in each bucket are linked together using the tdb_hnext field.

Michael Richardson