Searched refs:sll_protocol (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/java/android/system/ |
D | PacketSocketAddress.java | 33 public short sll_protocol; field in PacketSocketAddress 48 public PacketSocketAddress(short sll_protocol, int sll_ifindex, in PacketSocketAddress() argument 50 this.sll_protocol = sll_protocol; in PacketSocketAddress() 60 public PacketSocketAddress(short sll_protocol, int sll_ifindex) { in PacketSocketAddress() argument 61 this(sll_protocol, sll_ifindex, (short) 0, (byte) 0, null); in PacketSocketAddress()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 560 assertEquals((short) ETH_P_IPV6, bound.sll_protocol); // ETH_P_IPV6 is an int. in test_PacketSocketAddress()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 432 static_cast<jshort>(ntohs(sll->sll_protocol)), in makeSocketAddress() 701 sll->sll_protocol = htons(env->GetShortField(javaSocketAddress, protocolFid)); in javaPacketSocketAddressToSockaddr()
|