/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | vlan_util.h | 16 int vlan_add(const char *if_name, int vid, const char *vlan_if_name); 17 int vlan_rem(const char *if_name); 20 int ifconfig_helper(const char *if_name, int up); 21 int ifconfig_up(const char *if_name);
|
H A D | vlan_ifconfig.c | 19 int ifconfig_helper(const char *if_name, int up) argument 31 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); 36 __func__, if_name, strerror(errno)); 49 __func__, if_name, up, strerror(errno)); 59 int ifconfig_up(const char *if_name) argument 61 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s up", if_name); 62 return ifconfig_helper(if_name, 1);
|
H A D | vlan_ioctl.c | 19 int vlan_rem(const char *if_name) argument 24 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(%s)", if_name); 25 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { 27 if_name); 39 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); 44 "%s", __func__, if_name, strerror(errno)); 56 'if_name'. 62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) argument 67 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d)", 68 if_name, vi [all...] |
H A D | vlan_util.c | 18 * tagged interface 'if_name'. 24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) argument 31 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, " 32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); 34 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { 36 if_name); 59 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); 63 if_name); 108 vlan_if_name, vid, if_name, if_idx, 124 int vlan_rem(const char *if_name) argument [all...] |
H A D | vlan_full.c | 120 static int ifconfig_down(const char *if_name) argument 122 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); 123 return ifconfig_helper(if_name, 0); 133 static int br_delif(const char *br_name, const char *if_name) argument 140 wpa_printf(MSG_DEBUG, "VLAN: br_delif(%s, %s)", br_name, if_name); 147 if (linux_br_del_if(fd, br_name, if_name) == 0) 150 if_index = if_nametoindex(if_name); 155 __func__, if_name); 169 "BRCTL_DEL_IF] failed for br_name=%s if_name=%s: " 170 "%s", __func__, br_name, if_name, strerro 188 br_addif(const char *br_name, const char *if_name) argument [all...] |
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | iw_portmap.h | 58 char if_name[IWPM_IFNAME_SIZE]; member in struct:iwpm_dev_data
|
/freebsd-11-stable/lib/libc/net/ |
H A D | if_nameindex.c | 50 * char *if_name; 59 * an if_index of 0 and an if_name of NULL. The function returns a NULL 63 * names pointed to by the if_name members is obtained dynamically. 127 ifni2->if_name = cp; 137 ifni2->if_name = NULL;
|
/freebsd-11-stable/contrib/hyperv/tools/ |
H A D | hv_kvp_daemon.c | 573 kvp_if_name_to_mac(char *if_name) argument 588 (strcmp(ifaddrs_ptr->ifa_name, if_name) == 0)) { 606 char *if_name = NULL; local 627 if_name = strdup(ifaddrs_ptr->ifa_name); 637 return (if_name); 677 kvp_get_ipconfig_info(char *if_name, struct hv_kvp_ipaddr_value *buffer) argument 687 snprintf(cmd, sizeof(cmd), "netstat -rn | grep %s | awk '/default/ {print $2 }'", if_name); 697 snprintf(cmd, sizeof(cmd), "netstat -rn inet6 | grep %s | awk '/default/ {print $2 }'", if_name); 733 "sh /usr/libexec/hyperv/hv_get_dhcp_info", if_name); 809 kvp_get_ip_info(int family, char *if_name, in argument 969 kvp_set_ip_info(char *if_name, struct hv_kvp_ipaddr_value *new_val) argument 1097 char *if_name; local 1129 char *if_name; local [all...] |
/freebsd-11-stable/contrib/ipfilter/iplang/ |
H A D | iplang.h | 10 char *if_name; member in struct:iface
|
/freebsd-11-stable/sys/netinet6/ |
H A D | in6_ifattach.c | 403 if_name(ifp0))); 410 if_name(ifp0), if_name(altifp))); 429 if_name(ifp0), if_name(ifp))); 440 if_name(ifp0))); 444 printf("%s: failed to get interface identifier\n", if_name(ifp0)); 449 if_name(ifp0), in6->s6_addr[8], in6->s6_addr[9], in6->s6_addr[10], 480 "%s: no ifid available\n", if_name(ifp))); 509 if_name(if [all...] |
H A D | ip6_forward.c | 123 if_name(m->m_pkthdr.rcvif)); 222 if_name(m->m_pkthdr.rcvif), if_name(rt->rt_ifp)); 306 ip6->ip6_nxt, if_name(m->m_pkthdr.rcvif), 307 if_name(rt->rt_ifp));
|
H A D | mld6.c | 475 __func__, ifp, if_name(ifp)); 517 ifp, if_name(ifp)); 542 if_name(ifp)); 583 __func__, ifp, if_name(ifp)); 596 __func__, ifp, if_name(ifp)); 644 ifp, if_name(ifp)); 655 ifp, if_name(ifp)); 704 ifp, if_name(ifp)); 722 ifp, if_name(ifp)); 760 if_name(in [all...] |
H A D | nd6_nbr.c | 164 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 644 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 1254 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1291 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1298 nd6log((LOG_DEBUG, "%s: starting DAD for %s\n", if_name(ifa->ifa_ifp), 1365 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1372 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1382 if_name(ifa->ifa_ifp))); 1413 if_name(ifa->ifa_ifp), 1438 if_name(if [all...] |
H A D | nd6_rtr.c | 149 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 242 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 316 if_name(ifp), ndi->chlim, nd_ra->nd_ra_curhoplimit); 1148 pr->ndpr_plen, if_name(pr->ndpr_ifp), error)); 1205 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1279 pr->ndpr_plen, if_name(pr->ndpr_ifp), 1299 new->ndpr_plen, if_name(new->ndpr_ifp), error)); 1492 if_name(ifp)); 1499 pr->ndpr_plen, if_name(ifp))); 1837 pr->ndpr_plen, if_name(p [all...] |
/freebsd-11-stable/contrib/wpa/hostapd/ |
H A D | main.c | 260 hostapd_interface_init(struct hapd_interfaces *interfaces, const char *if_name, argument 271 if (if_name) { 272 os_strlcpy(iface->conf->bss[0]->iface, if_name, 563 char *if_name, *tmp, **nnames; local 568 if_name = strtok_r(arg, ",", &tmp); 570 while (if_name) { 577 (*if_names)[*if_names_size] = os_strdup(if_name); 581 if_name = strtok_r(NULL, ",", &tmp); 821 char *if_name = NULL; local 824 if_name [all...] |
/freebsd-11-stable/sys/dev/qlxge/ |
H A D | qls_ioctl.c | 62 if_name(ha->ifp));
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_io.h | 90 const char *if_name, int prefixlen,
|
H A D | ntp_config.h | 184 char * if_name; /* or numeric address */ member in struct:nic_rule_node_tag 329 nic_rule_node *create_nic_rule_node(int match_class, char *if_name,
|
/freebsd-11-stable/contrib/ipfilter/ |
H A D | ip_fil.c | 141 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit); 303 ifp->if_name = (char *)malloc(s - name + 1); 304 (void) strncpy(ifp->if_name, name, s - name); 305 ifp->if_name[s - name] = '\0'; 307 ifp->if_name = strdup(name); 331 sprintf(ifname, "%s%d", ifp->if_name, ifp->if_unit); 333 strcpy(ifname, ifp->if_name); 362 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit);
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 94 char if_name[IF_NAMESIZE]; /* interface name */ member in struct:cfg_nat 117 if (strncmp(ptr->if_name, ifp->if_xname, IF_NAMESIZE) != 0) 528 strlcpy(ptr->if_name, ucfg->if_name, sizeof(ptr->if_name)); 658 strlcpy(ucfg->if_name, ptr->if_name, sizeof(ucfg->if_name)); 916 char if_name[IF_NAMESIZE]; member in struct:cfg_nat_legacy 955 strlcpy(ucfg->if_name, cf [all...] |
/freebsd-11-stable/sys/dev/qlxgb/ |
H A D | qla_ioctl.c | 59 if_name(ha->ifp));
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_pcb.h | 508 void sctp_mark_ifa_addr_down(uint32_t vrf_id, struct sockaddr *addr, const char *if_name, uint32_t ifn_index); 509 void sctp_mark_ifa_addr_up(uint32_t vrf_id, struct sockaddr *addr, const char *if_name, uint32_t ifn_index); 514 const char *if_name, 526 uint32_t ifn_index, const char *if_name);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 269 snprintf(name, sizeof name, "%s_mcg", if_name(dev)); 275 snprintf(name, sizeof name, "%s_path", if_name(dev));
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_cq.c | 78 if_name(priv->dev)); 83 if_name(priv->dev));
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-dlpi.c | 1810 char if_name[sizeof(ifnet.if_name) + 1]; local 1840 dlpi_kread(kd, (off_t)ifnet.if_name, 1841 if_name, sizeof(ifnet.if_name), ebuf) < 0) { 1845 if_name[sizeof(ifnet.if_name)] = '\0'; 1846 if (strcmp(if_name, ifname) == 0 && ifnet.if_unit == unit) {
|