netdev_interface_nat_lan.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _NETDEV_INTERFACE_NAT_LAN_H_
  13. #define _NETDEV_INTERFACE_NAT_LAN_H_
  14. #include <stdint.h>
  15. #include <stdbool.h>
  16. #include <stddef.h>
  17. #include "osi_compiler.h"
  18. OSI_EXTERN_C_BEGIN
  19. #include "drv_ether.h"
  20. /**
  21. * \brief netdev disconnect process
  22. */
  23. void netdevLanDisconnect();
  24. /**
  25. * \brief netdev connect process
  26. */
  27. void netdevLanConnect();
  28. /**
  29. * \brief netdev process on data channel active
  30. */
  31. void netdevLanNetUp(uint8_t nSimID, uint8_t nCID);
  32. /**
  33. * \brief netdev process on data channel deactive
  34. */
  35. void netdevLanNetDown(uint8_t nSimID, uint8_t nCID);
  36. OSI_EXTERN_C_END
  37. #endif