lkml.org 
[lkml]   [1998]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ALLMULTI broken?
In article <m0yjWrR-000aOnC@the-village.bc.nu> you wrote:
: > will not work against anything without setting "PROMISC", no? Wouldn't
: > "ALLMULTI" be what I'd actual want to use?

: No you want to use SIOCADDMULTI/SIOCDELMULTI for the addresses needed really

I'd say: "You do not want to use neither IFF_PROMISC nor IFF_ALLMULTI
nor SIOC{ADD|DEL}MULTI. You DO want to use PACKET_{ADD|DROP}_MEMBESHIP" 8)

Even if the application does not use packet socket, it would
be better if it opened one and bound to corresponding multicast addresses.
At least, this solution is "reenterable" and fault safe.

Alexey Kuznetsov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.026 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site