A nit of sorts, but while we're making naming changes, could we phase out
the "NIC" terminology in favor of "if" (for interface) throughout? For
instance, the following is currently proposed:
typedef enum nic_event {
NE_PLUMB = 1,
NE_UNPLUMB,
NE_UP,
NE_DOWN,
NE_ADDRESS_CHANGE
} nic_event_t;
... but this terminology is inconsistent with the rest of IP, which refers
to [physical] interfaces being plumbed/unplumbed, [physical or logical]
interfaces being brought up/down, and [logical] interfaces changing
addresses.
It seems that this has already been done for some of the functions (e.g.,
net_getifname() is proposed rather than net_getnicname()) but it'd be
nice if this could be made more uniform.
Alternatively, if there's a justification for the current terminology
split, I'm all ears.
--
meem