/external/libppp/src/ |
iface.h | 26 * $FreeBSD: src/usr.sbin/ppp/iface.h,v 1.8.26.1 2010/12/21 17:10:29 kensmith Exp $ 37 struct iface { struct 56 extern struct iface *iface_Create(const char *name); 57 extern void iface_Clear(struct iface *, struct ncp *, int, int); 58 extern int iface_Add(struct iface *, struct ncp *, const struct ncprange *, 60 extern int iface_Delete(struct iface *, struct ncp *, const struct ncpaddr *); 64 extern void iface_Destroy(struct iface *);
|
ether.c | 94 #include "iface.h" 462 const char *iface, *provider; local 475 iface = p->name.full + PPPOE_NODE_TYPE_LEN + 1; 477 provider = strchr(iface, ':'); 479 ifacelen = provider - iface; 483 ifacelen = strlen(iface); 493 * | <iface> | dev->cs 501 * | <iface> |(tunN)<---->(tunN)| <unnamed> | 523 sprintf(path, "%.*s:", (int)ifacelen, iface);
|
/external/libsepol/src/ |
interfaces.c | 14 ocontext_t ** iface, const sepol_iface_t * record) 47 *iface = tmp_iface; 68 ocontext_t * iface, sepol_iface_t ** record) 71 char *name = iface->u.name; 72 context_struct_t *ifcon = &iface->context[0]; 73 context_struct_t *msgcon = &iface->context[1]; 172 ocontext_t *head, *prev, *c, *iface = NULL; local 177 if (iface_from_record(handle, policydb, &iface, data) < 0) 186 iface->next = c->next; 188 policydb->ocontexts[OCON_NETIF] = iface; 245 sepol_iface_t *iface = NULL; local [all...] |
/system/netd/ |
NetlinkHandler.cpp | 57 const char *iface = evt->findParam("INTERFACE"); local 60 notifyInterfaceAdded(iface); 62 notifyInterfaceRemoved(iface); 67 notifyInterfaceLinkChanged(iface, true); 69 notifyInterfaceLinkChanged(iface, false); 74 const char *iface = evt->findParam("INTERFACE"); local 75 notifyQuotaLimitReached(alertName, iface); 98 snprintf(msg, sizeof(msg), "Iface added %s", name); 106 snprintf(msg, sizeof(msg), "Iface removed %s", name); 114 snprintf(msg, sizeof(msg), "Iface changed %s %s", name [all...] |
/external/dhcpcd/ |
arp.c | 48 send_arp(const struct interface *iface, int op, in_addr_t sip, in_addr_t tip) 56 ar.ar_hrd = htons(iface->family); 58 ar.ar_hln = iface->hwlen; 63 memcpy(p, iface->hwaddr, iface->hwlen); 64 p += iface->hwlen; 68 retval = iface->hwlen; 74 retval = send_raw_packet(iface, ETHERTYPE_ARP, arp_buffer, len); 79 handle_arp_failure(struct interface *iface) 84 if ((iface->state->offer != NULL & 107 struct interface *iface = arg; local 203 struct interface *iface = arg; local 250 struct interface *iface = arg; local [all...] |
net.h | 86 const struct interface *iface; member in struct:rt 103 #define get_mtu(iface) do_mtu(iface, 0) 104 #define set_mtu(iface, mtu) do_mtu(iface, mtu) 118 #define add_address(iface, addr, net, brd) \ 119 if_address(iface, addr, net, brd, 1) 120 #define del_address(iface, addr, net) \ 121 if_address(iface, addr, net, NULL, -1) 122 #define has_address(iface, addr, net) [all...] |
if-linux.c | 68 if_init(struct interface *iface) 83 iface->name); 94 if_conf(struct interface *iface) 102 iface->name); 108 iface->state->options->options |= DHCPCD_BROADCAST; 253 rt.iface = NULL; 272 rt.iface = find_interface(ifn); 280 if (rt.iface != NULL) { 281 if (metric == rt.iface->metric) { 297 struct interface *iface; local [all...] |
/external/libvpx/libvpx/ |
example_xma.c | 31 const vpx_codec_iface_t *iface; member in struct:__anon10882 59 vpx_codec_iface_name(ifaces[i].iface)); 84 vpx_codec_iface_t *iface = ifaces[0].iface; local 110 iface = ifaces[k].iface; 144 if (!(vpx_codec_get_caps(iface) & VPX_CODEC_CAP_XMA)) 146 printf("%s does not support XMA mode!\n", vpx_codec_iface_name(iface)); 160 if (vpx_codec_dec_init(&decoder, iface, &cfg, VPX_CODEC_USE_XMA))
|
/external/wpa_supplicant_8/src/ap/ |
ap_list.c | 32 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) 36 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || 37 iface->conf->channel != ap->channel) 53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) 57 s = iface->ap_hash[STA_HASH(ap)]; 64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) 66 if (iface->ap_list) { 67 ap->prev = iface->ap_list->prev; 68 iface->ap_list->prev = ap; 71 ap->next = iface->ap_list 254 struct hostapd_iface *iface = eloop_ctx; local [all...] |
drv_callbacks.c | 380 hapd->iface->freq = freq; 546 static struct hostapd_data * get_hapd_bssid(struct hostapd_iface *iface, 557 for (i = 0; i < iface->num_bss; i++) { 558 if (os_memcmp(bssid, iface->bss[i]->own_addr, ETH_ALEN) == 0) 559 return iface->bss[i]; 570 hapd = get_hapd_bssid(hapd->iface, bssid); 580 struct hostapd_iface *iface = hapd->iface; local 590 hapd = get_hapd_bssid(iface, bssid); 601 hapd = iface->bss[0] 700 struct hostapd_iface *iface = hapd->iface; local [all...] |
/dalvik/tests/023-many-interfaces/src/ |
ManyInterfaces.java | 288 static void testIface001(Interface001 iface, int count) { 290 iface.func001(); iface.func001(); iface.func001(); iface.func001(); 291 iface.func001(); iface.func001(); iface.func001(); iface.func001(); 292 iface.func001(); iface.func001(); iface.func001(); iface.func001() [all...] |
/external/expat/amiga/ |
expat_lib.c | 57 void closeInterface(struct ExecIFace *IExec, struct Interface *iface); 230 struct Interface *iface = IExec->GetInterface(base, "main", 1, 0); local 231 if (iface == 0) { 235 return iface; 239 void closeInterface(struct ExecIFace *IExec, struct Interface *iface) 241 if (iface != 0) 243 struct Library *base = iface->Data.LibBase; 244 IExec->DropInterface(iface);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_introspect.c | 30 struct interfaces *iface; local 32 dl_list_for_each(iface, list, struct interfaces, list) { 33 if (os_strcmp(iface->dbus_interface, dbus_interface) == 0) 34 return iface; /* already in the list */ 37 iface = os_zalloc(sizeof(struct interfaces)); 38 if (!iface) 40 iface->xml = wpabuf_alloc(6000); 41 if (iface->xml == NULL) { 42 os_free(iface); 45 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface) 98 struct interfaces *iface; local 112 struct interfaces *iface; local 126 struct interfaces *iface; local 156 struct interfaces *iface, *n; local [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
wfd.cpp | 41 " %s -l iface[:port]\tcreate a wifi display source\n" 168 String8 iface; local 169 iface.append(addr.c_str()); 170 iface.append(StringPrintf(":%d", port).c_str()); 173 sp<IRemoteDisplay> display = service->listenForRemoteDisplay(client, iface); 195 AString iface = StringPrintf("%s:%d", addr.c_str(), port); local 196 CHECK_EQ((status_t)OK, source->start(iface.c_str()));
|
/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 77 static int parseIfaceStats(const char* iface, struct Stats* stats) { 97 if (!iface || !strcmp(iface, cur_iface)) { 128 char iface[32]; local 134 iface, &tag, &cur_uid, &set, &rxBytes, &rxPackets, &txBytes, 161 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { 162 ScopedUtfChars iface8(env, iface);
|
com_android_internal_net_NetworkStatsFactory.cpp | 41 jfieldID iface; member in struct:android::__anon19715 54 char iface[32]; member in struct:android::stats_line 84 &s.iface, &rawTag, &s.uid, &s.set, &s.rxBytes, &s.rxPackets, 103 ScopedLocalRef<jobjectArray> iface(env, env->NewObjectArray(size, gStringClass, NULL)); 104 if (iface.get() == NULL) return -1; 123 ScopedLocalRef<jstring> ifaceString(env, env->NewStringUTF(lines[i].iface)); 124 env->SetObjectArrayElement(iface.get(), i, ifaceString.get()); 136 env->SetObjectField(stats, gNetworkStatsClassInfo.iface, iface.get()); 174 gNetworkStatsClassInfo.iface = env->GetFieldID(clazz, "iface", "[Ljava/lang/String;") [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
hwdep.h | 50 int iface; member in struct:snd_hwdep
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
hwdep.h | 50 int iface; member in struct:snd_hwdep
|
/dalvik/tests/068-classloader/src/ |
Main.java | 264 IGetDoubled iface = (IGetDoubled) obj; local 267 DoubledExtendOkay de = iface.getDoubled();
|
/dalvik/vm/oo/ |
Object.cpp | 140 ClassObject* iface = clazz->iftable[i].clazz; local 141 pField = dvmFindStaticField(iface, fieldName, signature); 191 ClassObject* iface = clazz->iftable[i].clazz; local 192 pField = (Field*) dvmFindStaticField(iface, fieldName, signature); 549 Method* dvmFindInterfaceMethodHierByDescriptor(const ClassObject* iface, 552 Method* resMethod = dvmFindVirtualMethodByDescriptor(iface, 557 for (i = 0; i < iface->iftableCount; i++) { 558 resMethod = dvmFindVirtualMethodByDescriptor(iface->iftable[i].clazz, 572 Method* dvmFindInterfaceMethodHier(const ClassObject* iface, 575 Method* resMethod = dvmFindVirtualMethod(iface, methodName, proto) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
network.cc | 222 char iface[16]; local 224 if (sscanf(line.c_str(), "%7s %8X %8X", iface, &ip, &gw) == 3 && 225 name == iface && ip == 0) {
|
/external/clang/lib/ARCMigrate/ |
TransProperties.cpp | 94 ObjCInterfaceDecl *iface = D->getClassInterface(); local 95 if (!iface) 98 collectProperties(iface, AtProps); 145 ext = iface->visible_extensions_begin(), 146 extEnd = iface->visible_extensions_end();
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 351 static void get_interface(unsigned int iface, char *ifc) 361 iface++; 372 if (line == iface) { 392 unsigned int ref_cnt, type, proto, iface, r, rmem, uid; local 410 &sk, &ref_cnt, &type, &proto, &iface, 412 get_interface(iface, ifc);
|
/external/libvpx/libvpx/vpx/ |
vpx_codec.h | 196 vpx_codec_iface_t *iface; /**< Interface pointers */ member in struct:vpx_codec_ctx 274 * \param[in] iface Interface pointer 277 const char *vpx_codec_iface_name(vpx_codec_iface_t *iface); 343 * \param[in] iface Pointer to the algorithm interface 346 vpx_codec_caps_t vpx_codec_get_caps(vpx_codec_iface_t *iface);
|
/external/wpa_supplicant_8/hostapd/ |
main.c | 101 hapd->conf->iface, MAC2STR(addr), 105 hapd->conf->iface, module_str ? " " : "", 208 static int hostapd_driver_init(struct hostapd_iface *iface) 212 struct hostapd_data *hapd = iface->bss[0]; 246 params.ifname = hapd->conf->iface; 252 params.num_bridge = hapd->iface->num_bss; 253 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); 256 for (i = 0; i < hapd->iface->num_bss; i++) { 257 struct hostapd_data *bss = hapd->iface->bss[i]; 275 iface->drv_flags = capa.flags 290 struct hostapd_iface *iface; local [all...] |