16 #include <net/ethernet.h>
27 ARP_NEXT_INDEX_SHIFT = 24,
28 ARP_FIB_MAX_ENTRIES = (1UL << ARP_NEXT_INDEX_SHIFT),
29 ARP_FIB_DEFAULT_ENTRIES = 1024,
30 ARP_FIB_DEFAULT_NUM_TBL8S = (1 << 8),
75 CNDP_API
int cnet_arp_create(
struct cnet *_cnet, uint32_t num_entries, uint32_t num_tbl8s);
CNDP_API struct arp_entry * cnet_arp_alloc(void)
CNDP_API void cnet_arp_free(struct arp_entry *entry)
CNDP_API struct arp_entry * cnet_arp_add(int netif_idx, struct in_addr *addr, struct ether_addr *mac, int perm)
CNDP_API int cnet_arp_create(struct cnet *_cnet, uint32_t num_entries, uint32_t num_tbl8s)
CNDP_API int cnet_arp_show(void)
CNDP_API int cnet_arp_destroy(struct cnet *cnet)
CNDP_API int cnet_arp_delete(struct in_addr *addr)