Home
last modified time | relevance | path

Searched refs:StructNlMsgHdr (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/net/java/android/net/netlink/
DRtNetlinkNeighborMessage.java19 import static android.net.netlink.StructNlMsgHdr.NLM_F_ACK;
20 import static android.net.netlink.StructNlMsgHdr.NLM_F_DUMP;
21 import static android.net.netlink.StructNlMsgHdr.NLM_F_REPLACE;
22 import static android.net.netlink.StructNlMsgHdr.NLM_F_REQUEST;
27 import android.net.netlink.StructNlMsgHdr;
74 public static RtNetlinkNeighborMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
107 final int kMinConsumed = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in parse()
123 final int length = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in newGetNeighborsRequest()
128 final StructNlMsgHdr nlmsghdr = new StructNlMsgHdr(); in newGetNeighborsRequest()
147 final StructNlMsgHdr nlmsghdr = new StructNlMsgHdr(); in newNewNeighborMessage()
[all …]
DNetlinkMessage.java23 import android.net.netlink.StructNlMsgHdr;
47 final StructNlMsgHdr nlmsghdr = StructNlMsgHdr.parse(byteBuffer); in parse()
53 payloadLength -= StructNlMsgHdr.STRUCT_SIZE; in parse()
83 protected StructNlMsgHdr mHeader;
85 public NetlinkMessage(StructNlMsgHdr nlmsghdr) { in NetlinkMessage()
89 public StructNlMsgHdr getHeader() { in getHeader()
DStructNlMsgErr.java20 import android.net.netlink.StructNlMsgHdr;
34 public static final int STRUCT_SIZE = SizeOf.INT + StructNlMsgHdr.STRUCT_SIZE;
48 struct.msg = StructNlMsgHdr.parse(byteBuffer); in parse()
53 public StructNlMsgHdr msg;
DStructNlMsgHdr.java30 public class StructNlMsgHdr { class
81 public static StructNlMsgHdr parse(ByteBuffer byteBuffer) { in parse()
87 final StructNlMsgHdr struct = new StructNlMsgHdr(); in parse()
107 public StructNlMsgHdr() { in StructNlMsgHdr() method in StructNlMsgHdr
DNetlinkErrorMessage.java19 import android.net.netlink.StructNlMsgHdr;
32 public static NetlinkErrorMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
45 NetlinkErrorMessage(StructNlMsgHdr header) { in NetlinkErrorMessage()
/frameworks/base/services/tests/servicestests/src/android/net/netlink/
DNetlinkErrorMessageTest.java19 import static android.net.netlink.StructNlMsgHdr.NLM_F_REQUEST;
20 import static android.net.netlink.StructNlMsgHdr.NLM_F_ACK;
21 import static android.net.netlink.StructNlMsgHdr.NLM_F_REPLACE;
64 final StructNlMsgHdr hdr = errorMsg.getHeader(); in testParseNlmErrorOk()
DNetlinkSocketTest.java22 import android.net.netlink.StructNlMsgHdr;
61 assertTrue(StructNlMsgHdr.STRUCT_SIZE <= response.limit()); in testBasicWorkingGetNeighborsQuery()
69 final StructNlMsgHdr hdr = msg.getHeader(); in testBasicWorkingGetNeighborsQuery()
79 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()
DRtNetlinkNeighborMessageTest.java23 import android.net.netlink.StructNlMsgHdr;
146 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmDelNeigh()
172 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmNewNeigh()
201 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmGetNeighResponse()
204 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseRtmGetNeighResponse()
/frameworks/base/services/net/java/android/net/ip/
DIpReachabilityMonitor.java35 import android.net.netlink.StructNlMsgHdr;