next up previous contents
Next: TCP/IP header fields Up: The tcng language Previous: Naming conventions   Contents


Include files

The following sections describe include files containing macros that are considered to be standard extensions of the tcng language:

fields.tc
definitions of common TCP/IP header fields (the actual content of fields.tc is in the files meta.tc, fields4.tc, and fields6.tc, which are included by fields.tc)
idiomatic.tc
provides macros for idiomatic constructs found in the context of TCP/IP
values.tc
definitions of common values used in TCP/IP headers
ports.tc
defines IANA-assigned port numbers
meters.tc
macros for implementing traffic meters

Note that meta.tc, fields4.tc, fields6.tc, idiomatic.tc, and values.tc are conceptually part of fields.tc and should not be included individually.

For convenience, all include files listed above are automatically included by default. Section 5.1.1 describes how this can be disabled.

tcc include files are normally installed in the directory /usr/lib/tcng/include/, or, when using a local copy, they are in ./tcng/lib/tcng/include/.



Subsections

Martin A. Brown 2003-11-06