#include <linux/skbuff.h>
#include <linux/init.h>
#include <net/protocol.h>
#include <net/gre.h>
#include <net/gro.h>
#include <net/gso.h>
static struct sk_buff *gre_gso_segment(struct sk_buff *skb,
netdev_features_t features)
{ … }
static struct sk_buff *gre_gro_receive(struct list_head *head,
struct sk_buff *skb)
{ … }
static int gre_gro_complete(struct sk_buff *skb, int nhoff)
{ … }
static const struct net_offload gre_offload = …;
static int __init gre_offload_init(void)
{ … }
device_initcall(gre_offload_init);