struct io.PcapAddress

Overview

This struct holds information about single address of the Pcap device. More…

import "io_pcap.jncx"

struct PcapAddress {
    // fields

    io.PcapAddress const* m_next;
    io.Address_ip4 m_address;
    io.Address_ip4 m_mask;
    io.Address_ip4 m_broadcast;
};

Detailed Documentation

This struct holds information about single address of the Pcap device.

A list of network adapter addresses is part of Pcap device description stored in io.PcapDeviceDesc.

See also:

io.PcapDeviceDesc, io.createPcapDeviceDescList

Fields

io.PcapAddress const* m_next

Holds a pointer to the next Pcap device or null if this is the last address.

io.Address_ip4 m_address

Holds IP4 address of the Pcap device as io.Address_ip4.

io.Address_ip4 m_mask

Holds IP4 mask of the Pcap device as io.Address_ip4.

io.Address_ip4 m_broadcast

Holds IP4 subnet broadcast address of the Pcap device as io.Address_ip4.