Searched refs:sll_protocol (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/java/android/system/ |
D | PacketSocketAddress.java | 34 public final int sll_protocol; field in PacketSocketAddress 54 public PacketSocketAddress(int sll_protocol, int sll_ifindex, int sll_hatype, int sll_pkttype, in PacketSocketAddress() argument 56 this.sll_protocol = sll_protocol; in PacketSocketAddress() 65 public PacketSocketAddress(int sll_protocol, int sll_ifindex, byte[] sll_addr) { in PacketSocketAddress() argument 66 this.sll_protocol = sll_protocol; in PacketSocketAddress() 75 public PacketSocketAddress(short sll_protocol, int sll_ifindex) { in PacketSocketAddress() argument 76 this.sll_protocol = sll_protocol; in PacketSocketAddress() 86 this.sll_protocol = 0; in PacketSocketAddress()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 445 static_cast<jint>(ntohs(sll->sll_protocol)), in makeSocketAddress() 714 sll->sll_protocol = htons(env->GetIntField(javaSocketAddress, protocolFid)); in javaPacketSocketAddressToSockaddr()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 608 assertEquals(ETH_P_IPV6, bound.sll_protocol); in test_PacketSocketAddress()
|