ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
protocore_ip Struct Reference

A v4 or v6 address in network (big-endian) byte order. More...

#include <ip.h>

Public Attributes

protocore_ip_family family
 address family tag
 
uint8_t bytes [16]
 network order; v4 uses the first 4
 

Detailed Description

A v4 or v6 address in network (big-endian) byte order.

Definition at line 55 of file ip.h.

Member Data Documentation

◆ family

protocore_ip_family protocore_ip::family

address family tag

Definition at line 57 of file ip.h.

Referenced by protocore_udp_dgram_decode(), and protocore_udp_dgram_encode().

◆ bytes

uint8_t protocore_ip::bytes[16]

network order; v4 uses the first 4

Definition at line 58 of file ip.h.

Referenced by protocore_udp_dgram_decode(), and protocore_udp_dgram_encode().


The documentation for this struct was generated from the following file: