/* Copyright (c) 2015, Ilya Maximets * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ODP_PACKET_TAP_H_ #define ODP_PACKET_TAP_H_ #include typedef struct { int fd; /**< file descriptor for tap interface*/ int skfd; /**< socket descriptor */ uint32_t mtu; /**< cached mtu */ unsigned char if_mac[ETH_ALEN]; /**< MAC address of pktio side (not a MAC address of kernel interface)*/ odp_pool_t pool; /**< pool to alloc packets from */ } pkt_tap_t; #endif