esp.h 225 B

12345678910111213
  1. #ifndef _NET_ESP_H
  2. #define _NET_ESP_H
  3. #include <linux/skbuff.h>
  4. struct ip_esp_hdr;
  5. static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
  6. {
  7. return (struct ip_esp_hdr *)skb_transport_header(skb);
  8. }
  9. #endif