Home
last modified time | relevance | path

Searched refs:NetlinkRequest (Results 1 – 9 of 9) sorted by relevance

/device/google/cuttlefish/common/libs/net/
Dnetlink_request.cpp34 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 …]
Dnetlink_request.h31 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;
Dnetlink_request_test.cpp133 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 …]
Dnetwork_interface_manager.cpp32 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()
Dnetlink_client.cpp36 virtual bool Send(const NetlinkRequest& message);
106 bool NetlinkClientImpl::Send(const NetlinkRequest& message) { in Send()
Dnetlink_client.h33 virtual bool Send(const NetlinkRequest& message) = 0;
Dnetwork_interface_manager.h62 bool BuildRequest(NetlinkRequest* request, const NetworkInterface& interface);
/device/google/cuttlefish/guest/commands/setup_wifi/
Dmain.cpp62 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/
Dmain.cpp46 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()