For a start look at the arp (1M) command to see what data is available. You will only see devices your interfaces have recently talked to.
Then read man 7 arp.