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.java34 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/
Dlibcore_io_Linux.cpp445 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/
DOsTest.java608 assertEquals(ETH_P_IPV6, bound.sll_protocol); in test_PacketSocketAddress()