Contents

getNamePrefix

Returns the BSD name prefix as a C-string.

Declaration

virtual const char * getNamePrefix() const = 0;

Return Value

Returns a pointer to a constant C-string.

Overview

The BSD name for each interface object is generated by concatenating the string returned by this method, along with an unit number assigned by IONetworkStack. A concrete interface subclass must implement this method and return a distinct name prefix for its instances.

See Also

Miscellaneous