/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | NduseroptMessageTest.java | 101 NetlinkMessage nlMsg = NetlinkMessage.parse(buf, NETLINK_ROUTE); in testParseWithinNetlinkMessage() local 102 assertNotNull(nlMsg); in testParseWithinNetlinkMessage() 103 assertTrue(nlMsg instanceof NduseroptMessage); in testParseWithinNetlinkMessage() 105 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseWithinNetlinkMessage() 130 NetlinkMessage nlMsg = NetlinkMessage.parse(buf, NETLINK_ROUTE); in testParseRdnssOptionWithinNetlinkMessage() local 131 assertNotNull(nlMsg); in testParseRdnssOptionWithinNetlinkMessage() 132 assertTrue(nlMsg instanceof NduseroptMessage); in testParseRdnssOptionWithinNetlinkMessage() 134 NduseroptMessage msg = (NduseroptMessage) nlMsg; in testParseRdnssOptionWithinNetlinkMessage() 150 NetlinkMessage nlMsg = NetlinkMessage.parse(buf, NETLINK_ROUTE); in testParseTruncatedRdnssOptionWithinNetlinkMessage() local 151 assertNull(nlMsg); in testParseTruncatedRdnssOptionWithinNetlinkMessage() [all …]
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/ |
D | NetlinkMonitor.java | 136 final NetlinkMessage nlMsg = NetlinkMessage.parse(byteBuffer, mFamily); in handlePacket() local 137 if (nlMsg == null || nlMsg.getHeader() == null) { in handlePacket() 143 if (nlMsg instanceof NetlinkErrorMessage) { in handlePacket() 144 mLog.e("netlink error: " + nlMsg); in handlePacket() 148 processNetlinkMessage(nlMsg, whenMs); in handlePacket() 187 protected void processNetlinkMessage(NetlinkMessage nlMsg, long whenMs) { } in processNetlinkMessage() argument
|
D | ConntrackMonitor.java | 189 public void processNetlinkMessage(NetlinkMessage nlMsg, final long whenMs) { in processNetlinkMessage() argument 190 if (!(nlMsg instanceof ConntrackMessage)) { in processNetlinkMessage() 191 mLog.e("non-conntrack msg: " + nlMsg); in processNetlinkMessage() 195 final ConntrackMessage conntrackMsg = (ConntrackMessage) nlMsg; in processNetlinkMessage()
|
D | IpNeighborMonitor.java | 146 public void processNetlinkMessage(NetlinkMessage nlMsg, final long whenMs) { in processNetlinkMessage() argument 147 if (!(nlMsg instanceof RtNetlinkNeighborMessage)) { in processNetlinkMessage() 148 mLog.e("non-rtnetlink neighbor msg: " + nlMsg); in processNetlinkMessage() 152 final RtNetlinkNeighborMessage neighMsg = (RtNetlinkNeighborMessage) nlMsg; in processNetlinkMessage()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 203 (nlMsg, whenMs) -> processNetlinkMessage(nlMsg, whenMs)); in IpClientLinkObserver() 379 void processNetlinkMessage(@NonNull NetlinkMessage nlMsg, long whenMs); in processNetlinkMessage() argument 399 protected void processNetlinkMessage(NetlinkMessage nlMsg, long whenMs) { in processNetlinkMessage() argument 400 mNetlinkMessageProcessor.processNetlinkMessage(nlMsg, whenMs); in processNetlinkMessage() 633 private void processNetlinkMessage(NetlinkMessage nlMsg, long whenMs) { in processNetlinkMessage() argument 634 if (nlMsg instanceof NduseroptMessage) { in processNetlinkMessage() 635 processNduseroptMessage((NduseroptMessage) nlMsg, whenMs); in processNetlinkMessage() 636 } else if (nlMsg instanceof RtNetlinkLinkMessage) { in processNetlinkMessage() 637 processRtNetlinkLinkMessage((RtNetlinkLinkMessage) nlMsg); in processNetlinkMessage() 638 } else if (nlMsg instanceof RtNetlinkAddressMessage) { in processNetlinkMessage() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | SkDestroyListener.java | 65 public void processNetlinkMessage(final NetlinkMessage nlMsg, final long whenMs) { in processNetlinkMessage() argument 66 if (!(nlMsg instanceof InetDiagMessage)) { in processNetlinkMessage() 70 final StructInetDiagSockId sockId = ((InetDiagMessage) nlMsg).inetDiagMsg.id; in processNetlinkMessage()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/internal/ |
D | SocketNetlinkMonitor.java | 53 public void processNetlinkMessage(NetlinkMessage nlMsg, long whenMs) { in processNetlinkMessage() argument 54 if (nlMsg instanceof RtNetlinkAddressMessage) { in processNetlinkMessage() 55 processRtNetlinkAddressMessage((RtNetlinkAddressMessage) nlMsg); in processNetlinkMessage()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | NetlinkUtils.java | 357 final NetlinkMessage nlMsg = NetlinkMessage.parse(buf, nlFamily); in getAndProcessNetlinkDumpMessagesWithFd() local 358 if (nlMsg == null) { in getAndProcessNetlinkDumpMessagesWithFd() 365 if (nlMsg.getHeader().nlmsg_type == NLMSG_DONE) { in getAndProcessNetlinkDumpMessagesWithFd() 369 if (!msgClass.isInstance(nlMsg)) { in getAndProcessNetlinkDumpMessagesWithFd() 370 Log.wtf(TAG, "Received unexpected netlink message: " + nlMsg); in getAndProcessNetlinkDumpMessagesWithFd() 374 final T msg = (T) nlMsg; in getAndProcessNetlinkDumpMessagesWithFd()
|
D | InetDiagMessage.java | 210 final NetlinkMessage nlMsg = NetlinkMessage.parse(response, NETLINK_INET_DIAG); in lookupUidByFamily() local 211 if (nlMsg == null) { in lookupUidByFamily() 214 final StructNlMsgHdr hdr = nlMsg.getHeader(); in lookupUidByFamily() 218 if (nlMsg instanceof InetDiagMessage) { in lookupUidByFamily() 219 return ((InetDiagMessage) nlMsg).inetDiagMsg.idiag_uid; in lookupUidByFamily()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetTracker.java | 216 protected void processNetlinkMessage(NetlinkMessage nlMsg, long whenMs) { in processNetlinkMessage() argument 220 if (nlMsg instanceof RtNetlinkLinkMessage) { in processNetlinkMessage() 221 processRtNetlinkLinkMessage((RtNetlinkLinkMessage) nlMsg); in processNetlinkMessage() 223 Log.e(TAG, "Unknown netlink message: " + nlMsg); in processNetlinkMessage()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | AutomaticOnOffKeepaliveTracker.java | 793 final NetlinkMessage nlMsg = NetlinkMessage.parse( in isAnyTcpSocketConnectedForFamily() local 795 if (!(nlMsg instanceof InetDiagMessage)) { in isAnyTcpSocketConnectedForFamily() 800 final InetDiagMessage diagMsg = (InetDiagMessage) nlMsg; in isAnyTcpSocketConnectedForFamily()
|