summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index cb0d5d09c2e4..cb4e508b3f38 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2159,23 +2159,6 @@ struct packet_offload {
2159 struct list_head list; 2159 struct list_head list;
2160}; 2160};
2161 2161
2162struct udp_offload;
2163
2164struct udp_offload_callbacks {
2165 struct sk_buff **(*gro_receive)(struct sk_buff **head,
2166 struct sk_buff *skb,
2167 struct udp_offload *uoff);
2168 int (*gro_complete)(struct sk_buff *skb,
2169 int nhoff,
2170 struct udp_offload *uoff);
2171};
2172
2173struct udp_offload {
2174 __be16 port;
2175 u8 ipproto;
2176 struct udp_offload_callbacks callbacks;
2177};
2178
2179/* often modified stats are per-CPU, other are shared (netdev->stats) */ 2162/* often modified stats are per-CPU, other are shared (netdev->stats) */
2180struct pcpu_sw_netstats { 2163struct pcpu_sw_netstats {
2181 u64 rx_packets; 2164 u64 rx_packets;