i
lwIP 1.3.0
Version lwIP 1.3.0
3/23/2008 7:22 PM
ii
iii
Table of Contents
lwIP Documentation ..................................................................................................................................................... vi
Introduction............................................................................................................................................................... vi
lwIP features: ............................................................................................................................................................ vi
Documentation .......................................................................................................................................................... vi
Directory Hierarchy ....................................................................................................................................................viii
Data Structure Index ..................................................................................................................................................... ix
File Index ....................................................................................................................................................................... x
Page Index.................................................................................................................................................................... xii
Directory Documentation............................................................................................................................................... 2
lwip/src/api/ Directory Reference .............................................................................................................................. 2
lwip/src/core/ Directory Reference ............................................................................................................................ 2
lwip/src/include/ Directory Reference........................................................................................................................ 2
lwip/src/include/ipv4/ Directory Reference ............................................................................................................... 3
lwip/src/core/ipv4/ Directory Reference .................................................................................................................... 3
lwip/src/include/ipv6/ Directory Reference ............................................................................................................... 3
lwip/src/core/ipv6/ Directory Reference .................................................................................................................... 3
lwip/src/include/lwip/ Directory Reference ............................................................................................................... 3
lwip/src/include/ipv6/lwip/ Directory Reference ....................................................................................................... 4
lwip/src/include/ipv4/lwip/ Directory Reference ....................................................................................................... 4
lwip/ Directory Reference .......................................................................................................................................... 4
lwip/src/netif/ Directory Reference ............................................................................................................................ 5
lwip/src/include/netif/ Directory Reference ............................................................................................................... 5
lwip/src/netif/ppp/ Directory Reference..................................................................................................................... 5
lwip/src/core/snmp/ Directory Reference................................................................................................................... 6
lwip/src/ Directory Reference .................................................................................................................................... 6
Data Structure Documentation ....................................................................................................................................... 7
api_msg ...................................................................................................................................................................... 7
api_msg_msg ............................................................................................................................................................. 8
dhcp_msg ................................................................................................................................................................... 9
dns_answer............................................................................................................................................................... 10
dns_api_msg............................................................................................................................................................. 11
dns_hdr..................................................................................................................................................................... 12
dns_query ................................................................................................................................................................. 13
dns_table_entry ........................................................................................................................................................ 14
etharp_hdr ................................................................................................................................................................ 15
etharp_q_entry ......................................................................................................................................................... 16
ethernetif .................................................................................................................................................................. 17
gethostbyname_r_helper .......................................................................................................................................... 18
ip_reass_helper......................................................................................................................................................... 19
lwip_select_cb.......................................................................................................................................................... 20
lwip_setgetsockopt_data .......................................................................................................................................... 21
lwip_socket .............................................................................................................................................................. 23
mem.......................................................................................................................................................................... 24
mem_helper.............................................................................................................................................................. 25
mib_array_node ....................................................................................................................................................... 26
mib_external_node................................................................................................................................................... 27
mib_list_rootnode .................................................................................................................................................... 29
mib_node.................................................................................................................................................................. 30
mib_ram_array_node ............................................................................................................................................... 31
netconn..................................................................................................................................................................... 32
netif .......................................................................................................................................................................... 34
nse ............................................................................................................................................................................ 37
iv
obj_def ..................................................................................................................................................................... 38
snmp_obj_id............................................................................................................................................................. 39
snmp_resp_header_lengths ...................................................................................................................................... 40
snmp_trap_header_lengths....................................................................................................................................... 41
sswt_cb..................................................................................................................................................................... 42
File Documentation...................................................................................................................................................... 43
lwip/src/api/api_lib.c................................................................................................................................................ 43
lwip/src/api/api_msg.c ............................................................................................................................................. 47
lwip/src/api/err.c ...................................................................................................................................................... 48
lwip/src/api/netbuf.c................................................................................................................................................. 49
lwip/src/api/netdb.c .................................................................................................................................................. 51
lwip/src/api/netifapi.c............................................................................................................................................... 53
lwip/src/api/sockets.c ............................................................................................................................................... 54
lwip/src/api/tcpip.c ................................................................................................................................................... 55
lwip/src/core/dhcp.c ................................................................................................................................................. 57
lwip/src/core/dns.c ................................................................................................................................................... 59
lwip/src/core/init.c.................................................................................................................................................... 61
lwip/src/core/ipv4/autoip.c....................................................................................................................................... 62
lwip/src/core/ipv4/icmp.c......................................................................................................................................... 63
lwip/src/core/ipv4/igmp.c......................................................................................................................................... 64
lwip/src/core/ipv4/inet.c........................................................................................................................................... 68
lwip/src/core/ipv4/inet_chksum.c ............................................................................................................................ 70
lwip/src/core/ipv4/ip.c.............................................................................................................................................. 71
lwip/src/core/ipv4/ip_addr.c..................................................................................................................................... 73
lwip/src/core/ipv4/ip_frag.c ..................................................................................................................................... 74
lwip/src/core/ipv6/inet6.c......................................................................................................................................... 75
lwip/src/core/mem.c ................................................................................................................................................. 76
lwip/src/core/memp.c ............................................................................................................................................... 78
lwip/src/core/netif.c.................................................................................................................................................. 79
lwip/src/core/pbuf.c.................................................................................................................................................. 83
lwip/src/core/raw.c ................................................................................................................................................... 87
lwip/src/core/snmp/asn1_dec.c ................................................................................................................................ 90
lwip/src/core/snmp/asn1_enc.c ................................................................................................................................ 92
lwip/src/core/snmp/mib2.c ....................................................................................................................................... 95
lwip/src/core/snmp/mib_structs.c........................................................................................................................... 100
lwip/src/core/snmp/msg_in.c.................................................................................................................................. 103
lwip/src/core/snmp/msg_out.c................................................................................................................................ 104
lwip/src/core/stats.c ................................................................................................................................................ 106
lwip/src/core/sys.c.................................................................................................................................................. 107
lwip/src/core/tcp.c .................................................................................................................................................. 109
lwip/src/core/tcp_in.c ............................................................................................................................................. 115
lwip/src/core/tcp_out.c ........................................................................................................................................... 116
lwip/src/core/udp.c ................................................................................................................................................. 119
lwip/src/include/ipv4/lwip/autoip.h........................................................................................................................ 123
lwip/src/include/lwip/dhcp.h .................................................................................................................................. 125
lwip/src/include/lwip/opt.h..................................................................................................................................... 127
lwip/src/include/lwip/snmp_asn1.h........................................................................................................................ 128
lwip/src/include/lwip/snmp_msg.h ........................................................................................................................ 133
lwip/src/include/lwip/snmp_structs.h..................................................................................................................... 136
lwip/src/netif/etharp.c............................................................................................................................................. 140
lwip/src/netif/ethernetif.c ....................................................................................................................................... 141
lwip/src/netif/loopif.c ............................................................................................................................................. 142
lwip/src/netif/slipif.c .............................................................................................................................................. 143
Page Documentation .................................................................................................................................................. 144
Todo List................................................................................................................................................................ 144
Index .......................................................................................................................................................................... 145
v