else if (sa_family == Inets.AF_INET6) {
addresses.add(PcapIpV6Address.newInstance(pcapAddr));
}
else {
if (Platform.isLinux() && sa_family == Inets.AF_PACKET) {
sockaddr_ll sll = new sockaddr_ll(pcapAddr.addr.getPointer());
byte[] addr = sll.sll_addr;
int addrLength = sll.sll_halen & 0xFF;
if (addrLength == 6) {
linkLayerAddresses.add(ByteArrays.getMacAddress(addr, 0));
}