Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpInfo.java114 private TcpInfo(@NonNull ByteBuffer bytes, int infolen) { in TcpInfo() argument
117 if (SEGS_IN_OFFSET + Field.SEGS_IN.size > infolen) { in TcpInfo()
118 throw new IllegalArgumentException("Length " + infolen + " is less than required."); in TcpInfo()
128 bytes.position(Math.min(infolen + start, bytes.limit())); in TcpInfo()
141 public static TcpInfo parse(@NonNull ByteBuffer bytes, int infolen) { in parse() argument
143 return new TcpInfo(bytes, infolen); in parse()