1 /* 2 * Copyright (c) 2018 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** @file 8 * @brief Private functions for native posix ethernet driver. 9 */ 10 11 #ifndef ZEPHYR_DRIVERS_ETHERNET_ETH_NATIVE_POSIX_PRIV_H_ 12 #define ZEPHYR_DRIVERS_ETHERNET_ETH_NATIVE_POSIX_PRIV_H_ 13 14 int eth_iface_create(const char *dev_name, const char *if_name, bool tun_only); 15 int eth_iface_remove(int fd); 16 int eth_wait_data(int fd); 17 int eth_clock_gettime(uint64_t *second, uint32_t *nanosecond); 18 int eth_promisc_mode(const char *if_name, bool enable); 19 20 #endif /* ZEPHYR_DRIVERS_ETHERNET_ETH_NATIVE_POSIX_PRIV_H_ */ 21