Thank you for reviewing the document. Please see response inline:
Douglas R. McCallum wrote:
In reviewing the docs, this looks like a reasonable interface for most common
usage of just simple datagram support. This might be noted in the dlpi_open()
man page
As a follow-up work we will have a libdlpi manpage which will be
covering a subset of topics that are covered in the design document. The
note that you have mentioned above will be covered in the libdlpi
manpage as well.
It would be useful to have some documentation on how to do an unsupported DLPI
primitive while using this API for most things. The design doc says that the
goal was to make this possible, but the man pages imply that it may not be.
For example, how would an application use the API for data transfer but also
enable notifications in order to detect if the media link went away? That seems
like a reasonable operation to want to do.
This will also be documented in libdlpi manpage. For the example above
and other dlpi operations that are not supported by the proposed
library, the dlpi_fd() operations can be used to get hold of the file
descriptor.
As mentioned in the document, if the need arises, features that are not
supported can be added as a RFE accordingly.
Also, have any of the open source applications that use DLPI been examined to
get an idea of what might be needed beyond what we use inside of Sun?
We have examined the libpcap packet capture library. Did you have any
other applications specific in mind that should be investigated?
Also, I would like to request feedback on the proposed documents from
the open community, especially if they are using DLPI with their
applications.
thanks,
Sagun
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]