Moep Library  2.0-nc
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
module.h File Reference
#include <stddef.h>
#include <moep/types.h>
#include <moep/frame.h>
#include <moep/dev.h>

Go to the source code of this file.

Data Structures

struct  moep_frame_ops
 frame header operations More...
 
struct  moep_dev_ops
 moep device operations More...
 

Functions

moep_frame_t moep_frame_create (struct moep_frame_ops *l1_ops, struct moep_frame_ops *l2_ops)
 create a frame More...
 
void moep_frame_convert (moep_frame_t frame, struct moep_frame_ops *l1_ops, struct moep_frame_ops *l2_ops)
 convert a frame More...
 
void * moep_frame_l1_hdr (moep_frame_t frame, struct moep_frame_ops *l1_ops)
 layer 1 header More...
 
void * moep_frame_l2_hdr (moep_frame_t frame, struct moep_frame_ops *l2_ops)
 layer 2 header More...
 
moep_dev_t moep_dev_open (int fd, int mtu, struct moep_dev_ops *ops, void *priv, struct moep_frame_ops *l1_ops, struct moep_frame_ops *l2_ops)
 open a moep device More...
 
void * moep_dev_get_priv (moep_dev_t dev, struct moep_dev_ops *ops)
 return the private data of a moep device More...