STRUCTS_TYPE_ETHER(3)

NAME
structs_type_ether, structs_type_ether_nocolon - structs types for Ethernet addresses

LIBRARY
PDEL Library (libpdel, -lpdel)

SYNOPSIS
#include <sys/types.h>
#include <pdel/structs/structs.h>
#include <pdel/structs/type/ether.h>
extern const struct structs_type structs_type_ether;
extern const struct structs_type structs_type_ether_nocolon;

DESCRIPTION
These are structs(3) types for Ethernet addresses. The represented data type is an array of six unsigned characters.

The structs_type_ether and structs_type_ether_nocolon types are equivalent except for their ASCII forms. structs_type_ether expresses an Ethernet address as six hex bytes (including leading zero digits, if any) separated by colon characters, while structs_type_ether_nocolon type expresses an Ethernet address as a string of 12 hex digits.

SEE ALSO
libpdel(3), structs(3), structs_type(3)

HISTORY
The PDEL library was developed at Packet Design, LLC. http://www.packetdesign.com/

AUTHORS
Archie Cobbs <archie@packetdesign.com>