Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/netlink/
DStructInetDiagMsg.java50 public static final int STRUCT_SIZE = 4 + StructInetDiagSockId.STRUCT_SIZE + 20; field in StructInetDiagMsg
51 private static final int IDIAG_UID_OFFSET = StructNlMsgHdr.STRUCT_SIZE + 4 +
52 StructInetDiagSockId.STRUCT_SIZE + 12;
DStructNlMsgErr.java33 public static final int STRUCT_SIZE = Integer.BYTES + StructNlMsgHdr.STRUCT_SIZE; field in StructNlMsgErr
36 return byteBuffer != null && byteBuffer.remaining() >= STRUCT_SIZE; in hasAvailableSpace()
DConntrackMessage.java40 public static final int STRUCT_SIZE = StructNlMsgHdr.STRUCT_SIZE + StructNfGenMsg.STRUCT_SIZE; field in ConntrackMessage
81 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()
DStructInetDiagReqV2.java41 public static final int STRUCT_SIZE = 8 + StructInetDiagSockId.STRUCT_SIZE; field in StructInetDiagReqV2
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.java30 public static final int STRUCT_SIZE = 2 + Short.BYTES; field in StructNfGenMsg
DStructInetDiagSockId.java44 public static final int STRUCT_SIZE = 48; field in StructInetDiagSockId
DInetDiagMessage.java60 final byte[] bytes = new byte[StructNlMsgHdr.STRUCT_SIZE + StructInetDiagReqV2.STRUCT_SIZE]; in InetDiagReqV2()
DNetlinkMessage.java53 payloadLength -= StructNlMsgHdr.STRUCT_SIZE; in parse()
/frameworks/base/tests/net/java/android/net/netlink/
DNetlinkSocketTest.java74 assertTrue(StructNlMsgHdr.STRUCT_SIZE <= response.limit()); in testBasicWorkingGetNeighborsQuery()