I'm filing the following closed-approved-automatic case for Sagun Shakya.
To be consistent with the other public libdlpi cases, the proposed binding
is "patch", but note that public libdlpi is not yet present in any update
release or patch.
Background
----------
PSARC 2006/634 added a dlpi_addrtype_t member to dlpi_recvinfo_t. It
was named dri_dstaddrtype which is inconsistent with other members:
typedef struct {
uchar_t dri_destaddr[DLPI_PHYSADDR_MAX];
uchar_t dri_destaddrlen;
dlpi_addrtype_t dri_dstaddrtype;
^^^
size_t dri_totmsglen;
} dlpi_recvinfo_t;
We propose to change this to 'dri_destaddrtype' for consistency.
Usage
-----
dlpi_recvinfo_t is used by dlpi_recv(3DLPI) to get the destination
address to whom the data was sent and to check whether the packet was
unicast or broadcast/multicast. The structure is defined in a public
header file, libdlpi.h.
The public libdlpi API has been only been integrated into Solaris Nevada
and has not been backported. At present there is only one application
in ON that uses dlpi_recvinfo_t, but it does not use the dri_dstaddrtype
field. We are not aware of any current users of dlpi_recvinfo_t outside
of ON. Thus, we consider this a low risk change at this point.
The materials directory consists of an updated manpage and a manpage
with diffs marked with '|'.
--
meem