Lines Matching refs:ByteString
387 void TestParseLink(const ByteString& packet, in TestParseLink()
392 ByteString address, in TestParseLink()
393 ByteString name, in TestParseLink()
395 ByteString qdisc, in TestParseLink()
429 void TestParseAddress(const ByteString& packet, in TestParseAddress()
453 void TestParseRoute(const ByteString& packet, in TestParseRoute()
517 void TestParseRdnss(const ByteString& packet, in TestParseRdnss()
548 void TestParseNeighbor(const ByteString& packet, in TestParseNeighbor()
572 TestParseLink(ByteString(kNewLinkMessageWlan0, sizeof(kNewLinkMessageWlan0)), in TEST_F()
577 ByteString(string(kNewLinkMessageWlan0MACAddress), false), in TEST_F()
578 ByteString(string(kNewLinkMessageWlan0InterfaceName), true), in TEST_F()
580 ByteString(string(kNewLinkMessageWlan0Qdisc), true), in TEST_F()
585 TestParseLink(ByteString(kDelLinkMessageEth0, sizeof(kDelLinkMessageEth0)), in TEST_F()
590 ByteString(string(kDelLinkMessageEth0MACAddress), false), in TEST_F()
591 ByteString(string(kDelLinkMessageEth0InterfacName), true), in TEST_F()
593 ByteString(string(kDelLinkMessageEth0Qdisc), true), in TEST_F()
602 TestParseAddress(ByteString(kNewAddrIPV4, sizeof(kNewAddrIPV4)), in TEST_F()
614 TestParseAddress(ByteString(kDelAddrIPV6, sizeof(kDelAddrIPV6)), in TEST_F()
631 TestParseRoute(ByteString(kDelRouteIPV6, sizeof(kDelRouteIPV6)), in TEST_F()
654 TestParseRoute(ByteString(kAddRouteIPV4, sizeof(kAddRouteIPV4)), in TEST_F()
674 TestParseRdnss(ByteString(kNdRdnssMessage, sizeof(kNdRdnssMessage)), in TEST_F()
685 ByteString(kAddRouteBusted, sizeof(kAddRouteBusted)))); in TEST_F()
690 ByteString(kAddNeighborMessage, sizeof(kAddNeighborMessage)), in TEST_F()
734 msg.SetAttribute(RTA_OIF, ByteString::CreateFromCPUUInt32(12)); in TEST_F()
735 msg.SetAttribute(RTA_PRIORITY, ByteString::CreateFromCPUUInt32(13)); in TEST_F()