/system/connectivity/shill/net/ |
D | netlink_message.h | 79 class SHILL_EXPORT NetlinkMessage { 92 explicit NetlinkMessage(uint16_t message_type) : in NetlinkMessage() function 95 virtual ~NetlinkMessage() {} in ~NetlinkMessage() 142 DISALLOW_COPY_AND_ASSIGN(NetlinkMessage); 153 class SHILL_EXPORT ErrorAckMessage : public NetlinkMessage { 157 ErrorAckMessage() : NetlinkMessage(kMessageType), error_(0) {} in ErrorAckMessage() 159 : NetlinkMessage(kMessageType), error_(err) {} in ErrorAckMessage() 174 class SHILL_EXPORT NoopMessage : public NetlinkMessage { 178 NoopMessage() : NetlinkMessage(kMessageType) {} in NoopMessage() 189 class SHILL_EXPORT DoneMessage : public NetlinkMessage { [all …]
|
D | netlink_message.cc | 41 const uint32_t NetlinkMessage::kBroadcastSequenceNumber = 0; 42 const uint16_t NetlinkMessage::kIllegalMessageType = UINT16_MAX; 46 ByteString NetlinkMessage::EncodeHeader(uint32_t sequence_number) { in EncodeHeader() 74 bool NetlinkMessage::InitAndStripHeader(NetlinkPacket* packet) { in InitAndStripHeader() 83 bool NetlinkMessage::InitFromPacket(NetlinkPacket* packet, in InitFromPacket() 84 NetlinkMessage::MessageContext context) { in InitFromPacket() 96 void NetlinkMessage::PrintBytes(int log_level, const unsigned char* buf, in PrintBytes() 118 void NetlinkMessage::PrintPacket(int log_level, const NetlinkPacket& packet) { in PrintPacket() 131 void NetlinkMessage::PrintHeader(int log_level, const nlmsghdr* header) { in PrintHeader() 155 void NetlinkMessage::PrintPayload(int log_level, const unsigned char* buf, in PrintPayload() [all …]
|
D | netlink_message_unittest.cc | 449 unique_ptr<NetlinkMessage> netlink_message( in TEST_F() 451 &trigger_scan_packet, NetlinkMessage::MessageContext())); in TEST_F() 503 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 504 &new_scan_results_packet, NetlinkMessage::MessageContext())); in TEST_F() 556 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 557 &netlink_packet, NetlinkMessage::MessageContext())); in TEST_F() 597 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 598 &netlink_packet, NetlinkMessage::MessageContext())); in TEST_F() 637 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 638 &netlink_packet, NetlinkMessage::MessageContext())); in TEST_F() [all …]
|
D | netlink_manager.h | 116 typedef base::Callback<void(const NetlinkMessage&)> NetlinkMessageHandler; 126 const NetlinkMessage*)> 154 virtual bool HandleMessage(const NetlinkMessage& netlink_message) const = 0; 156 const NetlinkMessage* netlink_message) const; 252 const NetlinkMessage* raw_message); 261 bool RemoveMessageHandler(const NetlinkMessage& message); 363 const NetlinkMessage* netlink_message); 383 NetlinkMessage* message, 402 NetlinkMessage::MessageContext InferMessageContext(
|
D | netlink_manager.cc | 76 AuxilliaryMessageType type, const NetlinkMessage* netlink_message) const { in HandleError() 107 bool HandleMessage(const NetlinkMessage& netlink_message) const override { in HandleMessage() 149 bool HandleMessage(const NetlinkMessage& netlink_message) const override { in HandleMessage() 183 family_id(NetlinkMessage::kIllegalMessageType) {} in MessageType() 264 const NetlinkMessage* raw_message) { in OnNetlinkMessageError() 336 if (message_type.family_id != NetlinkMessage::kIllegalMessageType) { in GetFamily() 389 return NetlinkMessage::kIllegalMessageType; in GetFamily() 394 return NetlinkMessage::kIllegalMessageType; in GetFamily() 402 if (message_type.family_id != NetlinkMessage::kIllegalMessageType) { in GetFamily() 404 if (family_id != NetlinkMessage::kIllegalMessageType) { in GetFamily() [all …]
|
D | generic_netlink_message.cc | 33 ByteString result(NetlinkMessage::EncodeHeader(sequence_number)); in EncodeHeader() 80 if (!NetlinkMessage::InitAndStripHeader(packet)) { in InitAndStripHeader() 110 NetlinkPacket* packet, NetlinkMessage::MessageContext context) { in InitFromPacket() 139 NetlinkMessage* ControlNetlinkMessage::CreateMessage( in CreateMessage()
|
D | generic_netlink_message.h | 68 class SHILL_EXPORT GenericNetlinkMessage : public NetlinkMessage { 72 : NetlinkMessage(my_message_type), in GenericNetlinkMessage() 116 static NetlinkMessage* CreateMessage(const NetlinkPacket& packet);
|
D | nl80211_message.cc | 86 if (message_type == NetlinkMessage::kIllegalMessageType) { in SetMessageType() 93 NetlinkMessage::MessageContext context) { in InitFromPacket() 483 NetlinkMessage::MessageContext())); in GetStationMessage() 486 NetlinkMessage::MessageContext())); in GetStationMessage() 503 NetlinkMessage::MessageContext())); in GetWiphyMessage() 555 NetlinkMessage::MessageContext())); in GetScanMessage() 565 NetlinkMessage::MessageContext())); in TriggerScanMessage() 582 NetlinkMessage::MessageContext())); in GetInterfaceMessage() 598 NetlinkMessage::MessageContext())); in GetSurveyMessage() 607 NetlinkMessage* Nl80211Message::CreateMessage(const NetlinkPacket& packet) { in CreateMessage() [all …]
|
D | mock_netlink_manager.h | 29 class NetlinkMessage; variable
|
D | netlink_socket_unittest.cc | 174 netlink_socket_.sequence_number_ = NetlinkMessage::kBroadcastSequenceNumber; in TEST_F() 175 EXPECT_NE(NetlinkMessage::kBroadcastSequenceNumber, in TEST_F()
|
D | netlink_socket.cc | 150 if (++sequence_number_ == NetlinkMessage::kBroadcastSequenceNumber) in GetSequenceNumber()
|
D | attribute_list.h | 58 bool CreateNl80211Attribute(int id, NetlinkMessage::MessageContext context);
|
/system/connectivity/shill/wifi/ |
D | callback80211_metrics_unittest.cc | 160 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 161 &packet, NetlinkMessage::MessageContext())); in TEST_F() 169 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 170 &packet, NetlinkMessage::MessageContext())); in TEST_F() 180 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 181 &packet, NetlinkMessage::MessageContext())); in TEST_F() 189 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 190 &packet, NetlinkMessage::MessageContext())); in TEST_F() 198 unique_ptr<NetlinkMessage> netlink_message(message_factory_.CreateMessage( in TEST_F() 199 &packet, NetlinkMessage::MessageContext())); in TEST_F() [all …]
|
D | callback80211_metrics.h | 33 class NetlinkMessage; variable 44 void CollectDisconnectStatistics(const NetlinkMessage& msg);
|
D | scan_session.h | 39 class NetlinkMessage; variable 196 const NetlinkMessage* netlink_message);
|
D | scan_session.cc | 168 NL80211_ATTR_SCAN_FREQUENCIES, NetlinkMessage::MessageContext()); in DoScan() 170 NL80211_ATTR_SCAN_SSIDS, NetlinkMessage::MessageContext()); in DoScan() 232 const NetlinkMessage* netlink_message) { in OnTriggerScanErrorResponse()
|
D | wake_on_wifi_unittest.cc | 984 void OnWakeupReasonReceived(const NetlinkMessage& netlink_message) { in OnWakeupReasonReceived() 992 NetlinkMessage::MessageContext GetWakeupReportMsgContext() { in GetWakeupReportMsgContext() 993 NetlinkMessage::MessageContext context; in GetWakeupReportMsgContext() 1232 msg0.InitFromPacket(&packet0, NetlinkMessage::MessageContext()); in TEST_F() 1241 msg1.InitFromPacket(&packet1, NetlinkMessage::MessageContext()); in TEST_F() 1252 msg2.InitFromPacket(&packet2, NetlinkMessage::MessageContext()); in TEST_F() 1265 msg3.InitFromPacket(&packet3, NetlinkMessage::MessageContext()); in TEST_F() 1279 msg4.InitFromPacket(&packet4, NetlinkMessage::MessageContext()); in TEST_F() 1295 msg5.InitFromPacket(&packet5, NetlinkMessage::MessageContext()); in TEST_F() 1317 msg6.InitFromPacket(&packet6, NetlinkMessage::MessageContext()); in TEST_F() [all …]
|
D | mock_wake_on_wifi.h | 60 void(const NetlinkMessage& netlink_message));
|
D | callback80211_metrics.cc | 60 const NetlinkMessage& netlink_message) { in CollectDisconnectStatistics()
|
D | wake_on_wifi.h | 224 virtual void OnWakeupReasonReceived(const NetlinkMessage& netlink_message); 447 const NetlinkMessage* raw_message);
|
D | wifi.h | 119 class NetlinkMessage; variable 606 virtual void OnScanStarted(const NetlinkMessage& netlink_message);
|
/system/connectivity/apmanager/ |
D | device_info_unittest.cc | 201 NL80211_ATTR_WIPHY_NAME, shill::NetlinkMessage::MessageContext()); in TEST_F() 308 NL80211_ATTR_IFINDEX, shill::NetlinkMessage::MessageContext()); in TEST_F() 320 NL80211_ATTR_IFTYPE, shill::NetlinkMessage::MessageContext()); in TEST_F() 338 NL80211_ATTR_WIPHY_NAME, shill::NetlinkMessage::MessageContext()); in TEST_F() 372 NL80211_ATTR_WIPHY_NAME, shill::NetlinkMessage::MessageContext()); in TEST_F()
|
D | device_info.cc | 40 using shill::NetlinkMessage; 71 if (nl80211_family_id == NetlinkMessage::kIllegalMessageType) { in Start()
|
/system/connectivity/shill/ |
D | NETLINK_MESSAGES.txt | 12 NetlinkMessage (and its children such as ControlNetlinkMessage and 30 class of the NetlinkMessage type. For example: 157 const NetlinkMessage* netlink_message) {
|
D | daemon_task.cc | 179 if (nl80211_family_id == NetlinkMessage::kIllegalMessageType) { in Start()
|