Searched refs:NetlinkRequest (Results 1 – 9 of 9) sorted by relevance
/device/google/cuttlefish/common/libs/net/ |
D | netlink_request.cpp | 34 uint32_t NetlinkRequest::SeqNo() const { in SeqNo() 38 void* NetlinkRequest::AppendRaw(const void* data, size_t length) { in AppendRaw() 45 void* NetlinkRequest::ReserveRaw(size_t length) { in ReserveRaw() 51 nlattr* NetlinkRequest::AppendTag( in AppendTag() 60 NetlinkRequest::NetlinkRequest(int32_t command, int32_t flags) { in NetlinkRequest() function in cuttlefish::NetlinkRequest 70 NetlinkRequest::NetlinkRequest(NetlinkRequest&& other) { in NetlinkRequest() function in cuttlefish::NetlinkRequest 77 void NetlinkRequest::AddString(uint16_t type, const std::string& value) { in AddString() 81 void NetlinkRequest::AddIfInfo(int32_t if_index, bool operational) { in AddIfInfo() 89 void NetlinkRequest::AddAddrInfo(int32_t if_index, int prefix_len) { in AddAddrInfo() 98 void NetlinkRequest::AddMacAddress(const std::array<unsigned char, 6>& address) { in AddMacAddress() [all …]
|
D | netlink_request.h | 31 class NetlinkRequest { 36 NetlinkRequest(int type, int flags); 37 NetlinkRequest(NetlinkRequest&& other); 39 ~NetlinkRequest() = default; 108 NetlinkRequest(const NetlinkRequest&) = delete; 109 NetlinkRequest& operator= (const NetlinkRequest&) = delete;
|
D | netlink_request_test.cpp | 133 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 149 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 191 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 218 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 243 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 275 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 308 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 320 NetlinkRequest request(RTM_NEWLINK, NLM_F_CREATE | NLM_F_EXCL); in TEST() 334 NetlinkRequest request2(RTM_NEWLINK, NLM_F_CREATE | NLM_F_EXCL); in TEST() 344 NetlinkRequest request(RTM_SETLINK, 0); in TEST() [all …]
|
D | network_interface_manager.cpp | 32 NetlinkRequest BuildLinkRequest( in BuildLinkRequest() 34 NetlinkRequest request(RTM_SETLINK, 0); in BuildLinkRequest() 43 NetlinkRequest BuildAddrRequest( in BuildAddrRequest() 45 NetlinkRequest request(RTM_NEWADDR, 0); in BuildAddrRequest()
|
D | netlink_client.cpp | 36 virtual bool Send(const NetlinkRequest& message); 106 bool NetlinkClientImpl::Send(const NetlinkRequest& message) { in Send()
|
D | netlink_client.h | 33 virtual bool Send(const NetlinkRequest& message) = 0;
|
D | network_interface_manager.h | 62 bool BuildRequest(NetlinkRequest* request, const NetworkInterface& interface);
|
/device/google/cuttlefish/guest/commands/setup_wifi/ |
D | main.cpp | 62 cuttlefish::NetlinkRequest fix_mac_request( in CreateWifiWrapper() 76 cuttlefish::NetlinkRequest link_add_request(RTM_NEWLINK, in CreateWifiWrapper() 100 cuttlefish::NetlinkRequest bring_up_backing_request(RTM_SETLINK, in CreateWifiWrapper()
|
/device/google/cuttlefish/guest/commands/ip_link_add/ |
D | main.cpp | 46 cuttlefish::NetlinkRequest link_add_request(RTM_NEWLINK, NLM_F_REQUEST|NLM_F_ACK|0x600); in main() 65 cuttlefish::NetlinkRequest bring_up_backing_request(RTM_SETLINK, NLM_F_REQUEST|NLM_F_ACK|0x600); in main()
|