get ARP cache IP list for C

I use the command line “arp” to get ARP cache IP list
#arp -a
? (10.153.29.111) at 00:40:ca:3a:f9:25 on en0
? (10.153.29.133) at 00:50:fc:31:9e:04 on en0

If I want get the IP list and delete the IP list for C .
How shall I do?
I use “ioctl” but I get 00:00:00:00
Can give me the example? thx!