2012-09-28 03:29:05 +08:00
|
|
|
#ifndef _NET_GRO_CELLS_H
|
|
|
|
#define _NET_GRO_CELLS_H
|
|
|
|
|
|
|
|
#include <linux/skbuff.h>
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <linux/netdevice.h>
|
|
|
|
|
2017-02-08 07:37:15 +08:00
|
|
|
struct gro_cell;
|
2012-09-28 03:29:05 +08:00
|
|
|
|
|
|
|
struct gro_cells {
|
2015-01-17 02:11:00 +08:00
|
|
|
struct gro_cell __percpu *cells;
|
2012-09-28 03:29:05 +08:00
|
|
|
};
|
|
|
|
|
2017-02-08 07:37:15 +08:00
|
|
|
int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
|
|
|
|
int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
|
|
|
|
void gro_cells_destroy(struct gro_cells *gcells);
|
2012-09-28 03:29:05 +08:00
|
|
|
|
|
|
|
#endif
|