Searched defs:interface (Results 1 - 6 of 6) sorted by relevance

/device/google/cuttlefish_common/common/libs/net/
H A Dnetwork_interface_manager.cpp33 const NetworkInterface& interface) {
35 request.AddIfInfo(interface.Index(), interface.IsOperational());
36 if (!interface.Name().empty()) {
37 request.AddString(IFLA_IFNAME, interface.Name());
44 const NetworkInterface& interface) {
46 request.AddAddrInfo(interface.Index(), interface.PrefixLength());
47 in_addr_t address{inet_addr(interface.Address().c_str())};
51 inet_addr(interface
32 BuildLinkRequest( const NetworkInterface& interface) argument
43 BuildAddrRequest( const NetworkInterface& interface) argument
[all...]
/device/generic/goldfish/wifi/ipv6proxy/
H A Dproxy.cpp34 // of |interface|. This can be either a source or target link address as
38 const Interface& interface,
42 auto src = interface.linkAddr().get<sockaddr_ll>();
61 // Init outer interface and router
88 // Received a message on the outer interface
93 // Received a message on the inner interface
37 rewriteLinkAddressOption(Packet& packet, const Interface& interface, int optionType) argument
H A Dsocket.cpp72 Result Socket::setInterface(const std::string& interface) { argument
77 interface.c_str(), interface.size());
/device/google/cuttlefish_common/host/commands/launch/
H A Dril_region_handler.cc48 bool ObtainConfig(const std::string& interface) { argument
49 bool ret = ParseIntefaceAttributes(interface);
62 // LOG(ERROR) << "The " << ifa->ifa_name << " interface is not IPv4";
97 LOG(ERROR) << "No available address found in interface " << ifa->ifa_name;
107 bool ParseIntefaceAttributes(const std::string& interface) { argument
112 if (strcmp(ifa->ifa_name, interface.c_str()) == 0 &&
/device/google/accessory/arduino/USB_Host_Shield/
H A DUsb.h39 #define bmREQ_SET USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_STANDARD|USB_SETUP_RECIPIENT_DEVICE //set request type for all but 'set feature' and 'set interface'
40 #define bmREQ_CL_GET_INTF USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE //get interface request type
141 byte setProto( byte addr, byte ep, byte interface, byte protocol, unsigned int nak_limit = USB_NAK_LIMIT );
142 byte getProto( byte addr, byte ep, byte interface, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
144 byte setReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
145 byte getReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
146 byte getIdle( byte addr, byte ep, byte interface, byte reportID, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
147 byte setIdle( byte addr, byte ep, byte interface, byte reportID, byte duration, unsigned int nak_limit = USB_NAK_LIMIT );
181 inline byte USB::setProto( byte addr, byte ep, byte interface, byte protocol, unsigned int nak_limit ) { argument
182 return( ctrlReq( addr, ep, bmREQ_HIDOUT, HID_REQUEST_SET_PROTOCOL, protocol, 0x00, interface,
184 getProto( byte addr, byte ep, byte interface, char* dataptr, unsigned int nak_limit ) argument
191 setReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit ) argument
194 getReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit ) argument
198 getIdle( byte addr, byte ep, byte interface, byte reportID, char* dataptr, unsigned int nak_limit ) argument
201 setIdle( byte addr, byte ep, byte interface, byte reportID, byte duration, unsigned int nak_limit ) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_xml_etree.py138 def interface(): function
140 Test element tree interface.
651 Test iterparse interface.

Completed in 29 milliseconds