vdetelweb is now based on libvdehist
[vde.git] / ipn / ipn_msgbuf.h
bloba72a417439de9897cdea301eb9a790346c1c1e6c
1 /*
2 * Inter process networking (virtual distributed ethernet) module
3 * management of msgbuf (one slab for each MTU)
4 * (part of the View-OS project: wiki.virtualsquare.org)
6 * Copyright (C) 2007 Renzo Davoli (renzo@cs.unibo.it)
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * Due to this file being licensed under the GPL there is controversy over
14 * whether this permits you to write a module that #includes this file
15 * without placing your module under the GPL. Please consult a lawyer for
16 * advice before doing this.
18 * WARNING: THIS CODE IS ALREADY EXPERIMENTAL
22 #ifndef _IPN_MSGBUF_H
23 #define _IPN_MSGBUF_H
25 struct kmem_cache *ipn_msgbuf_get(int mtu);
26 void ipn_msgbuf_put(struct kmem_cache *cache);
27 int ipn_msgbuf_init(void);
28 void ipn_msgbuf_fini(void);
30 #endif