POK(kernelpart)
port.h File Reference

Describe queueing and sampling ports structures. More...

#include <types.h>
#include <errno.h>
#include <core/lockobj.h>

Go to the source code of this file.

Data Structures

struct  pok_port_t

Macros

#define POK_PORT_MAX_SIZE   512

Typedefs

typedef pok_queueing_discipline_t pok_port_queueing_discipline_t

Enumerations

enum  pok_port_queueing_disciplines_t { POK_PORT_QUEUEING_DISCIPLINE_FIFO = 1, POK_PORT_QUEUEING_DISCIPLINE_PRIORITY = 2 }
enum  pok_port_directions_t { POK_PORT_DIRECTION_IN = 1, POK_PORT_DIRECTION_OUT = 2 }
enum  pok_port_kinds_t { POK_PORT_KIND_QUEUEING = 1, POK_PORT_KIND_SAMPLING = 2, POK_PORT_KIND_INVALID = 10 }

Detailed Description

Describe queueing and sampling ports structures.

Date:
2008-2009
Author:
Julien Delange

Definition in file port.h.


Macro Definition Documentation

#define POK_PORT_MAX_SIZE   512

Definition at line 31 of file port.h.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
POK_PORT_DIRECTION_IN 
POK_PORT_DIRECTION_OUT 

Definition at line 39 of file port.h.

Enumerator:
POK_PORT_KIND_QUEUEING 
POK_PORT_KIND_SAMPLING 
POK_PORT_KIND_INVALID 

Definition at line 47 of file port.h.

{
#ifdef POK_NEEDS_PORTS_VIRTUAL
POK_PORT_KIND_VIRTUAL = 2,
#endif
Enumerator:
POK_PORT_QUEUEING_DISCIPLINE_FIFO 
POK_PORT_QUEUEING_DISCIPLINE_PRIORITY 

Definition at line 33 of file port.h.