esp.h 294 B

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