Searched refs:sll_addr (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/java/android/system/ |
D | PacketSocketAddress.java | 51 public final byte[] sll_addr; field in PacketSocketAddress 55 byte[] sll_addr) { in PacketSocketAddress() argument 60 this.sll_addr = sll_addr; in PacketSocketAddress() 65 public PacketSocketAddress(int sll_protocol, int sll_ifindex, byte[] sll_addr) { in PacketSocketAddress() argument 70 this.sll_addr = sll_addr; in PacketSocketAddress() 80 this.sll_addr = null; in PacketSocketAddress() 85 public PacketSocketAddress(int sll_ifindex, byte[] sll_addr) { in PacketSocketAddress() argument 90 this.sll_addr = sll_addr; in PacketSocketAddress()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 443 reinterpret_cast<const jbyte*>(sll->sll_addr)); in makeSocketAddress() 722 memset(&sll->sll_addr, 0, sizeof(sll->sll_addr)); in javaPacketSocketAddressToSockaddr() 725 if ((size_t) len > sizeof(sll->sll_addr)) { in javaPacketSocketAddressToSockaddr() 726 len = sizeof(sll->sll_addr); in javaPacketSocketAddressToSockaddr() 729 env->GetByteArrayRegion(sllAddr, 0, len, (jbyte*) sll->sll_addr); in javaPacketSocketAddressToSockaddr() 1658 if (sll->sll_addr[i] != 0) { in Linux_getifaddrs() 1670 reinterpret_cast<const jbyte*>(sll->sll_addr)); in Linux_getifaddrs()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 615 assertEquals(6, bound.sll_addr.length); in test_PacketSocketAddress() 617 assertEquals(0, bound.sll_addr[i]); in test_PacketSocketAddress()
|