lwipopts.h
src/sys/include/net/memp.h
src/sys/include/net/opt.h
src/sys/net/net/udpecho.c
src/sys/include/net/ipv4/ip.h
src/sys/include/net/stats.h
src/sys/net/netif/tcpdump.c
src/sys/include/net/netif.h
src/sys/net/netif/loopif.c
src/sys/include/net/ipv6/inet.h
src/sys/net/net/sys_arch.c
src/sys/include/net/udp.h
src/sys/include/netif/arp.h
src/sys/include/net/tcp.h
src/sys/net/netif/ethernetif.c
src/sys/net/netif/arp.c
src/sys/include/net/ipv4/icmp.h
src/sys/net/net/bot.c
src/sys/net/api/tcpip.c
src/sys/include/net/lwipopts.h
src/sys/include/net/tcpip.h
src/sys/include/net/api_msg.h
src/sys/include/netif/ethernetif.h
src/sys/net/net/shell.c
src/sys/net/api/api_lib.c
src/sys/include/net/mem.h
src/sys/net/net/init.c
src/sys/include/net/memp.h
src/sys/include/net/api.h
src/sys/include/netif/loopif.h
src/sys/include/net/opt.h
src/sys/net/api/sockets.c
src/sys/net/api/api_msg.c
src/sys/include/net/ipv4/inet.h
ARP_TABLE_SIZE
10
add_arp_entry
arp_init
arp_lookup
arp_tmr
DHCP_DOES_ARP_CHECK
1
ICMP_STATS
ICMP_TTL
255
IP_FORWARD
1
IP_OPTIONS
1
IP_STATS
LINK_STATS
LWIP_DHCP
0
LWIP_TCP
1
LWIP_UDP
1
MEM_ALIGNMENT
2
MEM_RECLAIM
1
MEM_SIZE
1000
MEM_STATS
MEMP_NUM_API_MSG
8
MEMP_NUM_NETBUF
2
MEMP_NUM_NETCONN
4
MEMP_NUM_PBUF
8
MEMP_NUM_SYS_TIMEOUT
3
MEMP_NUM_TCP_PCB
5
MEMP_NUM_TCP_PCB_LISTEN
8
MEMP_NUM_TCP_SEG
8
MEMP_NUM_TCPIP_MSG
8
MEMP_NUM_UDP_PCB
4
MEMP_RECLAIM
1
MEMP_STATS
PBUF_LINK_HLEN
16
PBUF_POOL_BUFSIZE
128
PBUF_POOL_SIZE
6
PBUF_STATS
STATS
SYS_STATS
TCP_MAXRTX
12
TCP_MSS
128
TCP_QUEUE_OOSEQ
1
TCP_SND_BUF
256
TCP_SND_QUEUELEN
4 * TCP_SND_BUF/TCP_MSS
TCP_STATS
TCP_SYNMAXRTX
4
TCP_TTL
255
TCP_WND
1024
UDP_STATS
UDP_TTL
255

    /*
    *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: lwipopts_8h.xml 88 2016-01-12 00:11:29Z reddawg $
    */
    #ifndef__LWIPOPTS_H__
    #define__LWIPOPTS_H__

    /*----------Memoryoptions----------*/
    /*MEM_ALIGNMENT:shouldbesettothealignmentoftheCPUforwhich
    lwIPiscompiled.4bytealignment->defineMEM_ALIGNMENTto4,2
    bytealignment->defineMEM_ALIGNMENTto2.*/
    #defineMEM_ALIGNMENT2

    /*MEM_SIZE:thesizeoftheheapmemory.Iftheapplicationwillsend
    alotofdatathatneedstobecopied,thisshouldbesethigh.*/
    #defineMEM_SIZE1000

    /*MEMP_NUM_PBUF:thenumberofmempstructpbufs.Iftheapplication
    sendsalotofdataoutofROM(orotherstaticmemory),this
    shouldbesethigh.*/
    #defineMEMP_NUM_PBUF8
    /*MEMP_NUM_UDP_PCB:thenumberofUDPprotocolcontrolblocks.One
    peractiveUDP"connection".*/
    #defineMEMP_NUM_UDP_PCB4
    /*MEMP_NUM_TCP_PCB:thenumberofsimulatenouslyactiveTCP
    connections.*/
    #defineMEMP_NUM_TCP_PCB5
    /*MEMP_NUM_TCP_PCB_LISTEN:thenumberoflisteningTCP
    connections.*/
    #defineMEMP_NUM_TCP_PCB_LISTEN8
    /*MEMP_NUM_TCP_SEG:thenumberofsimultaneouslyqueuedTCP
    segments.*/
    #defineMEMP_NUM_TCP_SEG8
    /*MEMP_NUM_SYS_TIMEOUT:thenumberofsimulateouslyactive
    timeouts.*/
    #defineMEMP_NUM_SYS_TIMEOUT3

    /*ThefollowingfourareusedonlywiththesequentialAPIandcanbe
    setto0iftheapplicationonlywillusetherawAPI.*/
    /*MEMP_NUM_NETBUF:thenumberofstructnetbufs.*/
    #defineMEMP_NUM_NETBUF2
    /*MEMP_NUM_NETCONN:thenumberofstructnetconns.*/
    #defineMEMP_NUM_NETCONN4
    /*MEMP_NUM_APIMSG:thenumberofstructapi_msg,usedfor
    communicationbetweentheTCP/IPstackandthesequential
    programs.*/
    #defineMEMP_NUM_API_MSG8
    /*MEMP_NUM_TCPIPMSG:thenumberofstructtcpip_msg,whichisused
    forsequentialAPIcommunicationandincomingpackets.Usedin
    src/api/tcpip.c.*/
    #defineMEMP_NUM_TCPIP_MSG8

    /*Thesetwocontrolisreclaimerfunctionsshouldbecompiled
    in.Shouldalwaysbeturnedon(1).*/
    #defineMEM_RECLAIM1
    #defineMEMP_RECLAIM1

    /*----------Pbufoptions----------*/
    /*PBUF_POOL_SIZE:thenumberofbuffersinthepbufpool.*/
    #definePBUF_POOL_SIZE6

    /*PBUF_POOL_BUFSIZE:thesizeofeachpbufinthepbufpool.*/
    #definePBUF_POOL_BUFSIZE128

    /*PBUF_LINK_HLEN:thenumberofbytesthatshouldbeallocatedfora
    linklevelheader.*/
    #definePBUF_LINK_HLEN16

    /*----------TCPoptions----------*/
    #defineLWIP_TCP1
    #defineTCP_TTL255

    /*ControlsifTCPshouldqueuesegmentsthatarriveoutof
    order.Defineto0ifyourdeviceislowonmemory.*/
    #defineTCP_QUEUE_OOSEQ1

    /*TCPMaximumsegmentsize.*/
    #defineTCP_MSS128

    /*TCPsenderbufferspace(bytes).*/
    #defineTCP_SND_BUF256

    /*TCPsenderbufferspace(pbufs).Thismustbeatleast=2*
    TCP_SND_BUF/TCP_MSSforthingstowork.*/
    #defineTCP_SND_QUEUELEN4*TCP_SND_BUF/TCP_MSS

    /*TCPreceivewindow.*/
    #defineTCP_WND1024

    /*Maximumnumberofretransmissionsofdatasegments.*/
    #defineTCP_MAXRTX12

    /*MaximumnumberofretransmissionsofSYNsegments.*/
    #defineTCP_SYNMAXRTX4

    /*----------ARPoptions----------*/
    #defineARP_TABLE_SIZE10

    /*----------IPoptions----------*/
    /*DefineIP_FORWARDto1ifyouwishtohavetheabilitytoforward
    IPpacketsacrossnetworkinterfaces.IfyouaregoingtorunlwIP
    onadevicewithonlyonenetworkinterface,definethisto0.*/
    #defineIP_FORWARD1

    /*Ifdefinedto1,IPoptionsareallowed(butnotparsed).If
    definedto0,allpacketswithIPoptionsaredropped.*/
    #defineIP_OPTIONS1

    /*----------ICMPoptions----------*/
    #defineICMP_TTL255

    /*----------DHCPoptions----------*/
    /*DefineLWIP_DHCPto1ifyouwantDHCPconfigurationof
    interfaces.DHCPisnotimplementedinlwIP0.5.1,however,so
    turningthisondoescurrentlynotwork.*/
    #defineLWIP_DHCP0

    /*1ifyouwanttodoanARPcheckontheofferedaddress
    (recommended).*/
    #defineDHCP_DOES_ARP_CHECK1

    /*----------UDPoptions----------*/
    #defineLWIP_UDP1
    #defineUDP_TTL255

    /*----------Statisticsoptions----------*/
    #defineSTATS

    #ifdefSTATS
    #defineLINK_STATS
    #defineIP_STATS
    #defineICMP_STATS
    #defineUDP_STATS
    #defineTCP_STATS
    #defineMEM_STATS
    #defineMEMP_STATS
    #definePBUF_STATS
    #defineSYS_STATS
    #endif/*STATS*/

    #endif/*__LWIPOPTS_H__*/