24 #ifndef __POK_KERNEL_PORTS_H__
25 #define __POK_KERNEL_PORTS_H__
31 #define POK_PORT_MAX_SIZE 512
51 #ifdef POK_NEEDS_PORTS_VIRTUAL
52 POK_PORT_KIND_VIRTUAL = 2,
77 #ifdef POK_NEEDS_PORTS_QUEUEING
84 }pok_port_queueing_status_t;
87 pok_ret_t pok_port_queueing_create (
char* name,
105 pok_port_queueing_status_t* status);
107 pok_ret_t pok_port_queueing_id (
char* name,
111 #ifdef POK_NEEDS_PORTS_SAMPLING
120 }pok_port_sampling_status_t;
123 pok_ret_t pok_port_sampling_create (
char* name,
138 pok_ret_t pok_port_sampling_id (
char* name,
142 pok_port_sampling_status_t* status);
145 #if defined (POK_NEEDS_PORTS_SAMPLING) || defined (POK_NEEDS_PORTS_QUEUEING)
156 void pok_port_init(
void);
157 void pok_port_queueing_flushall (
void);
167 #ifdef POK_NEEDS_PORTS_VIRTUAL
168 pok_ret_t pok_port_virtual_id (
char* name,