[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bridge
Subject:    Re: [Bridge] Help needed about IP class finding in a bridge
From:       "Louis Croisez" <louis.croisez () gmail ! com>
Date:       2006-12-08 16:35:33
Message-ID: 34d8b2fe0612080835m2c6ae98cy6f9c78e0c6e8a1be () mail ! gmail ! com
[Download RAW message or body]

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@osdl.org>:
> On Fri, 8 Dec 2006 10:19:57 +0100
> "Louis Croisez" <louis.croisez@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()
>
_______________________________________________
Bridge mailing list
Bridge@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/bridge

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic