@@ -54,7 +54,7 @@ typedef struct {
5454 uint8_t br_count ;
5555 int8_t interface_id ;
5656 int8_t coap_service_id ;
57- int8_t coap_nmkp_virtual_service_id ;
57+ int8_t coap_extension_virtual_service_id ;
5858 int8_t br_service_id ;
5959 int8_t backbone_interface_id ;
6060 int8_t udp_proxy_socket ; /* socket to relay messages between BA and nodes */
@@ -65,15 +65,6 @@ typedef struct {
6565 ns_list_link_t link ;
6666} thread_bbr_t ;
6767
68-
69- typedef struct {
70- int8_t interface_id ;
71- uint8_t target_eid [16 ];
72- uint16_t request_msg_id ;
73- uint16_t ttl ;
74- ns_list_link_t link ;
75- } duplicate_dua_tr_t ;
76-
7768/* Neighbor discovery options according to RFC6106 (rfc4861) */
7869#define RFC6106_RECURSIVE_DNS_SERVER_OPTION 25
7970#define RFC6106_DNS_SEARCH_LIST_OPTION 31
@@ -977,6 +968,8 @@ int thread_bbr_proxy_state_update(int8_t caller_interface_id , int8_t handler_in
977968/*Public API control*/
978969int thread_bbr_start (int8_t interface_id , int8_t backbone_interface_id )
979970{
971+ (void ) interface_id ;
972+ (void ) backbone_interface_id ;
980973#ifdef HAVE_THREAD_BORDER_ROUTER
981974 thread_bbr_t * this = thread_bbr_find_by_interface (interface_id );
982975 link_configuration_s * link_configuration_ptr = thread_joiner_application_get_config (interface_id );
@@ -1009,42 +1002,41 @@ int thread_bbr_start(int8_t interface_id, int8_t backbone_interface_id)
10091002 thread_extension_bbr_init (interface_id ,backbone_interface_id );
10101003 return 0 ;
10111004#else
1012- (void ) interface_id ;
1013- (void ) backbone_interface_id ;
10141005 return -1 ;
10151006#endif // HAVE_THREAD_BORDER_ROUTER
10161007}
10171008
1018- int thread_bbr_timeout_set (int8_t interface_id , uint32_t mlr_timeout , uint32_t dua_timeout , uint32_t dua_delay )
1009+ int thread_bbr_timeout_set (int8_t interface_id , uint32_t timeout_a , uint32_t timeout_b , uint32_t delay )
10191010{
1011+ (void ) interface_id ;
1012+ (void ) timeout_a ;
1013+ (void ) timeout_b ;
1014+ (void ) delay ;
10201015#ifdef HAVE_THREAD_BORDER_ROUTER
1021- thread_extension_bbr_timeout_set (interface_id , mlr_timeout , dua_timeout , dua_delay );
1016+ thread_extension_bbr_timeout_set (interface_id , timeout_a , timeout_b , delay );
10221017return 0 ;
10231018#else
1024- (void ) interface_id ;
1025- (void ) mlr_timeout ;
1026- (void ) dua_timeout ;
1027- (void ) dua_delay ;
1028- return -1 ;
1019+ return -1 ;
10291020#endif // HAVE_THREAD_BORDER_ROUTER
10301021}
10311022
1032- int thread_bbr_tri_address_set (int8_t interface_id , const uint8_t * tri_addr_ptr , uint16_t tri_port )
1023+ int thread_bbr_validation_interface_address_set (int8_t interface_id , const uint8_t * addr_ptr , uint16_t port )
10331024{
1025+ (void ) interface_id ;
1026+ (void ) addr_ptr ;
1027+ (void ) port ;
10341028#ifdef HAVE_THREAD_BORDER_ROUTER
1035- return thread_extension_bbr_address_set (interface_id , tri_addr_ptr , tri_port );
1029+ return thread_extension_bbr_address_set (interface_id , addr_ptr , port );
10361030#else
1037- (void ) interface_id ;
1038- (void ) tri_addr_ptr ;
1039- (void ) tri_port ;
1040- return -1 ;
1031+ return -1 ;
10411032#endif // HAVE_THREAD_BORDER_ROUTER
10421033}
10431034
10441035
10451036
10461037void thread_bbr_stop (int8_t interface_id )
10471038{
1039+ (void ) interface_id ;
10481040#ifdef HAVE_THREAD_BORDER_ROUTER
10491041
10501042 thread_bbr_t * this = thread_bbr_find_by_interface (interface_id );
@@ -1057,7 +1049,6 @@ void thread_bbr_stop(int8_t interface_id)
10571049 this -> backbone_interface_id = -1 ;
10581050
10591051#else
1060- (void ) interface_id ;
10611052 return ;
10621053#endif // HAVE_THREAD_BORDER_ROUTER
10631054
0 commit comments