In general, all modules should be initialized starting from the most basic ones upwards. See main_demo.c for an example startup procedure.
Functions | |
void | arp_init (void) |
Initialize data structures for ARP processing. | |
void | NE2000Init (UINT8 *mac) |
Initialize and configure RTL8019AS. | |
INT8 | tcp_init (void) |
Initialize TCP module. | |
void | timer_pool_init (void) |
Initialize timer pool. | |
INT8 | udp_init (void) |
Initialize UDP socket pool. |
|
Definition at line 910 of file arp.c. References ARP_FIXED_IP, ARP_FREE, ARP_MAXRETRY, ARP_RESOLVED, ARP_TEMP_IP, ARP_TIMEOUT, arp_timer, get_timer(), arp_entry::hwadr, init_timer(), MAXHWALEN, arp_entry::pradr, arp_entry::retries, arp_entry::state, TIMERTIC, arp_entry::ttl, and arp_entry::type. |
|
Definition at line 327 of file ethernet.c. References BOUNDARY, CR, CURR, DCR, ISR, NE2000CurrPktPtr, NE2000NextPktPtr, outNE2000(), PAR0, PSTART, PSTOP, RCR, RESETPIN_NE2000, RXBUF_END, RXBUF_START, and TCR. |
|
Definition at line 1154 of file tcp.c. References tcb::event_listener, tcb::flags, get_timer(), init_timer(), tcb::locport, tcb::myflags, tcb::persist_timerh, tcb::rem_ip, tcb::remport, tcb::retransmit_timerh, tcb::retries_left, tcb::send_mtu, tcb::state, TCP_STATE_FREE, TCP_TYPE_NONE, tcb::tos, tcb::tout, and tcb::type. |
|
Definition at line 105 of file timers.c. References NUMTIMERS, timer_pool, and TRUE. |
|
Definition at line 118 of file udp.c. References ucb::locport, ucb::opts, ucb::state, ucb::tos, UDP_OPT_CHECK_CS, UDP_OPT_SEND_CS, and UDP_STATE_FREE. |