INET Framework for OMNeT++/OMNEST
|
Interface class between TCP_lwIP and LwipTcpLayer. More...
#include <LwipTcpStackIf.h>
Public Member Functions | |
virtual | ~LwipTcpStackIf () |
virtual void | ip_output (LwipTcpLayer::tcp_pcb *pcb, L3Address const &src, L3Address const &dest, void *tcpseg, int len)=0 |
TCP layer send a packet to IP layer. More... | |
virtual err_t | lwip_tcp_event (void *arg, LwipTcpLayer::tcp_pcb *pcb, LwipTcpLayer::lwip_event, struct pbuf *p, u16_t size, err_t err)=0 |
TCP layer events. More... | |
virtual void | lwip_free_pcb_event (LwipTcpLayer::tcp_pcb *pcb)=0 |
TCP layer event called before LWIP freeing a pcb. More... | |
virtual netif * | ip_route (L3Address const &ipAddr)=0 |
Get the network interface. More... | |
virtual void | notifyAboutIncomingSegmentProcessing (LwipTcpLayer::tcp_pcb *pcb, uint32 seqNo, const void *dataptr, int len)=0 |
Interface class between TCP_lwIP and LwipTcpLayer.
|
pure virtual |
TCP layer send a packet to IP layer.
pcb | the lwip pcb or nullptr (tipically when send a RESET ) |
src | the source IP addr |
dest | the destination IP addr |
tcpseg | pointer to TCP segment (message) |
len | length of tcpseg |
Implemented in inet::tcp::TCP_lwIP.
Referenced by ~LwipTcpStackIf().
|
pure virtual |
TCP layer event called before LWIP freeing a pcb.
pcb | pointer to pcb |
Implemented in inet::tcp::TCP_lwIP.
Referenced by ~LwipTcpStackIf().
|
pure virtual |
Implemented in inet::tcp::TCP_lwIP.
Referenced by ~LwipTcpStackIf().