MIB_UDP6TABLE (Compact 2013)
3/26/2014
This structure contains the User Datagram Protocol (UDP) listener table for IPv6 on the local device.
Syntax
typedef struct _MIB_UDP6TABLE {
DWORD dwNumEntries;
MIB_UDP6ROW table[ANY_SIZE];
} MIB_UDP6TABLE,
*PMIB_UDP6TABLE;
Members
- dwNumEntries
The number of entries in the table.
- table
A pointer to an array of MIB_UDP6ROW structures.
Remarks
The GetUdp6Table function enumerates the UDP endpoints for IPv6 that have been bound to an address on the local device and returns this information in a MIB_UDP6TABLE structure. This table includes the local IPv6 address, scope ID, and port information for sending and receiving UDP datagrams on the local device. An array of MIB_UDP6ROW structures are contained in the MIB_UDP6TABLE structure.
The MIB_UDP6TABLE structure can contain padding for alignment between the dwNumEntries member and the first MIB_UDP6ROW array entry in the table member. Padding for alignment can also be present between the MIB_UDP6ROW array entries in the table member. Any access to a MIB_UDP6ROW array entry should assume padding can exist.
The MIB_UDP6TABLE structure contains the UDP listener table for IPv6 on the local device. The name is based on the definition of this table in RFC 2454 published by the IETF. This table contains UDP endpoints for IPv6 that have been bound to an address. It should be noted that an application can create a UDP socket and bind it to an address for the sole purpose of sending a UDP datagram, without an intention of receiving packets by using this socket (functioning as a listener).
The MIB_UDP6TABLE_OWNER_MODULE structure is an enhanced version of the MIB_UDP6TABLE_OWNER_PID structure that includes any available ownership data for each UDP endpoint in the table. The MIB_UDP6TABLE_OWNER_PID is an enhanced version of the MIB_UDP6TABLE that includes the process ID (PID) that issued the call to the bind function for each UDP endpoint in the table.
Requirements
Header |
ws2def.h, |
See Also
Reference
MIB Structures
GetExtendedUdpTable
GetUdp6Table
GetUdpTable
MIB_UDP6ROW
MIB_UDP6ROW_OWNER_MODULE
MIB_UDP6ROW_OWNER_PID
MIB_UDP6TABLE_OWNER_MODULE
MIB_UDP6TABLE_OWNER_PID
MIB_UDPROW
MIB_UDPROW_OWNER_MODULE
MIB_UDPROW_OWNER_PID
MIB_UDPTABLE
MIB_UDPTABLE_OWNER_MODULE
MIB_UDPTABLE_OWNER_PID