SatCat5
net_type.h File Reference

Detailed Description

Generic numeric "Type" for use with net::Protocol.

Definition in file net_type.h.

#include <satcat5/types.h>
Include dependency graph for net_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  satcat5::net::Type
 Multipurpose filter for matching fields in network packets. More...
 

Variables

constexpr satcat5::net::Type satcat5::net::TYPE_ANY = Type(u32(0), u32(0))
 The TYPE_ANY mask accepts any incoming frame.
 
constexpr satcat5::net::Type satcat5::net::TYPE_NONE = Type(u32(0))
 The TYPE_NONE mask blocks all incoming frames. More...
 

Variable Documentation

◆ TYPE_NONE

constexpr satcat5::net::Type satcat5::net::TYPE_NONE = Type(u32(0))
constexpr

The TYPE_NONE mask blocks all incoming frames.

Note: Only applies to protocols where "0" is a reserved value. (This includes CCSDS-AOS, CCSDS-SPP, Ethernet, IP, and UDP.)

Definition at line 97 of file net_type.h.