NetSim Source Code Help
Loading...
Searching...
No Matches
Satellite_MAC.c File Reference
#include "main.h"
#include "SATELLITE.h"
#include "Satellite_MAC.h"
#include "Satellite_Frame.h"
#include "Satellite_HDR.h"
Include dependency graph for Satellite_MAC.c:

Go to the source code of this file.

Functions

ptrSATELLITE_UT_MAC satellite_ut_mac_alloc (ptrSATELLITE_PROTODATA pd)
 
static void satellite_ut_set_satellite (NETSIM_ID d, NETSIM_ID in)
 
void satellite_UT_MAC_init (NETSIM_ID utId, NETSIM_ID utIf)
 
ptrSATELLITE_GW_MAC satellite_gw_mac_alloc (ptrSATELLITE_PROTODATA pd)
 
static void satellite_gw_set_satellite (NETSIM_ID d, NETSIM_ID in)
 
void satellite_GW_MAC_init (NETSIM_ID gwId, NETSIM_ID gwIf)
 
ptrSATELLITE_MAC satellite_mac_alloc (ptrSATELLITE_PROTODATA pd)
 
void satellite_mac_init (NETSIM_ID d, NETSIM_ID in)
 
ptrSATELLITE_UTASSOCINFO satellite_utassocinfo_find (NETSIM_ID gwId, NETSIM_ID gwIf, NETSIM_ID utId, NETSIM_ID utIf)
 
void satellite_assoc_ut (NETSIM_ID gwId, NETSIM_ID gwIf, NETSIM_ID utId, NETSIM_ID utIf)
 
static void satellite_utmac_hadle_mac_out ()
 
static void satellite_gwmac_handle_mac_out ()
 
void satellite_handle_mac_out ()
 
static void forward_to_network (NETSIM_ID d, NETSIM_ID in, NetSim_PACKET *packet, double time)
 
void satellite_handle_mac_in ()
 
static void form_bufferlist_for_forwardlink (NETSIM_ID d, NETSIM_ID in, ptrSUPERFRAME sf)
 
static void form_bufferlist_for_returnlink (NETSIM_ID d, NETSIM_ID in, ptrSUPERFRAME sf)
 
void satellite_form_bufferList (NETSIM_ID d, NETSIM_ID in, ptrSUPERFRAME sf)
 

Function Documentation

◆ form_bufferlist_for_forwardlink()

static void form_bufferlist_for_forwardlink ( NETSIM_ID  d,
NETSIM_ID  in,
ptrSUPERFRAME  sf 
)
static

Definition at line 345 of file Satellite_MAC.c.

Here is the caller graph for this function:

◆ form_bufferlist_for_returnlink()

static void form_bufferlist_for_returnlink ( NETSIM_ID  d,
NETSIM_ID  in,
ptrSUPERFRAME  sf 
)
static

Definition at line 372 of file Satellite_MAC.c.

Here is the caller graph for this function:

◆ forward_to_network()

static void forward_to_network ( NETSIM_ID  d,
NETSIM_ID  in,
NetSim_PACKET packet,
double  time 
)
static

Definition at line 311 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_assoc_ut()

void satellite_assoc_ut ( NETSIM_ID  gwId,
NETSIM_ID  gwIf,
NETSIM_ID  utId,
NETSIM_ID  utIf 
)

Definition at line 211 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_form_bufferList()

void satellite_form_bufferList ( NETSIM_ID  d,
NETSIM_ID  in,
ptrSUPERFRAME  sf 
)

Definition at line 396 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_gw_mac_alloc()

ptrSATELLITE_GW_MAC satellite_gw_mac_alloc ( ptrSATELLITE_PROTODATA  pd)

Definition at line 108 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_GW_MAC_init()

void satellite_GW_MAC_init ( NETSIM_ID  gwId,
NETSIM_ID  gwIf 
)

Definition at line 164 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_gw_set_satellite()

static void satellite_gw_set_satellite ( NETSIM_ID  d,
NETSIM_ID  in 
)
static

Definition at line 125 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_gwmac_handle_mac_out()

static void satellite_gwmac_handle_mac_out ( )
static

Definition at line 264 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_handle_mac_in()

void satellite_handle_mac_in ( )

Definition at line 333 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_handle_mac_out()

void satellite_handle_mac_out ( )

Definition at line 294 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_mac_alloc()

ptrSATELLITE_MAC satellite_mac_alloc ( ptrSATELLITE_PROTODATA  pd)

Definition at line 171 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_mac_init()

void satellite_mac_init ( NETSIM_ID  d,
NETSIM_ID  in 
)

Definition at line 188 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_ut_mac_alloc()

ptrSATELLITE_UT_MAC satellite_ut_mac_alloc ( ptrSATELLITE_PROTODATA  pd)

Definition at line 34 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_UT_MAC_init()

void satellite_UT_MAC_init ( NETSIM_ID  utId,
NETSIM_ID  utIf 
)

Definition at line 90 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_ut_set_satellite()

static void satellite_ut_set_satellite ( NETSIM_ID  d,
NETSIM_ID  in 
)
static

Definition at line 51 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ satellite_utassocinfo_find()

ptrSATELLITE_UTASSOCINFO satellite_utassocinfo_find ( NETSIM_ID  gwId,
NETSIM_ID  gwIf,
NETSIM_ID  utId,
NETSIM_ID  utIf 
)

Definition at line 195 of file Satellite_MAC.c.

Here is the caller graph for this function:

◆ satellite_utmac_hadle_mac_out()

static void satellite_utmac_hadle_mac_out ( )
static

Definition at line 241 of file Satellite_MAC.c.

Here is the call graph for this function:
Here is the caller graph for this function: