Partager via


MIB_UDP6TABLE_OWNER_PID (Compact 7)

3/12/2014

This structure contains the User Datagram Protocol (UDP) listener table for IPv6 on the local computer. The table also includes the process ID (PID) that issued the call to the bind function for each UDP endpoint.

Syntax

typedef struct {
  DWORD dwNumEntries;
  MIB_UDP6ROW_OWNER_PID table[ANY_SIZE];
} MIB_UDP6TABLE_OWNER_PID,
  *PMIB_UDP6TABLE_OWNER_PID;

Members

  • table
    An array of MIB_UDP6ROW_OWNER_PID structures returned by a call to GetExtendedUdpTable.

Remarks

The MIB_UDP6TABLE_OWNER_PID structure is returned by a call to GetExtendedUdpTable with the TableClass parameter set to a UDP_TABLE_OWNER_PID from the UDP_TABLE_CLASS enumeration and the ulAf parameter set to AF_INET6. The MIB_UDP6TABLE_OWNER_PID structure contains an array of MIB_UDP6ROW_OWNER_PID structures.

The MIB_UDP6TABLE_OWNER_PID structure can contain padding for alignment between the dwNumEntries member and the first MIB_UDP6ROW_OWNER_PID array entry in the table member. Padding for alignment can also be present between the MIB_UDP6ROW_OWNER_PID array entries in the table member. Any access to a MIB_UDP6ROW_OWNER_PID array entry should assume padding can exist.

The MIB_UDP6TABLE_OWNER_PID structure contains the UDP listener table for IPv6 on the local computer. 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,
ws2ipdef.h

See Also

Reference

MIB Structures
GetExtendedUdpTable
GetUdp6Table
GetUdpTable
MIB_UDP6ROW
MIB_UDP6ROW_OWNER_MODULE
MIB_UDP6ROW_OWNER_PID
MIB_UDP6TABLE
MIB_UDP6TABLE_OWNER_MODULE
MIB_UDPROW
MIB_UDPROW_OWNER_MODULE
MIB_UDPROW_OWNER_PID
MIB_UDPTABLE
MIB_UDPTABLE_OWNER_MODULE
MIB_UDPTABLE_OWNER_PID
UDP_TABLE_CLASS