|
Data Structures | |
struct | ipsecdev_stats |
Defines | |
#define | IPSEC_HLEN (PBUF_IP_HLEN + 24 + PBUF_TRANSPORT_HLEN) |
#define | IPSEC_MTU (PBUF_POOL_BUFSIZE - PBUF_LINK_HLEN - IPSEC_HLEN) |
Functions | |
void | ipsecdev_service (struct netif *) |
err_t | ipsecdev_input (struct pbuf *, struct netif *) |
err_t | ipsecdev_output (struct netif *, struct pbuf *, struct ip_addr *) |
err_t | ipsecdev_netlink_output (struct netif *netif, struct pbuf *p) |
err_t | ipsecdev_init (struct netif *) |
void | ipsec_set_tunnel (char *src, char *dst) |
|
Add room for an other IP header and AH(24 bytes with HMAC-xxx-96)/ESP(8 bytes) data Definition at line 56 of file ipsecdev.h. |
|
maximum packet size which can be handled by ipsecdev Definition at line 57 of file ipsecdev.h. |
|
Setter function for tunnel source and destination address
Definition at line 481 of file ipsecdev.c. |
|
Initialize the ipsec network device This function must be called prior to any other operation with this device.
Definition at line 402 of file ipsecdev.c. |
|
This function is used to process incomming IP packets. This function is called by the physical network driver when a new packet has been received. To decide how to handle the packet, the Security Policy Database is called. ESP and AH packets are directly forwarded to ipsec_input() while other packets must pass the SPD lookup.
Definition at line 123 of file ipsecdev.c. |
|
This function is used to send a packet directly out of the network device. The packet is directly sent as-is the network device output function. It is used to serve ARP traffic.
Definition at line 378 of file ipsecdev.c. |
|
This function is used to send a packet out to the network device. IPsec processing for outbound traffic is done here before forwarding the IP packet to the physical network device. The SPD is queried in order to know how the packet must be handled.
Definition at line 243 of file ipsecdev.c. |
|
This is just used to provide an consisstend interface. This function has no functionality.
Definition at line 100 of file ipsecdev.c. |