Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.9.0.2
openapi_ospf_config.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 * Licensed under the Apache License, Version 2.0 (the "License");
26 * you may not use this file except in compliance with the License.
27 * You may obtain a copy of the License at
28 *
29 * http://www.apache.org/licenses/LICENSE-2.0
30 *
31 * Unless required by applicable law or agreed to in writing, software
32 * distributed under the License is distributed on an "AS IS" BASIS,
33 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34 * See the License for the specific language governing permissions and
35 * limitations under the License.
36 *
37 **********************************************************************
38 *
39 * @filename openapi_ospf_config.h
40 *
41 * @purpose Open Shortest Path First Configuration and Status
42 *
43 * @component OPEN
44 *
45 * @create 06/25/2013
46 *
47 * @end
48 *
49 **********************************************************************/
50 #ifndef OPENAPI_OSPF_CONFIG_H_INCLUDED
51 #define OPENAPI_OSPF_CONFIG_H_INCLUDED
52 
53 #include <stdbool.h>
54 #include "openapi_common.h"
55 
56 #define OPEN_OSPF_INTF_SECONDARIES_NONE 0
57 #define OPEN_OSPF_INTF_SECONDARIES_ALL 0xFFFFFFFFUL
59 #define OPEN_OSPF_INTF_METRIC_NOT_CONFIGURED 0
61 
62 
63 typedef enum
64 {
68 
69 typedef enum
70 {
75 
76 typedef enum
77 {
81 
82 typedef enum
83 {
88 
90 typedef enum
91 {
95 
96 typedef enum
97 {
102 
104 typedef enum
105 {
112 
114 typedef enum
115 {
136 
137 /*****************************************************************/
158  uint32_t areaId,
159  OPEN_OSPF_AREA_SUMMARY_t *summary);
160 
161 /*****************************************************************/
184  uint32_t areaId,
185  OPEN_OSPF_AREA_SUMMARY_t summary);
186 
187 /*****************************************************************/
201  uint32_t *autoCost);
202 
203 /*****************************************************************/
221  uint32_t autoCost);
222 
223 /*****************************************************************/
246  uint32_t areaId,
248 
249 /*****************************************************************/
276  uint32_t areaId,
278 
279 /*****************************************************************/
297  uint32_t intf,
298  OPEN_CONTROL_t *mode);
299 
300 /*****************************************************************/
322  uint32_t intf,
323  OPEN_CONTROL_t mode);
324 
325 /*****************************************************************/
342  uint32_t intf,
343  uint32_t *areaId,
344  OPEN_CONTROL_t *mode);
345 
346 /*****************************************************************/
367  uint32_t intf,
368  uint32_t areaId,
369  OPEN_CONTROL_t mode);
370 
371 /*****************************************************************/
393  uint32_t intf,
394  uint32_t *seconds);
395 
396 /*****************************************************************/
421  uint32_t intf,
422  uint32_t seconds);
423 
424 /*****************************************************************/
445  uint32_t intf,
446  uint32_t *seconds);
447 
448 /*****************************************************************/
472  uint32_t intf,
473  uint32_t seconds);
474 
475 /*****************************************************************/
492  uint32_t intf,
494  uint32_t *metric);
495 
496 /*****************************************************************/
521  uint32_t intf,
522  uint32_t ipAddr,
524  uint32_t metric);
525 
526 /*****************************************************************/
544  uint32_t intf,
545  bool *mode);
546 
547 /*****************************************************************/
566  uint32_t intf,
567  bool mode);
568 
569 /*****************************************************************/
587  uint32_t intf,
588  uint32_t *secondaries);
589 
590 /*****************************************************************/
609  uint32_t intf,
610  uint32_t secondaries);
611 
612 /*****************************************************************/
628  uint32_t intf,
629  OPEN_OSPF_INTF_TYPES_t *type);
630 
631 /*****************************************************************/
648  uint32_t intf,
650 
651 /*****************************************************************/
669  OPEN_CONTROL_t *log,
670  bool *detail);
671 
672 /*****************************************************************/
691  OPEN_CONTROL_t log,
692  bool detail);
693 
694 /*****************************************************************/
708  uint32_t *maxPaths);
709 
710 /*****************************************************************/
732  uint32_t maxPaths);
733 
734 /*****************************************************************/
752  uint32_t ipAddr,
753  uint32_t wildcardMask,
754  uint32_t areaId);
755 
756 /*****************************************************************/
773  uint32_t ipAddr,
774  uint32_t wildcardMask,
775  uint32_t areaId,
776  bool *found);
777 
778 /*****************************************************************/
801  uint32_t ipAddr,
802  uint32_t wildcardMask,
803  uint32_t areaId,
804  OPEN_OSPF_AREA_ID_FORMAT_t areaIdFmt);
805 
806 /*****************************************************************/
827  uint32_t areaId,
828  OPEN_OSPF_AREA_SUMMARY_t *summary);
829 
830 /*****************************************************************/
853  uint32_t areaId,
854  OPEN_OSPF_AREA_SUMMARY_t summary);
855 
856 /*****************************************************************/
899  bool redistribute,
900  open_buffdesc *sourceProto,
901  uint32_t distList,
902  uint32_t metric,
904  int32_t tag,
905  bool subnets);
906 
907 /*****************************************************************/
922  uint32_t *routerId);
923 
924 /*****************************************************************/
942  uint32_t routerId);
943 
944 /*****************************************************************/
964  OPEN_CONTROL_t *mode);
965 
966 /*****************************************************************/
988  OPEN_CONTROL_t mode);
989 
990 /*****************************************************************/
1005  uint32_t *time);
1006 
1007 /*****************************************************************/
1026  uint32_t time);
1027 
1028 /*****************************************************************/
1043  uint32_t *time);
1044 
1045 /*****************************************************************/
1064  uint32_t time);
1065 
1066 /*****************************************************************/
1096  uint32_t *duration,
1097  bool *override,
1098  uint32_t *metric);
1099 
1100 /*****************************************************************/
1123  uint32_t duration);
1124 
1125 /*****************************************************************/
1146  bool override,
1147  uint32_t metric);
1148 
1149 /*****************************************************************/
1167  OPEN_OSPF_TRAP_TYPES_t trapType,
1168  bool *mode);
1169 
1170 /*****************************************************************/
1190  OPEN_OSPF_TRAP_TYPES_t trapType,
1191  bool mode);
1192 
1193 #endif /* OPENAPI_OSPF_CONFIG_H_INCLUDED */
1194