NetSim Source Code Help
Loading...
Searching...
No Matches
Satellite_Buffer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  stru_satellite_buffer
 

Macros

#define _NETSIM_SATELLITE_BUFFER_H_
 

Typedefs

typedef struct stru_satellite_buffer SATELLITE_BUFFER
 
typedef struct stru_satellite_bufferptrSATELLITE_BUFFER
 

Functions

ptrSATELLITE_BUFFER satellite_buffer_init (NETSIM_ID utId, NETSIM_ID utIf, NETSIM_ID gwId, NETSIM_ID gwIf, double sizeInBytes, double maxUnitSizeInBytes)
 
void satellite_buffer_setMaxUnitSizeInBytes (ptrSATELLITE_BUFFER buffer, double maxUnitSizeInBytes)
 
bool satellite_buffer_add_packet (ptrSATELLITE_BUFFER buffer, NetSim_PACKET *packet)
 
NetSim_PACKETsatellite_buffer_remove_packet (ptrSATELLITE_BUFFER buffer)
 
NetSim_PACKETsatellite_buffer_head_packet (ptrSATELLITE_BUFFER buffer)
 

Macro Definition Documentation

◆ _NETSIM_SATELLITE_BUFFER_H_

#define _NETSIM_SATELLITE_BUFFER_H_

Definition at line 26 of file Satellite_Buffer.h.

Typedef Documentation

◆ ptrSATELLITE_BUFFER

◆ SATELLITE_BUFFER

Function Documentation

◆ satellite_buffer_add_packet()

bool satellite_buffer_add_packet ( ptrSATELLITE_BUFFER  buffer,
NetSim_PACKET packet 
)

Definition at line 47 of file Satellite_buffer.c.

Here is the caller graph for this function:

◆ satellite_buffer_head_packet()

NetSim_PACKET * satellite_buffer_head_packet ( ptrSATELLITE_BUFFER  buffer)

Definition at line 93 of file Satellite_buffer.c.

◆ satellite_buffer_init()

ptrSATELLITE_BUFFER satellite_buffer_init ( NETSIM_ID  utId,
NETSIM_ID  utIf,
NETSIM_ID  gwId,
NETSIM_ID  gwIf,
double  sizeInBytes,
double  maxUnitSizeInBytes 
)

Definition at line 28 of file Satellite_buffer.c.

Here is the caller graph for this function:

◆ satellite_buffer_remove_packet()

NetSim_PACKET * satellite_buffer_remove_packet ( ptrSATELLITE_BUFFER  buffer)

Definition at line 77 of file Satellite_buffer.c.

◆ satellite_buffer_setMaxUnitSizeInBytes()

void satellite_buffer_setMaxUnitSizeInBytes ( ptrSATELLITE_BUFFER  buffer,
double  maxUnitSizeInBytes 
)

Definition at line 42 of file Satellite_buffer.c.

Here is the caller graph for this function: