Home
last modified time | relevance | path

Searched refs:if_name (Results 1 – 14 of 14) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dvlan_util.c32 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument
41 "vlan_if_name=%s)", if_name, vid, vlan_if_name); in vlan_add()
43 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { in vlan_add()
45 if_name); in vlan_add()
76 if (!(if_idx = rtnl_link_name2i(cache, if_name))) { in vlan_add()
79 if_name); in vlan_add()
120 vlan_if_name, vid, if_name, if_idx, in vlan_add()
138 int vlan_rem(const char *if_name) in vlan_rem() argument
145 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(if_name=%s)", if_name); in vlan_rem()
168 if (!(rlink = rtnl_link_get_by_name(cache, if_name))) { in vlan_rem()
[all …]
Dvlan_init.c123 static int ifconfig_helper(const char *if_name, int up) in ifconfig_helper() argument
135 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper()
140 __func__, if_name, strerror(errno)); in ifconfig_helper()
153 __func__, if_name, up, strerror(errno)); in ifconfig_helper()
163 static int ifconfig_up(const char *if_name) in ifconfig_up() argument
165 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s up", if_name); in ifconfig_up()
166 return ifconfig_helper(if_name, 1); in ifconfig_up()
170 static int ifconfig_down(const char *if_name) in ifconfig_down() argument
172 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); in ifconfig_down()
173 return ifconfig_helper(if_name, 0); in ifconfig_down()
[all …]
Dvlan_util.h12 int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
13 int vlan_rem(const char *if_name);
/external/libpcap/
Dpcap-dlpi.c1636 char if_name[sizeof(ifnet.if_name) + 1]; local
1666 dlpi_kread(kd, (off_t)ifnet.if_name,
1667 if_name, sizeof(ifnet.if_name), ebuf) < 0) {
1671 if_name[sizeof(ifnet.if_name)] = '\0';
1672 if (strcmp(if_name, ifname) == 0 && ifnet.if_unit == unit)
Dpcap-linux.c1007 linux_if_drops(const char * if_name) argument
1012 int field_to_convert = 3, if_name_sz = strlen(if_name);
1031 if ((bufptr = strstr(buffer, if_name)) &&
/external/selinux/sepolgen/src/sepolgen/
Dmodule.py60 def if_name(self): member in ModuleTree
83 open(self.if_name(), "w").close()
/external/ppp/pppd/
Dsys-solaris.c470 get_if_hwaddr(u_char *addr, char *if_name) in get_if_hwaddr() argument
475 if (if_name == NULL) in get_if_hwaddr()
481 if (!get_hw_addr_dlpi(if_name, &s_eth_addr)) { in get_if_hwaddr()
482 error("could not obtain hardware address for %s", if_name); in get_if_hwaddr()
538 char *if_name; in ether_to_eui64() local
540 if ((if_name = get_first_ethernet()) == NULL) { in ether_to_eui64()
548 if (!get_hw_addr_dlpi(if_name, &s_eth_addr)) { in ether_to_eui64()
549 error("could not obtain hardware address for %s", if_name); in ether_to_eui64()
/external/mdnsresponder/Clients/
Ddns-sd.c802 char if_name[IFNAMSIZ]; // Older Linux distributions don't define IF_NAMESIZE in addrinfo_reply() local
805 if (!if_indextoname(s6->sin6_scope_id, if_name)) in addrinfo_reply()
806 snprintf(if_name, sizeof(if_name), "<%d>", s6->sin6_scope_id); in addrinfo_reply()
809 b[0x8], b[0x9], b[0xA], b[0xB], b[0xC], b[0xD], b[0xE], b[0xF], if_name); in addrinfo_reply()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.h127 char if_name[IFNAMSIZ]; member
Dieee802_1x_kay.c3148 os_strlcpy(kay->if_name, ifname, IFNAMSIZ); in ieee802_1x_kay_init()
3205 kay->l2_mka = l2_packet_init(kay->if_name, NULL, ETH_P_PAE, in ieee802_1x_kay_init()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c482 char if_name[IFNAMSIZ]; // Older Linux distributions don't define IF_NAMESIZE in DisplayPacketHeader() local
483 if_indextoname(index, if_name); in DisplayPacketHeader()
486 …d:%02d:%02d.%06d Interface %d/%s\n", tm.tm_hour, tm.tm_min, tm.tm_sec, tv.tv_usec, index, if_name); in DisplayPacketHeader()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c284 for (p = p0; p && p->if_index && p->if_name; p++) { in if_maxindex()
/external/toybox/toys/pending/
Dip.c465 for (i = if_ni; i->if_index && i->if_name; i++) in get_ifaceindex()
466 if (!strcmp(name, i->if_name)) { in get_ifaceindex()
/external/libpcap/doc/
Dpcap.txt546 | if_name | 2 | Variable | Name of the |