Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
igmp.c File Reference
IGMP (Internet Group Management Protocol) More...
Go to the source code of this file.
Functions | |
| error_t | igmpInit (NetInterface *interface) |
| IGMP initialization. | |
| error_t | igmpJoinGroup (NetInterface *interface, Ipv4FilterEntry *entry) |
| Join the specified host group. | |
| error_t | igmpLeaveGroup (NetInterface *interface, Ipv4FilterEntry *entry) |
| Leave the specified host group. | |
| void | igmpTick (NetInterface *interface) |
| IGMP timer handler. | |
| void | igmpLinkChangeEvent (NetInterface *interface) |
| Callback function for link change event. | |
| void | igmpProcessMessage (NetInterface *interface, const NetBuffer *buffer, size_t offset) |
| Process incoming IGMP message. | |
| void | igmpProcessQueryMessage (NetInterface *interface, const IgmpMessage *message, size_t length) |
| Process incoming Membership Query message. | |
| void | igmpProcessReportMessage (NetInterface *interface, const IgmpMessage *message, size_t length) |
| Process incoming Membership Report message. | |
| error_t | igmpSendReportMessage (NetInterface *interface, Ipv4Addr ipAddr) |
| Send Membership Report message. | |
| error_t | igmpSendLeaveGroupMessage (NetInterface *interface, Ipv4Addr ipAddr) |
| Send Leave Group message. | |
| uint32_t | igmpRand (uint32_t max) |
| Get a random value in the specified range. | |
| void | igmpDumpMessage (const IgmpMessage *message) |
| Dump IGMP message for debugging purpose. | |
Detailed Description
IGMP (Internet Group Management Protocol)
License
Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Description
IGMP is used by IP hosts to report their multicast group memberships to routers. Refer to the following RFCs for complete details:
- RFC 1112: Host Extensions for IP Multicasting
- RFC 2236: Internet Group Management Protocol, Version 2
- RFC 3376: Internet Group Management Protocol, Version 3
- Version:
- 1.7.6
Definition in file igmp.c.
Function Documentation
| void igmpDumpMessage | ( | const IgmpMessage * | message ) |
| error_t igmpInit | ( | NetInterface * | interface ) |
| error_t igmpJoinGroup | ( | NetInterface * | interface, |
| Ipv4FilterEntry * | entry | ||
| ) |
| error_t igmpLeaveGroup | ( | NetInterface * | interface, |
| Ipv4FilterEntry * | entry | ||
| ) |
| void igmpLinkChangeEvent | ( | NetInterface * | interface ) |
| void igmpProcessMessage | ( | NetInterface * | interface, |
| const NetBuffer * | buffer, | ||
| size_t | offset | ||
| ) |
| void igmpProcessQueryMessage | ( | NetInterface * | interface, |
| const IgmpMessage * | message, | ||
| size_t | length | ||
| ) |
| void igmpProcessReportMessage | ( | NetInterface * | interface, |
| const IgmpMessage * | message, | ||
| size_t | length | ||
| ) |
| uint32_t igmpRand | ( | uint32_t | max ) |
Generated on Tue Jul 12 2022 17:10:20 by
1.7.2