api_msg.h
net/opt.h
net/pbuf.h
net/sys.h
net/ipv4/ip.h
net/udp.h
net/tcp.h
net/api.h
src/sys/include/net/tcpip.h
src/sys/net/api/api_lib.c
src/sys/net/api/api_msg.c
net/ipv4/ip.h
arch/lib.h
net/netif.h
net/udp.h
arch/cpu.h
arch/sys_arch.h
net/tcp.h
ubixos/types.h
sys/_types.h
net/arch.h
net/ipv4/icmp.h
net/lwipopts.h
src/sys/include/net/api_msg.h
net/def.h
net/mem.h
net/ipv4/ip_addr.h
net/err.h
net/api.h
net/opt.h
net/sys.h
net/pbuf.h
net/debug.h
net/ipv4/inet.h
arch/cc.h
src/sys/net/api/tcpip.c
src/sys/include/net/tcpip.h
src/sys/include/net/api_msg.h
src/sys/net/api/api_lib.c
src/sys/net/net/init.c
src/sys/net/api/api_msg.c
api_msg
api_msg_msg
api_msg_type
API_MSG_NEWCONN
API_MSG_DELCONN
API_MSG_BIND
API_MSG_CONNECT
API_MSG_LISTEN
API_MSG_ACCEPT
API_MSG_SEND
API_MSG_RECV
API_MSG_WRITE
API_MSG_CLOSE
API_MSG_MAX
void void api_msg_input (struct api_msg *msg) api_msg_input struct api_msg * msg decode api_msg_msg::msg tcpip_thread
void void api_msg_post (struct api_msg *msg) api_msg_post struct api_msg * msg api_msg_msg::msg tcpip_apimsg netconn_bind netconn_close netconn_connect netconn_delete netconn_listen netconn_recv netconn_send netconn_write

    /*
    *Copyright(c)2001,SwedishInstituteofComputerScience.
    *Allrightsreserved.
    *
    *Redistributionanduseinsourceandbinaryforms,withorwithout
    *modification,arepermittedprovidedthatthefollowingconditions
    *aremet:
    *1.Redistributionsofsourcecodemustretaintheabovecopyright
    *notice,thislistofconditionsandthefollowingdisclaimer.
    *2.Redistributionsinbinaryformmustreproducetheabovecopyright
    *notice,thislistofconditionsandthefollowingdisclaimerinthe
    *documentationand/orothermaterialsprovidedwiththedistribution.
    *3.NeitherthenameoftheInstitutenorthenamesofitscontributors
    *maybeusedtoendorseorpromoteproductsderivedfromthissoftware
    *withoutspecificpriorwrittenpermission.
    *
    *THISSOFTWAREISPROVIDEDBYTHEINSTITUTEANDCONTRIBUTORS``ASIS''AND
    *ANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THE
    *IMPLIEDWARRANTIESOFMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSE
    *AREDISCLAIMED.INNOEVENTSHALLTHEINSTITUTEORCONTRIBUTORSBELIABLE
    *FORANYDIRECT,INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY,ORCONSEQUENTIAL
    *DAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENTOFSUBSTITUTEGOODS
    *ORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)
    *HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICT
    *LIABILITY,ORTORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAY
    *OUTOFTHEUSEOFTHISSOFTWARE,EVENIFADVISEDOFTHEPOSSIBILITYOF
    *SUCHDAMAGE.
    *
    *ThisfileispartofthelwIPTCP/IPstack.
    *
    *Author:AdamDunkels<adam@sics.se>
    *
    *$Id: api__msg_8h.xml 88 2016-01-12 00:11:29Z reddawg $
    */
    #ifndef__LWIP_API_MSG_H__
    #define__LWIP_API_MSG_H__

    #include"net/opt.h"
    #include"net/pbuf.h"
    #include"net/sys.h"

    #include"net/ipv4/ip.h"

    #include"net/udp.h"
    #include"net/tcp.h"

    #include"net/api.h"

    enumapi_msg_type{
    API_MSG_NEWCONN,
    API_MSG_DELCONN,

    API_MSG_BIND,
    API_MSG_CONNECT,

    API_MSG_LISTEN,
    API_MSG_ACCEPT,

    API_MSG_SEND,
    API_MSG_RECV,
    API_MSG_WRITE,

    API_MSG_CLOSE,

    API_MSG_MAX
    };

    structapi_msg_msg{
    structnetconn*conn;
    enumnetconn_typeconntype;
    union{
    structpbuf*p;
    struct{
    structip_addr*ipaddr;
    uInt16port;
    }bc;
    struct{
    void*dataptr;
    uInt16len;
    unsignedcharcopy;
    }w;
    sys_mbox_tmbox;
    uInt16len;
    }msg;
    };

    structapi_msg{
    enumapi_msg_typetype;
    structapi_msg_msgmsg;
    };

    voidapi_msg_input(structapi_msg*msg);
    voidapi_msg_post(structapi_msg*msg);

    #endif/*__LWIP_API_MSG_H__*/