ConOpSys V2970  P004.07
ANVILEX control operating system
Functions | Variables
test_tcp.c File Reference
#include "string.h"
#include "test_tcp.h"
#include "lwip/timeouts.h"
Include dependency graph for test_tcp.c:

Functions

void tcp_setup (void)
 
uint32_t tcp_send_packet (void)
 
err_t connectCallback (void *arg, struct tcp_pcb *tpcb, err_t err)
 
err_t tcpRecvCallback (void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
 
void tcpErrCallback (void *arg, err_t err)
 

Variables

struct tcp_pcb * testpcb
 

Function Documentation

◆ connectCallback()

err_t connectCallback ( void *  arg,
struct tcp_pcb *  tpcb,
err_t  err 
)

References tcp_send_packet().

Referenced by tcp_setup().

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

◆ tcp_send_packet()

uint32_t tcp_send_packet ( void  )

References testpcb.

Referenced by connectCallback().

Here is the caller graph for this function:

◆ tcp_setup()

void tcp_setup ( void  )

References connectCallback(), NULL, tcpErrCallback(), tcpRecvCallback(), and testpcb.

Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().

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

◆ tcpErrCallback()

void tcpErrCallback ( void *  arg,
err_t  err 
)

Referenced by tcp_setup().

Here is the caller graph for this function:

◆ tcpRecvCallback()

err_t tcpRecvCallback ( void *  arg,
struct tcp_pcb *  tpcb,
struct pbuf p,
err_t  err 
)

References pbuf::tot_len.

Referenced by tcp_setup().

Here is the caller graph for this function:

Variable Documentation

◆ testpcb

struct tcp_pcb* testpcb

Referenced by tcp_send_packet(), and tcp_setup().