Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/common/libs/net/
Dnetlink_request.cpp33 uint32_t NetlinkRequest::SeqNo() const { in SeqNo()
37 void* NetlinkRequest::AppendRaw(const void* data, size_t length) { in AppendRaw()
49 void* NetlinkRequest::ReserveRaw(size_t length) { in ReserveRaw()
55 nlattr* NetlinkRequest::AppendTag( in AppendTag()
64 NetlinkRequest::NetlinkRequest(int32_t command, int32_t flags) in NetlinkRequest() function in cvd::NetlinkRequest
74 NetlinkRequest::NetlinkRequest(NetlinkRequest&& other) { in NetlinkRequest() function in cvd::NetlinkRequest
81 void NetlinkRequest::AddString(uint16_t type, const std::string& value) { in AddString()
85 void NetlinkRequest::AddIfInfo(int32_t if_index, bool operational) { in AddIfInfo()
93 void NetlinkRequest::AddAddrInfo(int32_t if_index, int prefix_len) { in AddAddrInfo()
102 void NetlinkRequest::PushList(uint16_t type) { in PushList()
[all …]
Dnetlink_request.h32 class NetlinkRequest {
37 NetlinkRequest(int type, int flags);
38 NetlinkRequest(NetlinkRequest&& other);
40 ~NetlinkRequest() = default;
106 NetlinkRequest(const NetlinkRequest&) = delete;
107 NetlinkRequest& operator= (const NetlinkRequest&) = delete;
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_request_test.cpp133 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
149 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
191 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
218 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
243 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
275 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
308 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
320 cvd::NetlinkRequest request(RTM_NEWLINK, NLM_F_CREATE | NLM_F_EXCL); in TEST()
334 cvd::NetlinkRequest request2(RTM_NEWLINK, NLM_F_CREATE | NLM_F_EXCL); in TEST()
344 cvd::NetlinkRequest request(RTM_SETLINK, 0); in TEST()
[all …]
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_common/guest/commands/ip_link_add/
Dmain.cpp46 cvd::NetlinkRequest link_add_request(RTM_NEWLINK, NLM_F_REQUEST|NLM_F_ACK|0x600); in main()
65 cvd::NetlinkRequest bring_up_backing_request(RTM_SETLINK, NLM_F_REQUEST|NLM_F_ACK|0x600); in main()
/device/google/cuttlefish_common/guest/commands/setup_wifi/
Dmain.cpp37 cvd::NetlinkRequest link_add_request(RTM_NEWLINK, in CreateWifiWrapper()
62 cvd::NetlinkRequest bring_up_backing_request(RTM_SETLINK, in CreateWifiWrapper()