#include <arp.h>
#include <connector.h>
#include <delay.h>
#include <ll.h>
#include <mac.h>
#include "mac-802_16-timers.h"
#include <marshall.h>
#include <packet.h>
#include <queue.h>
#include <random.h>
Go to the source code of this file.
the
802_16 frame formats (i.e., headers) the
map structure the
upstream flow table structure All
global enum and defines needed by the code #define BEFFORT_CONTENTION 6 |
#define BEFFORT_DECISION 1 |
#define BEFFORT_IDLE 0 |
#define BEFFORT_RATECHECK 7 |
#define BEFFORT_REQSENT 5 |
#define BEFFORT_TOSEND 2 |
#define BEFFORT_TOSENDREQ 4 |
#define BEFFORT_WAITFORMAP 3 |
#define BEFFORTSTATES 8 |
#define BROADCAST_SID 1 |
#define CONCAT_ENABLE_BIT 7 |
#define CONCAT_ON_BIT 5 |
#define CONCAT_THRESHHOLD 1 |
#define CONTENTION_GRANT 2 |
#define DATA_GRANT 0 |
#define DATA_PKT 0 |
#define DOWN_DECISION 1 |
#define DOWN_IDLE 0 |
#define DOWN_TOSEND 2 |
#define DOWN_WAITFORMAP 3 |
#define DOWNSTATES 4 |
#define DOWNSTREAM 1 |
#define EPSILON 0.0000000000005 |
#define ERTPOLL_DECISION 1 |
#define ERTPOLL_IDLE 0 |
#define ERTPOLL_TOSEND 2 |
#define ERTPOLL_TOSENDREQ 4 |
#define ERTPOLL_WAITFORMAP 3 |
#define ERTPOLLSTATES 5 |
#define ETHER_HDR_LEN ((ETHER_ADDR_LEN << 1) + ETHER_TYPE_LEN) |
#define FRAG_ENABLE_BIT 8 |
#define FRAG_ON_BIT 6 |
#define MAC802_16_HDR_LEN 6 |
#define MANAGEMENT_MSG_PAYLOAD_SIZE 5 |
#define MAX_GRANT 255 |
#define MAX_NUM_DOWNFLOWS_PERSS 10 |
#define MAX_NUM_IE 240 |
#define MAX_NUM_RETRIES 15 |
#define MAX_NUM_SS_NODES 500 |
#define MAX_NUM_UPFLOWS_PERSS 10 |
#define MAX_RETRY 10 |
#define MGMT_PKT 1 |
#define NO_PIGGY_BIT 3 |
#define NRTPOLL_CONTENTION 6 |
#define NRTPOLL_DECISION 1 |
#define NRTPOLL_IDLE 0 |
#define NRTPOLL_REQSENT 5 |
#define NRTPOLL_TOSEND 2 |
#define NRTPOLL_TOSENDREQ 4 |
#define NRTPOLL_WAITFORMAP 3 |
#define NRTPOLLSTATES 7 |
#define NUM_802_16_LANS 5 |
#define NUM_EXTENDED_HDR_ELEMENTS 2 |
#define OFF 0 |
#define ON 1 |
#define PIGGY_ENABLE_BIT 4 |
#define PIGGY_NOT_SEND 2 |
#define QUEUE_THRESHOLD 25 |
#define RTPOLL_DECISION 1 |
#define RTPOLL_IDLE 0 |
#define RTPOLL_REQSENT 5 |
#define RTPOLL_TOSEND 2 |
#define RTPOLL_TOSENDREQ 4 |
#define RTPOLL_WAITFORMAP 3 |
#define RTPOLLSTATES 6 |
#define SIZE_MAP_HDR 4 |
#define SIZE_MGMT_HDR 24 |
#define SM_GRANT 3 |
#define SUPRESS_ALL_SIZE 100 |
#define SUPRESS_MAC_SIZE 28 |
#define SUPRESS_TCPIP_SIZE 40 |
#define SUPRESS_UDPIP_SIZE 28 |
#define T16_TIMER 1 |
#define UGS_DECISION 1 |
#define UGS_IDLE 0 |
#define UGS_TOSEND 2 |
#define UGS_WAITFORMAP 3 |
#define UGSSTATES 4 |
#define UPSTREAM 0 |
#define UREQ_GRANT 1 |
typedef struct active_flows* acflows_ptr |
$A8 - auxiliar struct to compute the priority of the rtPS and nrtPS in the intermediate queue
typedef struct allocation_time* aptr |
typedef struct bs_snd_timer_list* bs_sptr |
typedef struct priority_array* priority_array_p |
typedef struct req_timer_list* rptr |
typedef struct snd_timer_list* sptr |
typedef struct token_timer_list* tkptr |
List of token timer requests
enum EventType |
enum PhsType |
enum SchedType |