BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers border_router.h Source File

border_router.h

00001 /*
00002  * Copyright (c) 2015, 2017, Arm Limited and affiliates.
00003  * SPDX-License-Identifier: Apache-2.0
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *     http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 /*
00019  * \file border_router.h
00020  * \brief Add short description about this file!!!
00021  *
00022  */
00023 
00024 #ifndef BORDER_ROUTER_H_
00025 #define BORDER_ROUTER_H_
00026 
00027 
00028 
00029 #ifdef HAVE_6LOWPAN_BORDER_ROUTER
00030 int8_t arm_nwk_6lowpan_borderrouter_init(struct protocol_interface_info_entry *cur);
00031 void arm_nwk_6lowpan_borderrouter_data_free(struct protocol_interface_info_entry *cur);
00032 void arm_border_router_ready(protocol_interface_info_entry_t *cur);
00033 void nd_border_router_setup_refresh(nwk_interface_id id, bool fresh_abro);
00034 void border_router_start(protocol_interface_info_entry_t *cur, bool warm_link_restart);
00035 #else
00036 #define arm_nwk_6lowpan_borderrouter_data_free(cur) ((void)0)
00037 #define arm_nwk_6lowpan_borderrouter_init(cur) -1
00038 #define nd_border_router_setup_refresh(id, fresh_abro) ((void)0)
00039 #define arm_border_router_ready(cur) ((void)0)
00040 #define border_router_start(cur, warm_link_restart) ((void)0)
00041 #endif
00042 #endif /* BORDER_ROUTER_H_ */