INET Framework for OMNeT++/OMNEST
tcpip.h File Reference
#include "lwip/opt.h"
#include "lwip/api_msg.h"
#include "lwip/netifapi.h"
#include "lwip/pbuf.h"
#include "lwip/api.h"
#include "lwip/sys.h"
#include "lwip/netif.h"

Classes

struct  inet::tcp::tcpip_msg
 

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 
 inet::tcp
 

Macros

#define LOCK_TCPIP_CORE()
 
#define UNLOCK_TCPIP_CORE()
 
#define TCPIP_APIMSG(m)   tcpip_apimsg(m)
 
#define TCPIP_APIMSG_ACK(m)   sys_sem_signal(m->conn->op_completed)
 
#define TCPIP_NETIFAPI(m)   tcpip_netifapi(m)
 
#define TCPIP_NETIFAPI_ACK(m)   sys_sem_signal(m->sem)
 
#define tcpip_callback(f, ctx)   tcpip_callback_with_block(f, ctx, 1)
 

Enumerations

enum  inet::tcp::tcpip_msg_type { inet::tcp::TCPIP_MSG_INPKT, inet::tcp::TCPIP_MSG_CALLBACK, inet::tcp::TCPIP_MSG_TIMEOUT, inet::tcp::TCPIP_MSG_UNTIMEOUT }
 

Functions

void inet::tcp::tcpip_init (void(*tcpip_init_done)(void *), void *arg)
 
err_t inet::tcp::tcpip_input (struct pbuf *p, struct netif *inp)
 
err_t inet::tcp::tcpip_callback_with_block (void(*f)(void *ctx), void *ctx, u8_t block)
 
err_t inet::tcp::pbuf_free_callback (struct pbuf *p)
 
err_t inet::tcp::mem_free_callback (void *m)
 
err_t inet::tcp::tcpip_timeout (u32_t msecs, sys_timeout_handler h, void *arg)
 
err_t inet::tcp::tcpip_untimeout (sys_timeout_handler h, void *arg)
 

Macro Definition Documentation

#define LOCK_TCPIP_CORE ( )
#define TCPIP_APIMSG (   m)    tcpip_apimsg(m)
#define TCPIP_APIMSG_ACK (   m)    sys_sem_signal(m->conn->op_completed)
#define tcpip_callback (   f,
  ctx 
)    tcpip_callback_with_block(f, ctx, 1)
#define TCPIP_NETIFAPI (   m)    tcpip_netifapi(m)
#define TCPIP_NETIFAPI_ACK (   m)    sys_sem_signal(m->sem)
#define UNLOCK_TCPIP_CORE ( )