Moep Library  2.0-nc
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
moep8023.h File Reference
#include <stddef.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
#include <moep/dev.h>
#include <moep/frame.h>
#include <moep/moep_hdr_ext.h>
#include <moep/modules/eth.h>
#include <moep/modules/tap.h>
#include <moep/modules/unix.h>

Go to the source code of this file.

Data Structures

struct  moep8023_hdr
 

Macros

#define MOEP8023_FRAME_DISCRIMINATOR   0x88b5
 

Functions

moep_dev_t moep_dev_moep8023_open (const char *devname, u8 *addr, const struct in_addr *ip, int prefixlen, int mtu)
 open a moep8023 device More...
 
moep_dev_t moep_dev_moep8023_tap_open (u8 *addr, const struct in_addr *ip, int prefixlen, int mtu)
 open a moep8023 tap device More...
 
moep_dev_t moep_dev_moep8023_unix_open (const char *devname, int mtu)
 open a moep8023 unix device More...
 
moep_frame_t moep_frame_moep8023_create (void)
 create a moep8023 frame More...
 
moep_frame_t moep_frame_moep8023_tap_create (void)
 create a moep8023 tap frame More...
 
moep_frame_t moep_frame_moep8023_unix_create (void)
 create a moep8023 unix frame More...
 
struct moep8023_hdrmoep_frame_moep8023_hdr (moep_frame_t frame)
 moep8023 header More...