[net] trigger events from etherif layer and not from each driver
[net] make resource id a u32 so we can add flags to it
[net] add 'flags' to resources definitions
[net] change implementation of etherif events - use generic events
[net] cosmetic - reorder functions
[net] make functions static