Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/netlink/
DStructNlMsgErr.java34 public static final int STRUCT_SIZE = SizeOf.INT + StructNlMsgHdr.STRUCT_SIZE; field in StructNlMsgErr
37 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE; in hasAvailableSpace()
DConntrackMessage.java48 public static final int STRUCT_SIZE = StructNlMsgHdr.STRUCT_SIZE + StructNfGenMsg.STRUCT_SIZE; field in ConntrackMessage
89 final byte[] bytes = new byte[STRUCT_SIZE + payloadLength]; in newIPv4TimeoutUpdateRequest()
DRtNetlinkNeighborMessage.java107 final int kMinConsumed = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in parse()
123 final int length = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in newGetNeighborsRequest()
205 int spaceRequired = StructNlMsgHdr.STRUCT_SIZE + StructNdMsg.STRUCT_SIZE; in getRequiredSpace()
DStructNlMsgHdr.java32 public static final int STRUCT_SIZE = 16; field in StructNlMsgHdr
78 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE; in hasAvailableSpace()
94 if (struct.nlmsg_len < STRUCT_SIZE) { in parse()
DStructNdaCacheInfo.java34 public static final int STRUCT_SIZE = 16; field in StructNdaCacheInfo
37 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE; in hasAvailableSpace()
DStructNdMsg.java33 public static final int STRUCT_SIZE = 12; field in StructNdMsg
103 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE; in hasAvailableSpace()
DStructNfGenMsg.java32 public static final int STRUCT_SIZE = 2 + SizeOf.SHORT; field in StructNfGenMsg
DNetlinkMessage.java53 payloadLength -= StructNlMsgHdr.STRUCT_SIZE; in parse()
/frameworks/base/tests/net/java/android/net/netlink/
DNetlinkSocketTest.java76 assertTrue(StructNlMsgHdr.STRUCT_SIZE <= response.limit()); in testBasicWorkingGetNeighborsQuery()