2012-09-28 02:29:05 +07: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 06:37:15 +07:00
|
|
|
struct gro_cell;
|
2012-09-28 02:29:05 +07:00
|
|
|
|
|
|
|
struct gro_cells {
|
2015-01-17 01:11:00 +07:00
|
|
|
struct gro_cell __percpu *cells;
|
2012-09-28 02:29:05 +07:00
|
|
|
};
|
|
|
|
|
2017-02-08 06:37:15 +07: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 02:29:05 +07:00
|
|
|
|
|
|
|
#endif
|