Free (GPLv2) TCP/IP stack developed by TASS Belgium

Dependents:   lpc1768-picotcp-demo ZeroMQ_PicoTCP_Publisher_demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pico_igmp.h Source File

pico_igmp.h

00001 /*********************************************************************
00002    PicoTCP. Copyright (c) 2012-2015 Altran Intelligent Systems. Some rights reserved.
00003    See LICENSE and COPYING for usage.
00004 
00005    .
00006 
00007    Authors: Kristof Roelants, Simon Maes, Brecht Van Cauwenberghe
00008  *********************************************************************/
00009 
00010 #ifndef INCLUDE_PICO_IGMP
00011 #define INCLUDE_PICO_IGMP
00012 
00013 #define PICO_IGMPV1               1
00014 #define PICO_IGMPV2               2
00015 #define PICO_IGMPV3               3
00016 
00017 #define PICO_IGMP_STATE_CREATE    1
00018 #define PICO_IGMP_STATE_UPDATE    2
00019 #define PICO_IGMP_STATE_DELETE    3
00020 
00021 #define PICO_IGMP_QUERY_INTERVAL  125
00022 
00023 extern struct pico_protocol pico_proto_igmp;
00024 
00025 int pico_igmp_state_change(struct pico_ip4 *mcast_link, struct pico_ip4 *mcast_group, uint8_t filter_mode, struct pico_tree *_MCASTFilter, uint8_t state);
00026 #endif /* _INCLUDE_PICO_IGMP */