rpl.h 576 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: LGPL-2.1-or-later */
  2. /*
  3. *
  4. * BlueZ - Bluetooth protocol stack for Linux
  5. *
  6. * Copyright (C) 2020 Intel Corporation. All rights reserved.
  7. *
  8. *
  9. */
  10. struct mesh_rpl {
  11. uint32_t iv_index;
  12. uint32_t seq;
  13. uint16_t src;
  14. };
  15. bool rpl_put_entry(struct mesh_node *node, uint16_t src, uint32_t iv_index,
  16. uint32_t seq);
  17. void rpl_del_entry(struct mesh_node *node, uint16_t src);
  18. bool rpl_get_list(struct mesh_node *node, struct l_queue *rpl_list);
  19. void rpl_update(struct mesh_node *node, uint32_t iv_index);
  20. bool rpl_init(const char *node_path);