All of lore.kernel.org
 help / color / mirror / Atom feed
* Difference between  IP_IP_ADD_MEMBERSHIP   and  MCAST_JOIN_GROUP
@ 2012-10-01  9:09 Pietro Paolini
  2012-10-01 10:54 ` Bjørn Mork
  0 siblings, 1 reply; 3+ messages in thread
From: Pietro Paolini @ 2012-10-01  9:09 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

I am working with multicast socket and I saw in the source of the kernel different define for identical operation, what should I use in a setsockopt() ?

The file is  /incude/linux/in.h


#define IP_MULTICAST_IF<http://lxr.linux.no/linux+v3.2.9/+code=IP_MULTICAST_IF>                 32

#define IP_MULTICAST_TTL<http://lxr.linux.no/linux+v3.2.9/+code=IP_MULTICAST_TTL>                33

#define IP_MULTICAST_LOOP<http://lxr.linux.no/linux+v3.2.9/+code=IP_MULTICAST_LOOP>               34

#define IP_ADD_MEMBERSHIP<http://lxr.linux.no/linux+v3.2.9/+code=IP_ADD_MEMBERSHIP>               35

#define IP_DROP_MEMBERSHIP<http://lxr.linux.no/linux+v3.2.9/+code=IP_DROP_MEMBERSHIP>              36

#define IP_UNBLOCK_SOURCE<http://lxr.linux.no/linux+v3.2.9/+code=IP_UNBLOCK_SOURCE>               37

#define IP_BLOCK_SOURCE<http://lxr.linux.no/linux+v3.2.9/+code=IP_BLOCK_SOURCE>                 38

#define IP_ADD_SOURCE_MEMBERSHIP<http://lxr.linux.no/linux+v3.2.9/+code=IP_ADD_SOURCE_MEMBERSHIP>        39

#define IP_DROP_SOURCE_MEMBERSHIP<http://lxr.linux.no/linux+v3.2.9/+code=IP_DROP_SOURCE_MEMBERSHIP>       40

#define IP_MSFILTER<http://lxr.linux.no/linux+v3.2.9/+code=IP_MSFILTER>                     41

#define MCAST_JOIN_GROUP<http://lxr.linux.no/linux+v3.2.9/+code=MCAST_JOIN_GROUP>                42

#define MCAST_BLOCK_SOURCE<http://lxr.linux.no/linux+v3.2.9/+code=MCAST_BLOCK_SOURCE>              43

#define MCAST_UNBLOCK_SOURCE<http://lxr.linux.no/linux+v3.2.9/+code=MCAST_UNBLOCK_SOURCE>            44

#define MCAST_LEAVE_GROUP<http://lxr.linux.no/linux+v3.2.9/+code=MCAST_LEAVE_GROUP>               45

#define MCAST_JOIN_SOURCE_GROUP<http://lxr.linux.no/linux+v3.2.9/+code=MCAST_JOIN_SOURCE_GROUP>         46

#define MCAST_LEAVE_SOURCE_GROUP<http://lxr.linux.no/linux+v3.2.9/+code=MCAST_LEAVE_SOURCE_GROUP>        47

#define MCAST_MSFILTER<http://lxr.linux.no/linux+v3.2.9/+code=MCAST_MSFILTER>                  48

I am working with IGMP V3 and I need to handle sources .

Thanks in advance,
Pietro Paolini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121001/6240fc07/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-01 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01  9:09 Difference between IP_IP_ADD_MEMBERSHIP and MCAST_JOIN_GROUP Pietro Paolini
2012-10-01 10:54 ` Bjørn Mork
2012-10-01 10:58   ` Pietro Paolini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.