Searched refs:sll_addr (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/java/android/system/ |
D | PacketSocketAddress.java | 45 public byte[] sll_addr; field in PacketSocketAddress 49 short sll_hatype, byte sll_pkttype, byte[] sll_addr) { in PacketSocketAddress() argument 54 this.sll_addr = sll_addr; in PacketSocketAddress() 67 public PacketSocketAddress(int sll_ifindex, byte[] sll_addr) { in PacketSocketAddress() argument 68 this((short) 0, sll_ifindex, (short) 0, (byte) 0, sll_addr); in PacketSocketAddress() local
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 430 reinterpret_cast<const jbyte*>(sll->sll_addr)); in makeSocketAddress() 709 memset(&sll->sll_addr, 0, sizeof(sll->sll_addr)); in javaPacketSocketAddressToSockaddr() 712 if ((size_t) len > sizeof(sll->sll_addr)) { in javaPacketSocketAddressToSockaddr() 713 len = sizeof(sll->sll_addr); in javaPacketSocketAddressToSockaddr() 716 env->GetByteArrayRegion(sllAddr, 0, len, (jbyte*) sll->sll_addr); in javaPacketSocketAddressToSockaddr() 1669 if (sll->sll_addr[i] != 0) { in Linux_getifaddrs() 1681 reinterpret_cast<const jbyte*>(sll->sll_addr)); in Linux_getifaddrs()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 567 assertEquals(6, bound.sll_addr.length); in test_PacketSocketAddress() 569 assertEquals(0, bound.sll_addr[i]); in test_PacketSocketAddress()
|