gxPL  1.0
Tools, Application and Framework for xPL
_gxPLIoAddr Struct Reference

Describe a network address. More...

#include <defs.h>

Data Fields

union {
   struct {
      uint16_t   isbroadcast: 1
 
   } 
 
   uint16_t   flag
 
}; 
 
uint8_t addr [16]
 
uint8_t addrlen
 
gxPLNetFamily family
 
int port
 

Detailed Description

Describe a network address.

Definition at line 263 of file defs.h.

Field Documentation

uint8_t _gxPLIoAddr::addr[16]

address in network order

Definition at line 266 of file defs.h.

uint8_t _gxPLIoAddr::addrlen

number of bytes of the address

Definition at line 265 of file defs.h.

gxPLNetFamily _gxPLIoAddr::family

network family

Definition at line 264 of file defs.h.

int _gxPLIoAddr::port

port in host order, -1 if not use

Definition at line 267 of file defs.h.