*.PY \
*.F90
RECURSIVE = YES
-EXCLUDE =
+EXCLUDE = _build _compiled
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXCLUDE_SYMBOLS =
#ifndef _FWP_CONF_H
#define _FWP_CONF_H
-/* Number of ACs */
+/** Number of ACs */
#define FWP_AC_NUM 4
#define FWP_MSGQ_SIZE 20
};
struct fwp_contract {
- unsigned int id; /*/< global vres_id */
- unsigned int ac_id; /*/< AC id ~ priority of vres */
- int budget; /*/< */
- long period_usec; /*/< all time units are in microseconds */
+ unsigned int id; /**< global vres_id */
+ unsigned int ac_id; /**< AC id ~ priority of vres */
+ int budget; /**< bytes per period */
+ long period_usec; /**< all time units are in microseconds */
int status;
};
struct fwp_msg_header{
uint8_t code;
- uint16_t hid; /* /< handshake ID */
+ uint16_t hid; /**< handshake ID */
}__attribute__((packed));
struct fwp_msg_contract{
- uint16_t id; /*/< global contract_id */
- uint8_t ac_id; /*/< AC id ~ priority of vres */
- uint16_t budget; /*/< bits per second */
- uint32_t period_usec; /*/< all time units are in microseconds */
+ uint16_t id; /**< global contract_id */
+ uint8_t ac_id; /**< AC id ~ priority of vres */
+ uint16_t budget; /**< bits per second */
+ uint32_t period_usec; /**< all time units are in microseconds */
uint8_t status;
}__attribute__((packed));
struct fwp_msgq {
- unsigned int nr_pending; /*/< number of messages in the queue */
+ unsigned int nr_pending; /**< number of messages in the queue */
/* queue reject policy */
/*queue_rejection_policy qr_policy;*/
#include "fwp_ac.h"
#include "fwp_util.h"
-/* WMM defines 4 queues */
+/** WMM defines 4 queues */
enum ac_id_t {
FWP_AC_VO = 0,
FWP_AC_VI = 1,
fwp_init();
}
-/* FNA negotiate routines */
+/** FNA negotiate routine */
int fwp_fna_contract_negotiate
(const frsh_resource_id_t resource_id,
}
-/* FNA send routines */
+/** FNA send routine */
int fwp_fna_send(const fna_endpoint_data_t *endpoint,const void *msg,
const size_t size, int flags)
return fwp_fna_send(endpoint, msg, size, MSG_DONTWAIT)
{
-/* FNA receive routines */
+/** FNA receive routines */
int fwp_fna_receive(const fna_endpoint_data_t *endpoint, void *buffer,
const size_t buffer_size, size_t *received_bytes,
};
/**
- ** \brief Structure of fwp vres
- **
- **
- **/
+ * Structure of FWP vres.
+ *
+ *
+ */
struct fwp_vres{
struct fwp_contract contract;
struct fwp_msgq tx_queue;