Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkErrorMessage.java27 public class NetlinkErrorMessage extends NetlinkMessage { class
29 public static NetlinkErrorMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
30 final NetlinkErrorMessage errorMsg = new NetlinkErrorMessage(header); in parse()
42 NetlinkErrorMessage(StructNlMsgHdr header) { in NetlinkErrorMessage() method in NetlinkErrorMessage
DNetlinkSocket.java69 if (response != null && response instanceof NetlinkErrorMessage && in sendOneShotKernelMessage()
70 (((NetlinkErrorMessage) response).getNlMsgError() != null)) { in sendOneShotKernelMessage()
71 final int errno = ((NetlinkErrorMessage) response).getNlMsgError().error; in sendOneShotKernelMessage()
DNetlinkMessage.java56 return (NetlinkMessage) NetlinkErrorMessage.parse(nlmsghdr, byteBuffer); in parse()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkErrorMessageTest.java28 import android.net.netlink.NetlinkErrorMessage;
73 assertTrue(msg instanceof NetlinkErrorMessage); in testParseNlmErrorOk()
74 final NetlinkErrorMessage errorMsg = (NetlinkErrorMessage) msg; in testParseNlmErrorOk()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DNetlinkMonitor.java26 import android.net.netlink.NetlinkErrorMessage;
118 if (nlMsg instanceof NetlinkErrorMessage) { in handlePacket()