Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.4.4.5
openapi_sntp.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_sntp.h
28 *
29 * @purpose SNTP Configuration and Status
30 *
31 * @component OpEN
32 *
33 * @create 28/01/2013
34 *
35 * @end
36 *
37 **********************************************************************/
38 #ifndef OPENAPI_SNTP_H_INCLUDED
39 #define OPENAPI_SNTP_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
44 typedef enum
45 {
50 
51 
53 typedef enum
54 {
60 
62 typedef enum
63 {
69 
71 typedef enum
72 {
82 
83 /*****************************************************************/
107  open_buffdesc *ipAddr);
108 
109 /*****************************************************************/
134  open_buffdesc *ipAddr,
135  uint16_t priority);
136 
137 /*****************************************************************/
152  uint32_t *priorityMax);
153 
154 /*****************************************************************/
179  open_buffdesc *ipAddr, uint16_t port);
180 
181 /*****************************************************************/
206  open_buffdesc *ipAddr, uint16_t version);
207 
208 /*****************************************************************/
225  uint32_t *maxSntpServers);
226 
227 /*****************************************************************/
249  open_buffdesc *ipAddr);
250 
251 /*****************************************************************/
266  uint32_t *sntpServerAddrLen);
267 
268 /*****************************************************************/
286  open_buffdesc *sntpServer);
287 
288 /*****************************************************************/
308  open_buffdesc *sntpServer,
309  open_buffdesc *nextSntpServer);
310 
311 /*****************************************************************/
328  open_buffdesc *sntpServer,
329  OPEN_SNTP_ADDRESS_TYPE_t *sntpServerAddrType);
330 
331 /*****************************************************************/
348  open_buffdesc *sntpServer,
349  uint16_t *serverPriority);
350 
351 /*****************************************************************/
368  open_buffdesc *sntpServer,
369  uint16_t *serverVersion);
370 
371 /*****************************************************************/
388  open_buffdesc *sntpServer,
389  uint16_t *serverPort);
390 
391 /*****************************************************************/
412 
413 /*****************************************************************/
428  OPEN_SNTP_CLIENT_MODE_t *sntpClientMode);
429 
430 /*****************************************************************/
445  OPEN_SNTP_SUPPORTED_MODE_t *sntpClientSupportedMode);
446 
447 
448 /*****************************************************************/
465 
466 /*****************************************************************/
486  open_buffdesc *sntpServer);
487 
488 /*****************************************************************/
504  uint32_t *stratum);
505 
506 /*****************************************************************/
522  open_buffdesc *reference);
523 
524 /*****************************************************************/
538  uint32_t *refStrLen);
539 
540 /*****************************************************************/
555  OPEN_SNTP_SERVER_MODE_t *serverMode);
556 
557 /*****************************************************************/
572  uint32_t *currEntries);
573 #endif
574