-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: ip: igmp: Add igmp.h for definitions
Add igmp.h file to declare definitions for IGMP that are not meant te be included by the application but can be used in e.g. tests. Signed-off-by: Ibe Van de Veire <ibe.vandeveire@basalte.be> (cherry picked from commit ba9eca3)
- Loading branch information
1 parent
a126a08
commit 29f425f
Showing
2 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* @file | ||
* @brief IGMP definitions | ||
* This is not to be included by the application. | ||
*/ | ||
|
||
/* | ||
* Copyright (c) 2024 Basalte bv | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef __IGMP_H | ||
#define __IGMP_H | ||
|
||
#define IGMPV3_MODE_IS_INCLUDE 0x01 | ||
#define IGMPV3_MODE_IS_EXCLUDE 0x02 | ||
#define IGMPV3_CHANGE_TO_INCLUDE_MODE 0x03 | ||
#define IGMPV3_CHANGE_TO_EXCLUDE_MODE 0x04 | ||
#define IGMPV3_ALLOW_NEW_SOURCES 0x05 | ||
#define IGMPV3_BLOCK_OLD_SOURCES 0x06 | ||
|
||
#endif /* __IGMP_H */ |