Linux Audio

Check our new training course

Open-source upstreaming

Need help get the support for your hardware in upstream Linux?
Loading...
v3.15
 1#ifndef _NET_ESP_H
 2#define _NET_ESP_H
 3
 4#include <linux/skbuff.h>
 5
 6struct ip_esp_hdr;
 7
 8static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
 9{
10	return (struct ip_esp_hdr *)skb_transport_header(skb);
11}
12
13#endif
v4.6
 1#ifndef _NET_ESP_H
 2#define _NET_ESP_H
 3
 4#include <linux/skbuff.h>
 5
 6struct ip_esp_hdr;
 7
 8static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
 9{
10	return (struct ip_esp_hdr *)skb_transport_header(skb);
11}
12
13#endif