Click
Loading...
Searching...
No Matches
skbmgr.hh
1// -*- c-basic-offset: 2; related-file-name: "../../linuxmodule/skbmgr.cc" -*-
2#ifndef CLICK_SKBMGR_HH
3#define CLICK_SKBMGR_HH
4CLICK_DECLS
5
6void skbmgr_init();
7void skbmgr_cleanup();
8
9/* allocate skbs. Number of skbs allocated is stored in the want variable */
10struct sk_buff *skbmgr_allocate_skbs(unsigned headroom, unsigned size, int *want);
11
12/* recycle skb back into pool */
13void skbmgr_recycle_skbs(struct sk_buff *);
14
15CLICK_ENDDECLS
16#endif