From 7b867a8e491357058d37838091ed67a2e77bce2c Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Fri, 8 Dec 2017 16:28:42 +0100 Subject: IGMP plugin - host mode: igmp_listen - API to signal that the host has joined an (S,G) - route mode: igmp_enable - API to enable the reception of host IGMP messages igmp_event - API to report the host join/leave from an (S,G) Change-Id: Id180ec27dee617d33ab3088f5dcf6125d3aa9c8f Signed-off-by: Jakub Grajciar --- src/plugins/igmp/igmp.def | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/plugins/igmp/igmp.def (limited to 'src/plugins/igmp/igmp.def') diff --git a/src/plugins/igmp/igmp.def b/src/plugins/igmp/igmp.def new file mode 100644 index 00000000000..d21753f5095 --- /dev/null +++ b/src/plugins/igmp/igmp.def @@ -0,0 +1,35 @@ +/* + *------------------------------------------------------------------ + * Copyright (c) 2018 Cisco and/or its affiliates. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *------------------------------------------------------------------ + */ + +igmp_type (0x11, membership_query) +igmp_type (0x12, membership_report_v1) +igmp_type (0x13, dvmrp) +igmp_type (0x14, pim_v1) +igmp_type (0x15, cisco_trace) +igmp_type (0x16, membership_report_v2) +igmp_type (0x17, leave_group_v2) +igmp_type (0x1e, traceroute_response) +igmp_type (0x1f, traceroute_request) +igmp_type (0x22, membership_report_v3) +igmp_type (0x30, router_advertisement) +igmp_type (0x32, router_termination) +igmp_report_type (1, mode_is_filter_include) +igmp_report_type (2, mode_is_filter_exclude) +igmp_report_type (3, change_to_filter_include) +igmp_report_type (4, change_to_filter_exclude) +igmp_report_type (5, allow_new_sources) +igmp_report_type (6, block_old_sources) -- cgit 1.2.3-korg