User Manual
78Q8430 Driver Manual for ST5100/OS-20 with NexGen TCP/IP Stack UM_8430_005
8 Rev. 1.0
Table 3: NEXGEN TCP/IP Files for Hardware Checksum
Directory Path File Name File Description
ipncs.c (ip.c) Add IP checksum HW/SW option
udpncs.c (udp.c) Add UDP checksum HW/SW option
C:\ipstba5\src\nexgen_drv
tcpncs.c (tcp.c) Add TCP checksum HW/SW option
3.2 ST/OS-20 Header Files
The 78Q8430 device driver software requires the following ST/OS-20 header files to be included:
#include <task.h>
#include <stdio.h>
#include <stdlib.h>
#include <message.h>
#include <string.h>
#include <heap.h>
#include <cache.h>
#include <debug.h>
#include <interrup.h>
#include <ostime.h>
#include <c1timer.h>
#include <time.h>
#include <semaphor.h>
#include <debug.h>
#include "stddefs.h"
#include "commem.h"
#include "comregs.h"
3.3 Data Structures
The 78Q8430 device driver for ST/OS-20 interfaces to the NexGen TCP/IP stack with the structures
described below.
3.3.1 NG_TSC_STRUCT
NG_TSC_STRUCT and DEVICE_CONTROL_STRUCT structures are defined in the TSC Ethernet
source module commem.h.
Figure 1 shows the call graph for the NG_TSC_STRUCT structure.
Figure 1: NG_TSC_STRUCT Call Graph