Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
openapi_snooping.h
Go to the documentation of this file.
1 
9 /********************************************************************************
10 *
11 * Copyright 2016-2018 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.?0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 ********************************************************************************
26 *
27 * @filename openapi_snooping.h
28 *
29 * @purpose Provide interface for L2 Multicast Snooping API's
30 *
31 * @component OpEN
32 *
33 * @create 06/18/2015
34 *
35 * @end
36 *
37 ********************************************************************************/
38 #ifndef OPENAPI_SNOOPING_H_INCLUDED
39 #define OPENAPI_SNOOPING_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
43 #define OPEN_INTF_LEN 4
44 
45 typedef enum
46 {
47  OPEN_SNOOP_SSM_FILTER_MODE_NONE = 0,
51 
52 typedef enum
53 {
54  OPEN_SNOOP_QUERIER_DISABLED = 0,
59 
60 /*****************************************************************************/
77  uint8_t family,
78  OPEN_BOOL_t * status);
79 
80 /*****************************************************************************/
98  OPEN_CONTROL_t * adminMode,
99  uint8_t family);
100 
101 /*****************************************************************************/
119  OPEN_CONTROL_t adminMode,
120  uint8_t family);
121 
122 /*****************************************************************************/
143  uint32_t * processedFrames,
144  uint8_t family);
145 
146 /*****************************************************************************/
166  uint32_t * forwardedFrames,
167  uint8_t family);
168 
169 /*****************************************************************************/
190  OPEN_CONTROL_t * adminMode,
191  uint8_t family);
192 
193 /*****************************************************************************/
214  OPEN_CONTROL_t adminMode,
215  uint8_t family);
216 
217 /*****************************************************************************/
235  OPEN_BOOL_t * floodAll);
236 
237 /*****************************************************************************/
255  OPEN_BOOL_t floodAll);
256 
257 /*****************************************************************************/
274  uint8_t family);
275 
276 /*****************************************************************************/
298  open_buffdesc * mask,
299  uint8_t family);
300 
301 /****************************************************************************/
322  open_buffdesc * mask,
323  uint8_t family);
324 
325 /*****************************************************************************/
344  uint32_t intIfNum,
345  OPEN_CONTROL_t * mode,
346  uint8_t family);
347 
348 /*****************************************************************************/
367  uint32_t intIfNum,
368  OPEN_CONTROL_t mode,
369  uint8_t family);
370 
371 /*****************************************************************************/
392  uint32_t intIfNum,
393  uint32_t * queryTime,
394  uint8_t family);
395 
396 /*****************************************************************************/
417  uint32_t intIfNum,
418  uint32_t queryTime,
419  uint8_t family);
420 
421 /*****************************************************************************/
440  uint32_t intIfNum,
441  uint32_t * responseTime,
442  uint8_t family);
443 
444 /*****************************************************************************/
465  uint32_t intIfNum,
466  uint32_t responseTime,
467  uint8_t family);
468 
469 /*****************************************************************************/
488  uint32_t intIfNum,
489  OPEN_CONTROL_t * mode,
490  uint8_t family);
491 
492 /*****************************************************************************/
513  uint32_t intIfNum,
514  OPEN_CONTROL_t mode,
515  uint8_t family);
516 
517 /*****************************************************************************/
537  uint32_t intIfNum,
538  OPEN_CONTROL_t * mode,
539  uint8_t family);
540 
541 /*****************************************************************************/
561  uint32_t intIfNum,
562  OPEN_CONTROL_t mode,
563  uint8_t family);
564 
565 /*****************************************************************************/
580  uint32_t intIfNum,
581  OPEN_BOOL_t * status);
582 
583 /*************************************************************************/
604  uint8_t family, open_inet_addr_t *pGroup,
605  uint32_t *pIntIfNum, uint32_t *pVlanId,
606  OPEN_SNOOP_SSM_FILTER_MODE_t *pfilterMode);
607 
608 /*************************************************************************/
629  uint8_t family, open_inet_addr_t *pGroup,
630  uint32_t *pIntIfNum, uint32_t *pVlanId,
631  open_inet_addr_t *pSrcIp);
632 
633 /*************************************************************************/
654  uint8_t family, open_inet_addr_t *pGroup,
655  uint32_t *pIntIfNum, uint32_t *pVlanId);
656 
657 /*************************************************************************/
678  uint8_t family, open_inet_addr_t *pGroup,
679  uint32_t *pIntIfNum, uint32_t *pVlanId);
680 
681 /*************************************************************************/
697  uint8_t family, uint32_t *currEntries);
698 
699 /**************************************************************************/
721  uint8_t family, open_inet_addr_t *pGroup,
722  open_inet_addr_t *pSource, uint32_t *pVlanId,
723  open_buffdesc *excPortMaskName);
724 
725 /*************************************************************************/
745  uint8_t family, open_inet_addr_t *pGroup,
746  open_inet_addr_t *pSource, uint32_t *pVlanId);
747 
748 /**************************************************************************/
770  uint8_t family, open_inet_addr_t *pGroup,
771  open_inet_addr_t *pSource, uint32_t *pVlanId,
772  open_buffdesc *incPortMaskName);
773 
774 /**************************************************************************/
794  uint8_t family,
795  open_inet_addr_t *pGroup,
796  open_inet_addr_t *pSource,
797  uint32_t *pVlanId);
798 
799 /*************************************************************************/
816  uint8_t family,
817  uint32_t *maxEntries);
818 
819 /*************************************************************************/
836  uint8_t family,
837  uint32_t *mostEntries);
838 
839 /**************************************************************************/
861  uint8_t family,
862  open_inet_addr_t *pGroup,
863  uint32_t *pIntIfNum,
864  uint32_t *pVlanId,
865  open_inet_addr_t *pSrcIp);
866 
867 /**************************************************************************/
890  uint8_t family,
891  open_inet_addr_t *pGroup,
892  uint32_t *pIntIfNum,
893  uint32_t *pVlanId,
894  open_inet_addr_t *pSrcIp);
895 
896 /**************************************************************************/
909 open_error_t openapiSnoopVlanCheckValid(openapiClientHandle_t *client_handle, uint32_t vlanId);
910 
911 /**************************************************************************/
925 open_error_t openapiSnoopVlanNextGet(openapiClientHandle_t *client_handle, uint32_t vlanId,
926  uint32_t *nextVlan);
927 
928 /**************************************************************************/
945  uint32_t vlanId,
946  OPEN_BOOL_t *fastLeaveMode,
947  uint8_t family);
948 
949 /**************************************************************************/
966  uint32_t vlanId,
967  OPEN_BOOL_t fastLeaveMode,
968  uint8_t family);
969 
970 /**************************************************************************/
988  uint32_t vlanId,
989  uint16_t *groupMembershipInterval,
990  uint8_t family);
991 
992 /**************************************************************************/
1010  uint32_t vlanId,
1011  uint16_t groupMembershipInterval,
1012  uint8_t family);
1013 
1014 /**************************************************************************/
1032  uint32_t vlanId,
1033  uint16_t *responseTime,
1034  uint8_t family);
1035 
1036 /**************************************************************************/
1053  uint32_t vlanId,
1054  uint16_t responseTime,
1055  uint8_t family);
1056 
1057 /**************************************************************************/
1074  uint32_t vlanId,
1075  uint32_t *snoopVlanMode,
1076  uint8_t family);
1077 
1078 /**************************************************************************/
1095  uint32_t vlanId,
1096  uint32_t snoopVlanMode,
1097  uint8_t family);
1098 
1099 /**************************************************************************/
1117  uint32_t vlanId,
1118  uint32_t *mode,
1119  uint8_t family);
1120 
1121 /**************************************************************************/
1139  uint32_t vlanId,
1140  uint32_t mode,
1141  uint8_t family);
1142 
1143 /**************************************************************************/
1161  uint32_t vlanId,
1162  uint8_t family,
1163  OPEN_BOOL_t *reportSuppMode);
1164 
1165 /**************************************************************************/
1183  uint32_t vlanId,
1184  uint8_t family,
1185  OPEN_BOOL_t reportSuppMode);
1186 
1187 /**************************************************************************/
1203  open_inet_addr_t *snoopQuerierAddr,
1204  uint8_t family);
1205 
1206 /**************************************************************************/
1222  open_inet_addr_t *snoopQuerierAddr,
1223  uint8_t family);
1224 
1225 /**************************************************************************/
1241  uint32_t *adminMode,
1242  uint8_t family);
1243 
1244 /**************************************************************************/
1260  uint32_t adminMode,
1261  uint8_t family);
1262 
1263 /**************************************************************************/
1279  uint32_t *expiryInterval,
1280  uint8_t family);
1281 
1282 /**************************************************************************/
1298  uint32_t expiryInterval,
1299  uint8_t family);
1300 
1301 /**************************************************************************/
1319  uint32_t vlanId,
1320  open_inet_addr_t *querierAddr,
1321  uint8_t family);
1322 
1323 /**************************************************************************/
1342  uint32_t vlanId,
1343  uint32_t *version,
1344  uint8_t family);
1345 
1346 /**************************************************************************/
1368  uint32_t vlanId,
1369  uint32_t *maxRespTime,
1370  uint8_t family);
1371 
1372 /**************************************************************************/
1391  uint32_t vlanId,
1392  uint32_t *state,
1393  uint8_t family);
1394 
1395 /**************************************************************************/
1414  uint32_t vlanId,
1415  uint32_t *version,
1416  uint8_t family);
1417 
1418 /**************************************************************************/
1435  uint32_t *queryInterval,
1436  uint8_t family);
1437 
1438 /**************************************************************************/
1455  uint32_t queryInterval,
1456  uint8_t family);
1457 
1458 /**************************************************************************/
1474  uint32_t *version,
1475  uint8_t family);
1476 
1477 /**************************************************************************/
1493  uint32_t version,
1494  uint8_t family);
1495 
1496 /**************************************************************************/
1514  uint32_t vlanId,
1515  open_inet_addr_t *snoopQuerierAddr,
1516  uint8_t family);
1517 
1518 /**************************************************************************/
1536  uint32_t vlanId,
1537  open_inet_addr_t *snoopQuerierAddr,
1538  uint8_t family);
1539 
1540 /**************************************************************************/
1559  uint32_t vlanId,
1560  uint32_t *vlanMode,
1561  uint8_t family);
1562 
1563 /**************************************************************************/
1582  uint32_t vlanId,
1583  uint32_t vlanMode,
1584  uint8_t family);
1585 
1586 /**************************************************************************/
1604  uint32_t vlanId,
1605  OPEN_CONTROL_t *vlanMode,
1606  uint8_t family);
1607 
1608 /**************************************************************************/
1626  uint32_t vlanId,
1627  OPEN_CONTROL_t vlanMode,
1628  uint8_t family);
1629 
1630 /*****************************************************************/
1645  OPEN_CONTROL_t *mode);
1646 
1647 /*****************************************************************/
1662  OPEN_CONTROL_t mode);
1663 
1664 /*****************************************************************/
1679  uint32_t *vlanId);
1680 
1681 #endif /* OPENAPI_SNOOPING_H_INCLUDED */
1682 
open_error_t openapiSnoopQuerierVlanModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_CONTROL_t *vlanMode, uint8_t family)
Gets the configured snooping querier mode for the specified vlanId of a snoop instance.
open_error_t openapiSnoopQuerierExpiryIntervalGet(openapiClientHandle_t *client_handle, uint32_t *expiryInterval, uint8_t family)
Gets the other querier expiry interval of a snoop instance.
open_error_t openapiSnoopVlanGroupMembershipIntervalSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint16_t groupMembershipInterval, uint8_t family)
Sets the configured IGMP/MLD snooping group membership interval for the specified VLAN...
open_error_t openapiSnoopSSMGroupFilterModeGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, uint32_t *pIntIfNum, uint32_t *pVlanId, OPEN_SNOOP_SSM_FILTER_MODE_t *pfilterMode)
Gets the source filter mode (Include or Exclude) for the specified group on the specified interface a...
open_error_t openapiSnoopQuerierOperVersionGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *version, uint8_t family)
Gets the operational version of querier for specified VLAN ID of a snoop instance.
open_error_t openapiSnoopQuerierOperStateGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *state, uint8_t family)
Gets the operational state of querier for specified VLAN ID of a snoop instance.
open_error_t openapiSnoopQuerierVlanModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_CONTROL_t vlanMode, uint8_t family)
Set the configured snooping querier mode for the specified vlanId of a snoop instance.
open_error_t openapiSnoopVlanNextGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *nextVlan)
Gets next VLAN ID for snooping configuration.
open_error_t openapiSnoopQuerierVlanElectionModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t vlanMode, uint8_t family)
Sets the configured snooping querier election mode for the specified VLAN ID of a snoop instance...
open_error_t openapiSnoopSSMGroupLastReporterGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, uint32_t *pIntIfNum, uint32_t *pVlanId, open_inet_addr_t *pSrcIp)
Gets the IP address of the source of last membership report received for the specified group address ...
open_error_t openapiSnoopIntfResponseTimeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *responseTime, uint8_t family)
Returns the IGMP/MLD query response time for the specified interface.
open_error_t openapiSnoopVlanReportSuppModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint8_t family, OPEN_BOOL_t *reportSuppMode)
Get the configured IGMP/MLD snooping report suppression mode for the specified VLAN.
open_error_t openapiSnoopVlanProxyQuerierModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t mode, uint8_t family)
Sets the configured snooping proxy querier mode for the specified VLAN of a snoop instance...
open_error_t openapiSnoopVlanModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *snoopVlanMode, uint8_t family)
Get the IGMP/MLD snooping mode corresponding to the VLAN ID.
open_error_t openapiSnoopQuerierQueryIntervalSet(openapiClientHandle_t *client_handle, uint32_t queryInterval, uint8_t family)
Sets the qnooping querier query interval of a snoop instance.
open_error_t openapiSnoopEntriesFlush(openapiClientHandle_t *client_handle, uint8_t family)
Flushes all Snooping entries and multicast router entries.
open_error_t openapiSnoopSSMMfdbEntryFirstGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, open_inet_addr_t *pSource, uint32_t *pVlanId)
Gets the first learnt entry from SSM MFDB.
open_error_t openapiSnoopQuerierVlanAddressSet(openapiClientHandle_t *client_handle, uint32_t vlanId, open_inet_addr_t *snoopQuerierAddr, uint8_t family)
Sets the snooping querier configured address for specified VLAN ID of a snoop instance.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiSnoopProxyQuerierAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode, uint8_t family)
Sets the IGMP/MLD Proxy Querier Admin mode for the specified snooping instance.
open_error_t openapiSnoopIntfModeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode, uint8_t family)
Sets the IGMP/MLD Snooping mode for the specified interface.
open_error_t openapiSnoopIntfFastLeaveAdminModeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode, uint8_t family)
Sets the Fast-Leave Admin mode for the specified interface.
open_error_t openapiSnoopVlanFastLeaveModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t *fastLeaveMode, uint8_t family)
Gets the configured IGMP/MLD snooping fast leave mode for the specified VLAN.
open_error_t openapiSnoopProtocolGet(openapiClientHandle_t *client_handle, uint8_t family, OPEN_BOOL_t *status)
Checks if the passed family type snooping is supported or not.
open_error_t openapiSnoopFloodUnknownAllPortsGet(openapiClientHandle_t *client_handle, OPEN_BOOL_t *floodAll)
Returns the configured mode for flooding unknown multicast traffic to all ports.
open_error_t openapiSnoopSSMMfdbEntryExcPortMaskGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, open_inet_addr_t *pSource, uint32_t *pVlanId, open_buffdesc *excPortMaskName)
Get the exclude port list for a given SSM MFDB entry.
open_error_t openapiSnoopAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode, uint8_t family)
Sets the IGMP/MLD Snooping Admin mode.
open_error_t openapiSnoopSSMGroupRecordFirstGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, uint32_t *pIntIfNum, uint32_t *pVlanId)
Gets the first learnt entry from SSM group database.
open_error_t openapiSnoopQuerierVersionSet(openapiClientHandle_t *client_handle, uint32_t version, uint8_t family)
Sets the snooping querier configured version of a snoop instance.
open_error_t openapiSnoopVlanCheckValid(openapiClientHandle_t *client_handle, uint32_t vlanId)
Check if VLAN is eligible for snooping configuration.
open_error_t openapiSnoopIntfProxyQuerierModeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode, uint8_t family)
Sets the Proxy Querier Admin mode for the specified interface.
open_error_t openapiSnoopQuerierAddressSet(openapiClientHandle_t *client_handle, open_inet_addr_t *snoopQuerierAddr, uint8_t family)
Sets the snooping querier configured address of a snoop instance.
open_error_t openapiSnoopQuerierAdminModeGet(openapiClientHandle_t *client_handle, uint32_t *adminMode, uint8_t family)
Gets the snooping querier admin mode of a snoop instance.
open_error_t openapiSnoopIntfEnabledMaskSet(openapiClientHandle_t *client_handle, open_buffdesc *mask, uint8_t family)
Sets IGMP/MLD Snooping interface mode via a comma separated string.
open_error_t openapiSnoopQuerierAdminModeSet(openapiClientHandle_t *client_handle, uint32_t adminMode, uint8_t family)
Gets the Snooping Querier Admin mode of a snoop instance.
open_error_t openapiSnoopAutoVideoModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode)
Gets the Auto-Video mode.
OPEN_SNOOP_QUERIER_STATE_t
open_error_t openapiSnoopVlanMaximumResponseTimeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint16_t responseTime, uint8_t family)
Set response time for the specified VLAN.
open_error_t openapiSnoopProxyQuerierAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode, uint8_t family)
Returns the IGMP/MLD Proxy Querier Admin mode for the specified snooping instance.
open_error_t openapiSnoopQuerierExpiryIntervalSet(openapiClientHandle_t *client_handle, uint32_t expiryInterval, uint8_t family)
Sets the other querier expiry interval of a snoop instance.
open_error_t openapiSnoopQuerierLastQuerierVersionGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *version, uint8_t family)
Gets the detected last querier's version for specified VLAN ID of a snoop instance.
open_error_t openapiSnoopVlanModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t snoopVlanMode, uint8_t family)
Set the IGMP/MLD snooping mode corresponding to the VLAN ID.
open_error_t openapiSnoopDataFramesForwardedGet(openapiClientHandle_t *client_handle, uint32_t *forwardedFrames, uint8_t family)
Returns the number of multicast data frames forwarded by the CPU.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiSnoopAutoVideoVlanGet(openapiClientHandle_t *client_handle, uint32_t *vlanId)
Gets the Auto-Video VLAN.
open_error_t openapiSnoopQuerierLastQuerierAddressGet(openapiClientHandle_t *client_handle, uint32_t vlanId, open_inet_addr_t *querierAddr, uint8_t family)
Gets the detected last querier address for specified VLAN ID of a snoop instance. ...
open_error_t openapiSnoopSSMMfdbEntryIncPortMaskGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, open_inet_addr_t *pSource, uint32_t *pVlanId, open_buffdesc *incPortMaskName)
Get the include port list for a given SSM MFDB entry.
open_error_t openapiSnoopIntfResponseTimeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t responseTime, uint8_t family)
Sets the IGMP/MLD query response time for the specified interface.
open_error_t openapiSnoopSSMMfdbCurrEntriesGet(openapiClientHandle_t *client_handle, uint8_t family, uint32_t *currEntries)
To get the current number of entries in the MFDB table.
open_error_t openapiSnoopVlanReportSuppModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint8_t family, OPEN_BOOL_t reportSuppMode)
Sets the configured IGMP/MLD snooping report suppression mode for the specified VLAN.
SSM Filter Mode Include.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiSnoopIsValidIntf(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *status)
Checks if interface is a valid IGMP/MLD snooping Interface.
open_error_t openapiSnoopVlanFastLeaveModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t fastLeaveMode, uint8_t family)
Sets the configured IGMP/MLD snooping fast leave mode for the specified VLAN.
open_error_t openapiSnoopVlanMaximumResponseTimeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint16_t *responseTime, uint8_t family)
Gets the configured IGMP/MLD snooping maximum response time for the specified VLAN.
open_error_t openapiSnoopIntfFastLeaveAdminModeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *mode, uint8_t family)
Returns the Fast-Leave Admin mode for the specified interface.
open_error_t openapiSnoopQuerierAddressGet(openapiClientHandle_t *client_handle, open_inet_addr_t *snoopQuerierAddr, uint8_t family)
Gets the snooping querier configured address of a snoop instance.
Non-SSM Filter Mode State.
open_error_t openapiSnoopIntfGroupMembershipIntervalSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t queryTime, uint8_t family)
Sets the IGMP/MLD group membership interval for the specified interface.
open_error_t openapiSnoopAutoVideoModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Sets the Auto-Video mode.
open_error_t openapiSnoopSSMSrcListEntryGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, uint32_t *pIntIfNum, uint32_t *pVlanId, open_inet_addr_t *pSrcIp)
To validate if the specified source address exists for the specified group address and interface or n...
open_error_t openapiSnoopQuerierVersionGet(openapiClientHandle_t *client_handle, uint32_t *version, uint8_t family)
Gets the snooping querier configured version of a snoop instance.
open_error_t openapiSnoopControlFramesProcessedGet(openapiClientHandle_t *client_handle, uint32_t *processedFrames, uint8_t family)
Returns the number of multicast control frames processed by the CPU.
open_error_t openapiSnoopSSMSrcListEntryNextGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, uint32_t *pIntIfNum, uint32_t *pVlanId, open_inet_addr_t *pSrcIp)
Get the next source list entry for the specified group address interface and source address...
open_error_t openapiSnoopAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode, uint8_t family)
Returns the IGMP/MLD Snooping Admin mode.
open_error_t openapiSnoopQuerierOperMaxRespTimeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *maxRespTime, uint8_t family)
Gets the operational value of max response time for specified VLAN ID of a snoop instance.
open_error_t openapiSnoopIntfModeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *mode, uint8_t family)
Returns the IGMP/MLD Snooping mode for the specified interface.
open_error_t openapiSnoopSSMGroupRecordNextGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, uint32_t *pIntIfNum, uint32_t *pVlanId)
Gets the next learnt entry from SSM group database.
open_error_t openapiSnoopQuerierVlanElectionModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *vlanMode, uint8_t family)
Gets the configured snooping querier election mode for the specified vlan ID of a snoop instance...
open_error_t openapiSnoopIntfEnabledMaskGet(openapiClientHandle_t *client_handle, open_buffdesc *mask, uint8_t family)
Returns the interface mask of interfaces enabled for IGMP/MLD Snooping.
open_error_t openapiSnoopSSMMfdbMostEntriesGet(openapiClientHandle_t *client_handle, uint8_t family, uint32_t *mostEntries)
To get the most number of entries ever in the SSM MFDB table for a given family.
open_error_t openapiSnoopIntfProxyQuerierModeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *mode, uint8_t family)
Returns the Proxy Querier Admin mode for the specified interface.
open_error_t openapiSnoopQuerierQueryIntervalGet(openapiClientHandle_t *client_handle, uint32_t *queryInterval, uint8_t family)
Gets the snooping querier query interval of a snoop instance.
open_error_t openapiSnoopVlanGroupMembershipIntervalGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint16_t *groupMembershipInterval, uint8_t family)
Gets the configured IGMP/MLD snooping group membership interval for the specified VLAN...
open_error_t openapiSnoopIntfGroupMembershipIntervalGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *queryTime, uint8_t family)
Returns the IGMP/MLD group membership interval for the specified interface.
open_error_t openapiSnoopVlanProxyQuerierModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *mode, uint8_t family)
Gets the configured snooping proxy querier mode for the specified VLAN of a snoop instance...
open_error_t openapiSnoopSSMMfdbMaxTableEntriesGet(openapiClientHandle_t *client_handle, uint8_t family, uint32_t *maxEntries)
To get the maximum number of entries that the SSM MFDB table can hold for a given family...
open_error_t openapiSnoopFloodUnknownAllPortsSet(openapiClientHandle_t *client_handle, OPEN_BOOL_t floodAll)
Sets the configured mode for flooding unknown multicast traffic to all ports.
OPEN_SNOOP_SSM_FILTER_MODE_t
open_error_t openapiSnoopQuerierVlanAddressGet(openapiClientHandle_t *client_handle, uint32_t vlanId, open_inet_addr_t *snoopQuerierAddr, uint8_t family)
Gets the qnooping querier configured address for specified VLAN ID of a snoop instance.
open_error_t openapiSnoopSSMMfdbEntryNextGet(openapiClientHandle_t *client_handle, uint8_t family, open_inet_addr_t *pGroup, open_inet_addr_t *pSource, uint32_t *pVlanId)
Gets next learnt entry from SSM MFDB.