Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _NET_GRO_CELLS_H
0003 #define _NET_GRO_CELLS_H
0004 
0005 #include <linux/skbuff.h>
0006 #include <linux/slab.h>
0007 #include <linux/netdevice.h>
0008 
0009 struct gro_cell;
0010 
0011 struct gro_cells {
0012     struct gro_cell __percpu    *cells;
0013 };
0014 
0015 int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb);
0016 int gro_cells_init(struct gro_cells *gcells, struct net_device *dev);
0017 void gro_cells_destroy(struct gro_cells *gcells);
0018 
0019 #endif