Re: No RTM_NEWADDR message generated when adding IPv6 addresses to a tun interface

2015-05-29 Thread Michael Tuexen
ges from a routing socket. > When I'm adding an IPv4 address to the tun interfaces, I receive > a RTM_NEWADDR routing message with the added address. However, I > do NOT receive one, when I'm adding an IPv6 address. > When deleting an IPv4 or IPv6 address, I do receive the cor

No RTM_NEWADDR message generated when adding IPv6 addresses to a tun interface

2015-05-28 Thread Michael Tuexen
Dear all, I'm using a tun interface with the IFF_BROADCAST | IFF_MULTICAST mode. I can use ifconfig to add an IPv4 or IPv6 address. So far so good. I'm running a program which gets all messages from a routing socket. When I'm adding an IPv4 address to the tun interfaces, I receiv

Re: RTM_NEWADDR

2001-10-24 Thread Ruslan Ermilov
On Wed, Oct 24, 2001 at 11:14:54AM -0200, Daniel C. Sobral wrote: > After a long time looking into this, I have finally understood what's > the problem. RTM_NEWADDR is generated sometimes yes, sometimes no. I > have absolutely no idea what makes the difference, particularly bec

RTM_NEWADDR

2001-10-24 Thread Daniel C. Sobral
After a long time looking into this, I have finally understood what's the problem. RTM_NEWADDR is generated sometimes yes, sometimes no. I have absolutely no idea what makes the difference, particularly because I have absolutely no idea where the relevant code portions is located. As f

RTM_NEWADDR

2001-08-09 Thread Garrett Wollman
< said: > I was wondering about RTM_NEWADDR. I have noticed that no such message > is generated when you add a new address to an interface with ifconfig. This may or may not be a bug. I'm inclined to say that it is a bug; a routing process should probably be informed when a

RTM_NEWADDR

2001-08-09 Thread Daniel C. Sobral
I was wondering about RTM_NEWADDR. I have noticed that no such message is generated when you add a new address to an interface with ifconfig. So I have two questions: is that what is expected? And how can I receive events whenever a new address is set on an interface? -- Daniel C. Sobral