Blame view

include/net/esp.h 225 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef _NET_ESP_H
  #define _NET_ESP_H
38320c70d   Herbert Xu   [IPSEC]: Use cryp...
3
  #include <linux/skbuff.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
4

87bdc48d3   Herbert Xu   [IPSEC]: Get rid ...
5
6
7
8
9
10
  struct ip_esp_hdr;
  
  static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
  {
  	return (struct ip_esp_hdr *)skb_transport_header(skb);
  }
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11
  #endif