mbed-os
Fork of mbed-os by
features/unsupported/doc/net/doc.txt@0:f269e3021894, 2016-10-23 (annotated)
- Committer:
- elessair
- Date:
- Sun Oct 23 15:10:02 2016 +0000
- Revision:
- 0:f269e3021894
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | lwip/api/tcpip.c: tcpip_init -> tcpip_thread |
elessair | 0:f269e3021894 | 2 | |
elessair | 0:f269e3021894 | 3 | lwip/core/netif.c: netif_add |
elessair | 0:f269e3021894 | 4 | lwip/arch/lpc17_emac.c: lpc_enetif_init -> packet_rx, packet_tx |
elessair | 0:f269e3021894 | 5 | |
elessair | 0:f269e3021894 | 6 | === tcpip_thread === |
elessair | 0:f269e3021894 | 7 | while (true): |
elessair | 0:f269e3021894 | 8 | sys_timeouts_mbox_fetch(&mbox, (void **)&msg) |
elessair | 0:f269e3021894 | 9 | ... |
elessair | 0:f269e3021894 | 10 | |
elessair | 0:f269e3021894 | 11 | Feeding the tcpip_thread mbox: |
elessair | 0:f269e3021894 | 12 | tcpip_input |
elessair | 0:f269e3021894 | 13 | tcpip_callback_with_block |
elessair | 0:f269e3021894 | 14 | tcpip_timeout |
elessair | 0:f269e3021894 | 15 | tcpip_untimeout |
elessair | 0:f269e3021894 | 16 | tcpip_apimsg |
elessair | 0:f269e3021894 | 17 | tcpip_netifapi |
elessair | 0:f269e3021894 | 18 | |
elessair | 0:f269e3021894 | 19 | |
elessair | 0:f269e3021894 | 20 | === packet_rx === |
elessair | 0:f269e3021894 | 21 | while (true): |
elessair | 0:f269e3021894 | 22 | sys_arch_sem_wait(&lpc_enetif->RxSem, osWaitForever) |
elessair | 0:f269e3021894 | 23 | ... |
elessair | 0:f269e3021894 | 24 | |
elessair | 0:f269e3021894 | 25 | Feeding the RX semaphore: |
elessair | 0:f269e3021894 | 26 | ENET_IRQHandler |
elessair | 0:f269e3021894 | 27 | |
elessair | 0:f269e3021894 | 28 | |
elessair | 0:f269e3021894 | 29 | === packet_tx === |
elessair | 0:f269e3021894 | 30 | while (true): |
elessair | 0:f269e3021894 | 31 | sys_arch_sem_wait(&lpc_enetif->TxCleanSem, osWaitForever) |
elessair | 0:f269e3021894 | 32 | ... |
elessair | 0:f269e3021894 | 33 | |
elessair | 0:f269e3021894 | 34 | Feeding the TX semaphore: |
elessair | 0:f269e3021894 | 35 | ENET_IRQHandler |