struct netconf_net_addr

Overview

Network address (IPv4 or IPv6) on a device More…

#include <netconf.h>

struct netconf_net_addr {
    // fields

    unsigned char family;
    unsigned char prefix;
    unsigned char flags;
    int ifindex;
    uint8_t* address;
    uint8_t* broadcast;
};

Detailed Documentation

Network address (IPv4 or IPv6) on a device

Fields

unsigned char family

Address family

unsigned char prefix

Prefix length of address

unsigned char flags

Address flags

int ifindex

Interface index

uint8_t* address

Address in network byte order

uint8_t* broadcast

Broadcast address or NULL if not available