#include "common.h"#include <stdlib.h>#include <assert.h>#include <netinet/in.h>#include <openssl/rand.h>#include "IKEv2.h"#include "state.h"#include "session.h"Functions | |
| int | IKEv2BeginSession (struct ikev2_ctx *i2, struct IKEv2Session **session, uint32_t type) |
| Begin new IKEv2 session. | |
| int | IKEv2EndSession (struct ikev2_ctx *i2, struct IKEv2Session *session) |
| End an existing IKEv2 session. | |
| void * | IKEv2GetSession (struct ikev2_ctx *i2, uint8_t *in) |
| Check, if for a packet a new session should be initialized otherwise find the existing session. | |
| int | IKEv2ProcessMsg (const struct ikev2_ctx *i2, uint8_t *in, uint8_t **out, uint32_t *olen, struct IKEv2Session *session) |
| Process IKEv2 Message. | |
|
||||||||||||||||
|
Begin new IKEv2 session.
|
|
||||||||||||
|
End an existing IKEv2 session.
|
|
||||||||||||
|
Check, if for a packet a new session should be initialized otherwise find the existing session.
|
|
||||||||||||||||||||||||
|
Process IKEv2 Message.
|