yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | #ifndef _WTUNNEL_API_H |
| 2 | #define _WTUNNEL_API_H |
| 3 | |
| 4 | #include "upcm_did.h" |
| 5 | #include "qmu_bm.h" |
| 6 | #include "qmu_bm_util.h" |
| 7 | |
| 8 | typedef enum { |
| 9 | WTUNNEL_ADDR_FAMILY_IPV4 = 0, |
| 10 | WTUNNEL_ADDR_FAMILY_IPV6 = 1 |
| 11 | } wtunnel_addr_family_e; |
| 12 | |
| 13 | typedef enum { |
| 14 | WTUNNEL_DATA_OVER_WIFI = 0, |
| 15 | WTUNNEL_DATA_OVER_CELLULER = 1 |
| 16 | } wtunnel_data_over_rat_e; |
| 17 | |
| 18 | kal_bool wtunnel_upp_dl_reg_cbk(void (*dl_callback)(kal_uint8, upcm_did*, upcm_did*, kal_uint8)); |
| 19 | kal_bool wtunnel_upp_ul_send(kal_uint8 bearer_id, qbm_gpd* p_head, qbm_gpd* p_tail, kal_uint8 protocol_idx); |
| 20 | |
| 21 | #endif // _WTUNNEL_API_H |