rpl.h 620 B

123456789101112131415161718192021222324252627282930313233
  1. /* Bluetooth Mesh */
  2. /*
  3. * SPDX-FileCopyrightText: 2017 Intel Corporation
  4. * SPDX-FileContributor: 2018-2023 Espressif Systems (Shanghai) CO LTD
  5. *
  6. * SPDX-License-Identifier: Apache-2.0
  7. */
  8. #ifndef _RPL_H_
  9. #define _RPL_H_
  10. #include "net.h"
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. void bt_mesh_update_rpl(struct bt_mesh_rpl *rpl, struct bt_mesh_net_rx *rx);
  15. bool bt_mesh_rpl_check(struct bt_mesh_net_rx *rx, struct bt_mesh_rpl **match);
  16. void bt_mesh_rpl_update(void);
  17. void bt_mesh_rpl_reset_single(uint16_t src, bool erase);
  18. void bt_mesh_rpl_reset(bool erase);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif /* _RPL_H_ */