Home
last modified time | relevance | path

Searched refs:sll_protocol (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/android/system/
DPacketSocketAddress.java33 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/
DOsTest.java560 assertEquals((short) ETH_P_IPV6, bound.sll_protocol); // ETH_P_IPV6 is an int. in test_PacketSocketAddress()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp432 static_cast<jshort>(ntohs(sll->sll_protocol)), in makeSocketAddress()
701 sll->sll_protocol = htons(env->GetShortField(javaSocketAddress, protocolFid)); in javaPacketSocketAddressToSockaddr()