Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNduseroptMessageTest.java74 NduseroptMessage msg = parseNduseroptMessage(toBuffer(MSG_EMPTY)); in testParsing()
100 assertTrue(nlMsg instanceof NduseroptMessage); in testParseWithinNetlinkMessage()
102 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseWithinNetlinkMessage()
129 assertTrue(nlMsg instanceof NduseroptMessage); in testParseUnknownOptionWithinNetlinkMessage()
131 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseUnknownOptionWithinNetlinkMessage()
141 final int optionStart = NduseroptMessage.STRUCT_SIZE; in testUnknownOption()
145 NduseroptMessage msg = parseNduseroptMessage(buf); in testUnknownOption()
165 NduseroptMessage msg = parseNduseroptMessage(buf); in testZeroLengthOption()
177 NduseroptMessage msg = parseNduseroptMessage(buf); in testTooLongOption()
188 assertNull(NduseroptMessage.parse(toBuffer(hexString), NETLINK_ROUTE)); in testOptionsTooLong()
[all …]
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNduseroptMessage.java33 public class NduseroptMessage extends NetlinkMessage { class
64 NduseroptMessage(@NonNull StructNlMsgHdr header, @NonNull ByteBuffer buf) in NduseroptMessage() method in NduseroptMessage
120 public static NduseroptMessage parse(@NonNull StructNlMsgHdr header, @NonNull ByteBuffer buf) { in parse()
124 return new NduseroptMessage(header, buf); in parse()
DNetlinkMessage.java126 return (NetlinkMessage) NduseroptMessage.parse(nlmsghdr, byteBuffer); in parseRtMessage()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java30 import android.net.netlink.NduseroptMessage;
411 private void processNduseroptMessage(NduseroptMessage msg, final long whenMs) { in processNduseroptMessage()
428 if (!(nlMsg instanceof NduseroptMessage)) return; in processNetlinkMessage()
429 processNduseroptMessage((NduseroptMessage) nlMsg, whenMs); in processNetlinkMessage()