Searched refs:NduseroptMessage (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | NduseroptMessageTest.java | 77 NduseroptMessage msg = parseNduseroptMessage(toBuffer(MSG_EMPTY)); in testParsing() 103 assertTrue(nlMsg instanceof NduseroptMessage); in testParseWithinNetlinkMessage() 105 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseWithinNetlinkMessage() 132 assertTrue(nlMsg instanceof NduseroptMessage); in testParseRdnssOptionWithinNetlinkMessage() 134 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseRdnssOptionWithinNetlinkMessage() 168 assertTrue(nlMsg instanceof NduseroptMessage); in testParseUnknownOptionWithinNetlinkMessage() 170 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseUnknownOptionWithinNetlinkMessage() 180 final int optionStart = NduseroptMessage.STRUCT_SIZE; in testUnknownOption() 184 NduseroptMessage msg = parseNduseroptMessage(buf); in testUnknownOption() 204 NduseroptMessage msg = parseNduseroptMessage(buf); in testZeroLengthOption() [all …]
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | NduseroptMessage.java | 35 public class NduseroptMessage extends NetlinkMessage { class 68 public NduseroptMessage(@NonNull final StructNlMsgHdr header, byte family, int optslen, in NduseroptMessage() method in NduseroptMessage 81 NduseroptMessage(@NonNull StructNlMsgHdr header, @NonNull ByteBuffer buf) in NduseroptMessage() method in NduseroptMessage 142 public static NduseroptMessage parse(@NonNull StructNlMsgHdr header, @NonNull ByteBuffer buf) { in parse() 146 return new NduseroptMessage(header, buf); in parse()
|
D | NetlinkMessage.java | 152 return (NetlinkMessage) NduseroptMessage.parse(nlmsghdr, byteBuffer); in parseRtMessage()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 53 import com.android.net.module.util.netlink.NduseroptMessage; 495 private void processNduseroptMessage(NduseroptMessage msg, final long whenMs) { in processNduseroptMessage() 634 if (nlMsg instanceof NduseroptMessage) { in processNetlinkMessage() 635 processNduseroptMessage((NduseroptMessage) nlMsg, whenMs); in processNetlinkMessage()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 88 import com.android.net.module.util.netlink.NduseroptMessage; 285 private static NduseroptMessage buildNduseroptMessage(int ifindex, long lifetime, in buildNduseroptMessage() 294 return new NduseroptMessage(nlmsghdr, (byte) OsConstants.AF_INET6 /* family */, in buildNduseroptMessage() 316 final NduseroptMessage msg = buildNduseroptMessage(TEST_IFINDEX, lifetime, dnsServers); in onInterfaceDnsServerInfo()
|