NetSim Source Code Help
Loading...
Searching...
No Matches
OpenFlowMsg.c File Reference
#include "main.h"
#include "OpenFlow.h"
Include dependency graph for OpenFlowMsg.c:

Go to the source code of this file.

Functions

static NetSim_PACKETopenFlow_CreatePacket (OFMSGTYPE type, UINT id, NETSIM_ID src, NETSIM_ID dest, NETSIM_IPAddress srcIP, NETSIM_IPAddress destIP, UINT16 srcPort, UINT16 destPort, void *payload, int len, bool isMore)
 
static void openFlow_send_packet (NETSIM_ID d, NetSim_PACKET *packet, ptrSOCKETINTERFACE sock)
 
bool fn_NetSim_OPEN_FLOW_SendCommand (NETSIM_ID dest, void *handle, void *command, UINT len)
 
void openFlow_send_response (NETSIM_ID dev, UINT id, char *payload, int len, bool isMore)
 

Function Documentation

◆ fn_NetSim_OPEN_FLOW_SendCommand()

bool fn_NetSim_OPEN_FLOW_SendCommand ( NETSIM_ID  dest,
void *  handle,
void *  command,
UINT  len 
)

Definition at line 110 of file OpenFlowMsg.c.

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

◆ openFlow_CreatePacket()

static NetSim_PACKET * openFlow_CreatePacket ( OFMSGTYPE  type,
UINT  id,
NETSIM_ID  src,
NETSIM_ID  dest,
NETSIM_IPAddress  srcIP,
NETSIM_IPAddress  destIP,
UINT16  srcPort,
UINT16  destPort,
void *  payload,
int  len,
bool  isMore 
)
static

Definition at line 17 of file OpenFlowMsg.c.

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

◆ openFlow_send_packet()

static void openFlow_send_packet ( NETSIM_ID  d,
NetSim_PACKET packet,
ptrSOCKETINTERFACE  sock 
)
static

Definition at line 72 of file OpenFlowMsg.c.

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

◆ openFlow_send_response()

void openFlow_send_response ( NETSIM_ID  dev,
UINT  id,
char *  payload,
int  len,
bool  isMore 
)

Definition at line 145 of file OpenFlowMsg.c.

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