• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description: APF hmac function header.
15  * Create: 2022-10-14
16  */
17 
18 #ifndef HMAC_APF_H
19 #define HMAC_APF_H
20 
21 /*****************************************************************************
22   1 其他头文件包含
23 *****************************************************************************/
24 #include "mac_apf.h"
25 #include "hmac_vap.h"
26 #include "frw_ext_if.h"
27 #include "oam_struct.h"
28 #include "oal_mem_hcm.h"
29 #include "diag_log_common.h"
30 #include "hmac_auto_adjust_freq.h"
31 
32 #ifdef __cplusplus
33 #if __cplusplus
34 extern "C" {
35 #endif
36 #endif
37 
38 #undef  THIS_FILE_ID
39 #define THIS_FILE_ID OAM_FILE_ID_HMAC_APF_H
40 
41 /*****************************************************************************
42   2 宏定义
43 *****************************************************************************/
44 #define APF_PROGRAM_IPV4_BEGIN 76
45 #define APF_PROGRAM_IPV4_END 79
46 #define APF_PROGRAM_IPV4_BROADCAST_BEGIN 143
47 #define APF_PROGRAM_IPV4_BROADCAST_END 145
48 
49 /*****************************************************************************
50   10 函数声明
51 *****************************************************************************/
52 static osal_u32 hmac_apf_init_weakref(osal_void) __attribute__ ((weakref("hmac_apf_init"), used));
53 static osal_void hmac_apf_deinit_weakref(osal_void) __attribute__ ((weakref("hmac_apf_deinit"), used));
54 
55 #ifdef __cplusplus
56 #if __cplusplus
57 }
58 #endif
59 #endif
60 
61 #endif /* end of hmac_apf.h */