Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNduseroptMessage.java65 public final InetAddress srcaddr; field in NduseroptMessage
70 final InetAddress srcaddr) { in NduseroptMessage() argument
78 this.srcaddr = srcaddr; in NduseroptMessage()
126 srcaddr = Inet6Address.getByAddress(null /* hostname */, nla.nla_value, ifindex); in NduseroptMessage()
128 srcaddr = InetAddress.getByAddress(nla.nla_value); in NduseroptMessage()
162 Byte.toUnsignedInt(icmp_code), srcaddr.getHostAddress(), option); in toString()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DNduseroptMessageTest.java106 InetAddress srcaddr = InetAddress.getByName("fe80::250:b6ff:feb7:c499%30"); in testParseWithinNetlinkMessage() local
107 assertMatches(AF_INET6, 16, 30, ICMP_TYPE_RA, (byte) 0, srcaddr, msg); in testParseWithinNetlinkMessage()
114 assertMatches(AF_INET6, 16, 30, ICMP_TYPE_RA, (byte) 0, srcaddr, msg); in testParseWithinNetlinkMessage()
135 InetAddress srcaddr = InetAddress.getByName("fe80::250:b6ff:feb7:c499%30"); in testParseRdnssOptionWithinNetlinkMessage() local
136 assertMatches(AF_INET6, 24, 30, ICMP_TYPE_RA, (byte) 0, srcaddr, msg); in testParseRdnssOptionWithinNetlinkMessage()
171 InetAddress srcaddr = InetAddress.getByName("fe80::250:b6ff:feb7:c499%30"); in testParseUnknownOptionWithinNetlinkMessage() local
172 assertMatches(AF_INET6, 24, 30, ICMP_TYPE_RA, (byte) 0, srcaddr, msg); in testParseUnknownOptionWithinNetlinkMessage()
271 byte icmpCode, InetAddress srcaddr, NduseroptMessage msg) { in assertMatches() argument
278 assertEquals(srcaddr, msg.srcaddr); in assertMatches()