Thx a lot everybody. It works as i want now. inet_addr_type() gives me unicast/multicast information at bridge level. is_broadcast_ether_addr() gives me broadcast information at bridge level. Cheers. LOUIS 2006/12/8, Stephen Hemminger <shemminger at osdl.org>: > On Fri, 8 Dec 2006 10:19:57 +0100 > "Louis Croisez" <louis.croisez at gmail.com> wrote: > > > Hi Eric, > > first, thx for your responses. > > I have tried to hping on destination IP 239.255.255.250 (a Multicast > > ip used for example in the uPnP discovery process). > > The inet_addr_type() function detect multicast well. > > > > For the question of the broadcast, your idea of using the mac dest > > address is great. I will check this and give a feedback. > > Cheers, > > LOUIS > > You could also look at the destination ethernet address using > is_multicast_ether_addr() > and is_broadcast_ether_addr() >