Lines Matching refs:RTNLMessage

160   RTNLMessage msg(  in SetInterfaceFlags()
161 RTNLMessage::kTypeLink, in SetInterfaceFlags()
162 RTNLMessage::kModeAdd, in SetInterfaceFlags()
169 msg.set_link_status(RTNLMessage::LinkStatus(ARPHRD_VOID, flags, change)); in SetInterfaceFlags()
180 RTNLMessage msg( in SetInterfaceMTU()
181 RTNLMessage::kTypeLink, in SetInterfaceMTU()
182 RTNLMessage::kModeAdd, in SetInterfaceMTU()
215 void RTNLHandler::DispatchEvent(int type, const RTNLMessage& msg) { in DispatchEvent()
223 RTNLMessage::Type type; in NextRequest()
236 type = RTNLMessage::kTypeAddress; in NextRequest()
239 type = RTNLMessage::kTypeRoute; in NextRequest()
242 type = RTNLMessage::kTypeLink; in NextRequest()
245 type = RTNLMessage::kTypeNeighbor; in NextRequest()
248 type = RTNLMessage::kTypeNeighbor; in NextRequest()
257 RTNLMessage msg( in NextRequest()
259 RTNLMessage::kModeGet, in NextRequest()
283 RTNLMessage msg; in ParseRTNL()
323 case RTNLMessage::kTypeLink: in ParseRTNL()
326 case RTNLMessage::kTypeAddress: in ParseRTNL()
329 case RTNLMessage::kTypeRoute: in ParseRTNL()
332 case RTNLMessage::kTypeRdnss: in ParseRTNL()
335 case RTNLMessage::kTypeNeighbor: in ParseRTNL()
338 case RTNLMessage::kTypeDnssl: in ParseRTNL()
350 RTNLMessage::Mode mode, in AddressRequest()
358 RTNLMessage msg( in AddressRequest()
359 RTNLMessage::kTypeAddress, in AddressRequest()
367 msg.set_address_status(RTNLMessage::AddressStatus( in AddressRequest()
388 RTNLMessage::kModeAdd, in AddInterfaceAddress()
398 RTNLMessage::kModeDelete, in RemoveInterfaceAddress()
406 RTNLMessage msg( in RemoveInterface()
407 RTNLMessage::kTypeLink, in RemoveInterface()
408 RTNLMessage::kModeDelete, in RemoveInterface()
443 bool RTNLHandler::SendMessageWithErrorMask(RTNLMessage* message, in SendMessageWithErrorMask()
475 bool RTNLHandler::SendMessage(RTNLMessage* message) { in SendMessage()
477 if (message->mode() == RTNLMessage::kModeAdd) { in SendMessage()
479 } else if (message->mode() == RTNLMessage::kModeDelete) { in SendMessage()
481 if (message->type() == RTNLMessage::kTypeAddress) { in SendMessage()