Darren Reed wrote: > Are there any requirements, in the form of documents or emails from > whoever that spell out what the requirements are for the various > lib*adm libraries that we've delivered and are continuing to deliver? >
libdladm was an original component for Nemo. It was required because Nemo, in it's original form, did not do any in-kernel auto-creation of DLPI interfaces. dladm was introduced as the layer 2 equivalent of ifconfig (the dlconfig name was objected to at the time, but I can't recall why) which was to be called at network/physical SMF time to create the DLPI interfaces for ifconfig to plumb. dladm could then be used subsequently to create VLAN interfaces (which were essentially no different to 'normal' interfaces, other then they had a non-zero tag value associated with them which caused the DLS code to insert/strip VLAN headers). The majority of code, rather than being put in usr/src/cmd/dladm.c was put in usr/src/lib/libdladm.c to create an API so that other tools could use it if so desired. Paul -- =================================== Paul Durrant http://www.linkedin.com/in/pdurrant ===================================
