Difference between IP_IP_ADD_MEMBERSHIP and MCAST_JOIN_GROUP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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                 32
#define IP_MULTICAST_TTL                33
#define IP_MULTICAST_LOOP               34
#define IP_ADD_MEMBERSHIP               35
#define IP_DROP_MEMBERSHIP              36
#define IP_UNBLOCK_SOURCE               37
#define IP_BLOCK_SOURCE                 38
#define IP_ADD_SOURCE_MEMBERSHIP        39
#define IP_DROP_SOURCE_MEMBERSHIP       40
#define IP_MSFILTER                     41
#define MCAST_JOIN_GROUP                42
#define MCAST_BLOCK_SOURCE              43
#define MCAST_UNBLOCK_SOURCE            44
#define MCAST_LEAVE_GROUP               45
#define MCAST_JOIN_SOURCE_GROUP         46
#define MCAST_LEAVE_SOURCE_GROUP        47
#define MCAST_MSFILTER                  48

 

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

 

Thanks in advance,

Pietro Paolini

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux