mikroSDK Reference Manual
igmp_host_misc.h
Go to the documentation of this file.
1
31#ifndef _IGMP_HOST_MISC_H
32#define _IGMP_HOST_MISC_H
33
34//Dependencies
35#include "core/net.h"
36#include "igmp/igmp_host.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//IGMP host related functions
44error_t igmpHostSendMembershipReport(NetInterface *interface, Ipv4Addr ipAddr);
45error_t igmpHostSendLeaveGroup(NetInterface *interface, Ipv4Addr ipAddr);
46
47void igmpHostProcessMessage(NetInterface *interface,
48 const IgmpMessage *message, size_t length);
49
50void igmpHostProcessMembershipQuery(NetInterface *interface,
51 const IgmpMessage *message, size_t length);
52
53void igmpHostProcessMembershipReport(NetInterface *interface,
54 const IgmpMessage *message, size_t length);
55
56//C++ guard
57#ifdef __cplusplus
58}
59#endif
60
61#endif
error_t
Error codes.
Definition error.h:43
IGMP host.
uint32_t Ipv4Addr
IPv4 network address.
Definition ipv4.h:267
TCP/IP stack core.