CTL_STATUS_t ctl_arp_init(void);

ctl_arp_init initializes the ARP protocol and creates an ARP cache with a default eight entries. You must call ctl_arp_init before initializing other protocols.

By default the ARP cache will use the system memory allocator ctl_system_memory_allocator to allocate its cache. If you want to use a different memory allocator, for instance to dedicate a fixed memory size to the ARP cache, you can replace the default allocator using ctl_arp_set_memory_allocator.

Thread Safety

ctl_arp_init is thread-safe.

See Also