Soletta™ Framework
|
Structure to represent a network address, both IPv6 and IPv4 are valid. More...
#include <sol-network.h>
Data Fields | |
union { | |
struct { | |
uint8_t bt_addr [6] | |
uint8_t bt_type | |
} | |
uint8_t in [4] | |
uint8_t in6 [16] | |
} | addr |
The address itself. More... | |
enum sol_network_family | family |
IPv4 or IPv6 family. More... | |
uint16_t | port |
The port associed with the IP address. More... | |
Structure to represent a network address, both IPv6 and IPv4 are valid.
union { ... } sol_network_link_addr::addr |
The address itself.
Referenced by _on_network_event(), sol_network_link_addr_eq_full(), and startup().
uint8_t sol_network_link_addr::bt_addr[6] |
Referenced by sol_network_link_addr_eq_full().
uint8_t sol_network_link_addr::bt_type |
Referenced by sol_network_link_addr_eq_full().
enum sol_network_family sol_network_link_addr::family |
IPv4 or IPv6 family.
Referenced by found_device(), main(), and sol_network_link_addr_eq_full().
uint8_t sol_network_link_addr::in[4] |
Referenced by sol_network_link_addr_eq_full().
uint8_t sol_network_link_addr::in6[16] |
Referenced by sol_network_link_addr_eq_full().
uint16_t sol_network_link_addr::port |
The port associed with the IP address.
Referenced by main(), request_cb(), sol_network_link_addr_eq_full(), startup_client(), and startup_server().