struct te_sockaddr_subnet

Overview

An address with a network prefix. More…

#include <te_sockaddr.h>

struct te_sockaddr_subnet {
    // fields

    const struct sockaddr* addr;
    unsigned int prefix_len;
};

Detailed Documentation

An address with a network prefix.

Fields

const struct sockaddr* addr

Address of the network.

unsigned int prefix_len

Prefix length.