Revert "libipsec: Added Windows tun device support"
This reverts commit 77b91e6d0e.
This commit is contained in:
1 parent
77b91e6d0e
commit
bf3e4c85d0
3 files changed
+8
-348
No files matched your search
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2012 Tobias Brunner
|
||||
* Copyright (C) 2020 Noel Kuntze
|
||||
*
|
||||
* Copyright (C) secunet Security Networks AG
|
||||
*
|
||||
@@ -47,15 +46,6 @@ typedef void (*ipsec_inbound_cb_t)(void *data, ip_packet_t *packet);
|
||||
*/
|
||||
typedef void (*ipsec_outbound_cb_t)(void *data, esp_packet_t *packet);
|
||||
|
||||
|
||||
/**
|
||||
* Callback called to raise acquire events.
|
||||
*
|
||||
* @param reqid reqid of the matched IPsec policy
|
||||
* @param data data supplied during registration of the callback
|
||||
*/
|
||||
typedef void (*ipsec_acquire_cb_t)(uint32_t reqid, kernel_acquire_data_t *data);
|
||||
|
||||
/**
|
||||
* IPsec processor
|
||||
*/
|
||||
@@ -109,22 +99,6 @@ struct ipsec_processor_t {
|
||||
void (*unregister_outbound)(ipsec_processor_t *this,
|
||||
ipsec_outbound_cb_t cb);
|
||||
|
||||
/**
|
||||
* Register the callback used to raise an acquire event.
|
||||
*
|
||||
* @param cb the callback function
|
||||
* @param data optional data provided to the callback
|
||||
*/
|
||||
void (*register_acquire)(ipsec_processor_t *this, ipsec_acquire_cb_t cb,
|
||||
void *data);
|
||||
|
||||
/**
|
||||
* Unregister a previously registered acquire callback.
|
||||
*
|
||||
* @param cb previously registered acquire callback
|
||||
*/
|
||||
void (*unregister_acquire)(ipsec_processor_t *this, ipsec_acquire_cb_t cb);
|
||||
|
||||
/**
|
||||
* Destroy an ipsec_processor_t.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user