Searched refs:NetlinkRequest (Results 1 – 7 of 7) sorted by relevance
/device/google/cuttlefish/common/libs/net/ |
D | netlink_request.cpp | 42 uint32_t NetlinkRequest::SeqNo() const { in SeqNo() 46 void* NetlinkRequest::AppendRaw(const void* data, size_t length) { in AppendRaw() 53 void* NetlinkRequest::ReserveRaw(size_t length) { in ReserveRaw() 59 nlattr* NetlinkRequest::AppendTag( in AppendTag() 68 NetlinkRequest::NetlinkRequest(int32_t command, int32_t flags) { in NetlinkRequest() function in cuttlefish::NetlinkRequest 78 NetlinkRequest::NetlinkRequest(NetlinkRequest&& other) { in NetlinkRequest() function in cuttlefish::NetlinkRequest 85 void NetlinkRequest::AddString(uint16_t type, const std::string& value) { in AddString() 89 void NetlinkRequest::AddIfInfo(int32_t if_index, bool operational) { in AddIfInfo() 97 void NetlinkRequest::AddAddrInfo(int32_t if_index, int prefix_len) { in AddAddrInfo() 106 void NetlinkRequest::AddMacAddress(const std::array<unsigned char, 6>& address) { in AddMacAddress() [all …]
|
D | netlink_request.h | 34 class NetlinkRequest { 39 NetlinkRequest(int type, int flags); 40 NetlinkRequest(NetlinkRequest&& other); 42 ~NetlinkRequest() = default; 111 NetlinkRequest(const NetlinkRequest&) = delete; 112 NetlinkRequest& operator= (const NetlinkRequest&) = delete;
|
D | netlink_request_test.cpp | 135 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 151 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 193 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 220 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 245 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 277 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 310 NetlinkRequest request(RTM_SETLINK, 0); in TEST() 322 NetlinkRequest request(RTM_NEWLINK, NLM_F_CREATE | NLM_F_EXCL); in TEST() 336 NetlinkRequest request2(RTM_NEWLINK, NLM_F_CREATE | NLM_F_EXCL); in TEST() 346 NetlinkRequest request(RTM_SETLINK, 0); in TEST() [all …]
|
D | network_interface_manager.cpp | 41 NetlinkRequest BuildLinkRequest( in BuildLinkRequest() 43 NetlinkRequest request(RTM_SETLINK, 0); in BuildLinkRequest() 52 NetlinkRequest BuildAddrRequest( in BuildAddrRequest() 54 NetlinkRequest request(RTM_NEWADDR, 0); in BuildAddrRequest()
|
D | netlink_client.cpp | 43 virtual bool Send(const NetlinkRequest& message); 119 bool NetlinkClientImpl::Send(const NetlinkRequest& message) { in Send()
|
D | netlink_client.h | 32 virtual bool Send(const NetlinkRequest& message) = 0;
|
/device/google/cuttlefish/guest/commands/setup_wifi/ |
D | main.cpp | 61 cuttlefish::NetlinkRequest fix_mac_request( in CreateWifiWrapper() 75 cuttlefish::NetlinkRequest link_add_request(RTM_NEWLINK, in CreateWifiWrapper() 99 cuttlefish::NetlinkRequest bring_up_backing_request(RTM_SETLINK, in CreateWifiWrapper()
|