Expand description
Functions for managing RFC2367 keys
Structs§
- Address
- Address information for a security association.
- Association
- Basic information about a security association.
- GetAssociation
Response - Response information returned from kernel from a key association request.
- Header
- A PF_KEY security association header.
- Lifetime
- Lifetime information for a security association.
- StrAuth
- String authentication information for this security association.
- TcpMd5
AddKey Request - A packet to add a TCP-MD5 security association.
- TcpMd5
Delete KeyRequest - A packet to delete a TCP-MD5 security association.
- TcpMd5
GetKey Request - A packet to request info about a TCP-MD5 security association.
- TcpMd5
Update KeyRequest - A packet to update a TCP-MD5 security association.
Enums§
- Error
- Errors that can be returned from PF_KEY operations.
- Extension
- The extension enumeration contains all PF_KEY extensions supported by this module.
- Message
Type - PF_KEY message types.
- SaAuth
Type - PF_KEY security association authentication types.
- SaEncrypt
Type - PF_KEY security association encryption types.
- SaExt
Type - PF_KEY security association extension types.
- SaState
- PF_KEY security association states.
- SaType
- PF_KEY security association types.
Functions§
- tcp_
md5_ key_ add - Add a TCP-MD5 security association for the provided source and destination
address with
authstring
as the key that is valid forvalid_time
after creation. If update is true, this is treated as an update to an existing association, otherwise a new association is created. - tcp_
md5_ key_ get - Get info on a TCP-MD5 security association for the provided source and destination address with
- tcp_
md5_ key_ remove - Delete the TCP-MD5 security association for the provided source and destination.
- tcp_
md5_ key_ update - Update a TCP-MD5 security association for the provided source and destination. This function is primarily for updating the lifetime of the security association.