This appendix contains tables that provide valuable information for developers working with packetC. These tables include information concerning:
The keywords listed within the Reference Tables below are all reserved words within packetC and shall not be redefined by a developer.
packet
library
shared
module
main
entry
extern
byte
short
int
long
void
struct
union
bits
pad
enum
typedef
buffer
const
egex
string
reference
descriptor
record
database
db
searchset
set
pragma
control
datatype
export
regex1
sizeof
offset
packet_offset
end
match
find
delete
insert
replicate
requeue
at
if
else
while
do
exit
for
goto
return
continue
switch
case
default
break
try
throw
catch
lock
unlock
alert
log
ref
deref
true
false
pib
pkt
sys
$PACKET
$SYS
$PIB
SearchResult
NULL_STOP
NULL_REGEX
ERR_DB_FULL
ERR_DB_READ
ERR_DB_NOMATCH
ERR_LAST_DEFINED
ERR_PKT_INSERT
ERR_PKT_DELETE
ERR_PKT_NOREPLICATE
ERR_SET_NOMATCH
ERR_SET_NOPERFORM
ERR_SET_NOTFOUND
ERR_PKT_NOTREQUEUED
Characters may appear differently in hex editors and packet analysis systems for characters outside of the printable standard alphanumeric sequences.
The following section contains quick references regarding the sizes and values of packetC unsigned numbers. In the diagram, MSB is the most significant bit and LSB is the least significant bit in Big-Endian byte-allocation order systems such as packetC. Note that packetC also follows a Little-Endian bit-allocation order.
The OSI model divides layers of the stack into strictly-separated roles and protocols. The TCP/IP model continues with the enveloping of protocols within one another but not necessarily defining their roles in such a strict manner with regard to transport and network layers versus application layers. In packetC, layers follow a physical construction model of representation. If a protocol follows a full Layer 3 IP Header, then that protocol is treated as a Layer 4 protocol whether or not it may be called that in the TCP/IP model. A simple reference view of this schema is shown below.
The following network protocols are provided for reference and have supporting descriptors defined in protocols.ph (see Chapter 25 for Standard Networking Descriptors). The following diagrams call out byte and bit positions matching the packetC big-endian byte order and little-endian bit order representation of packet fields when accessed directly or via descriptors.
3.142.200.109