Moep Library  2.0-nc
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
tap.h File Reference
#include <netinet/in.h>
#include <moep/dev.h>

Go to the source code of this file.

Functions

moep_dev_t moep_dev_tap_open (u8 *addr, const struct in_addr *ip, int prefixlen, int mtu, struct moep_frame_ops *l2_ops)
 open a tap device More...
 
int moep_dev_tap_get_hwaddr (moep_dev_t dev, u8 *addr)
 get hardware address More...
 
moep_frame_t moep_frame_tap_create (struct moep_frame_ops *l2_ops)
 create a tap frame More...