C H A P T E R  14


packetC Database Types and Operations

In packetC, several extended data types are present that do not appear in standard C but do provide significant support for packet-processing applications. These data types are extensions of familiar C types with special characteristics, including the fact that they define objects with methods that operate on their data. These types are databases, descriptors, and searchsets.

Databases provide the ability to represent a table of data elements and search it for specific data. Additionally, bit-level masking can be used both in the database of entries as well as in the records used to search ...

Get packetC Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.