How to determine eth attach in net filter module ?

How to determine mounting new ethernet card
in net filter module ?
/I’ve got 3 NPKT messages after unmounting enX card:
UP, MSG, MSG_DYING,
but what about mounting new enX ?

You got a MSG with type _IO_NET_MSG_DL_ADVERT from each
ether driver.

-xtang

Q <no@spam.pl> wrote:

How to determine mounting new ethernet card
in net filter module ?
/I’ve got 3 NPKT messages after unmounting enX card:
UP, MSG, MSG_DYING,
but what about mounting new enX ?

You got a MSG with type _IO_NET_MSG_DL_ADVERT from each
ether driver.

after umount eth card I’ve got packet with flags UP + MSG + MSG_DYING
from unmounted eth card,
but after mount eth card I’ve got nothing;

packet with flags UP + MSG is sent (for each eth card)
only after registering module;
/after calling to (io_net_self_t *ion)->reg(…);

I check out my code - maybe it’s my fault;