/freebsd-9.3-release/contrib/wpa/src/ap/ |
H A D | vlan_init.c | 42 static int ifconfig_helper(const char *if_name, int up) argument 54 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); 59 __func__, if_name, strerror(errno)); 72 __func__, if_name, up, strerror(errno)); 82 static int ifconfig_up(const char *if_name) argument 84 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s up", if_name); 85 return ifconfig_helper(if_name, 1); 89 static int ifconfig_down(const char *if_name) argument 91 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); 92 return ifconfig_helper(if_name, 109 br_delif(const char *br_name, const char *if_name) argument 160 br_addif(const char *br_name, const char *if_name) argument 337 vlan_rem(const char *if_name) argument 380 vlan_add(const char *if_name, int vid) argument [all...] |
/freebsd-9.3-release/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-9.3-release/contrib/ipfilter/iplang/ |
H A D | iplang.h | 10 char *if_name; member in struct:iface
|
/freebsd-9.3-release/sys/netinet6/ |
H A D | in6_ifattach.c | 396 if_name(ifp0))); 403 if_name(ifp0), if_name(altifp))); 422 if_name(ifp0), if_name(ifp))); 433 if_name(ifp0))); 437 printf("%s: failed to get interface identifier\n", if_name(ifp0)); 442 if_name(ifp0), in6->s6_addr[8], in6->s6_addr[9], in6->s6_addr[10], 468 strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name)); 480 "%s: no ifid available\n", if_name(if [all...] |
H A D | ip6_forward.c | 148 if_name(m->m_pkthdr.rcvif)); 416 if_name(m->m_pkthdr.rcvif), if_name(rt->rt_ifp)); 543 ip6->ip6_nxt, if_name(m->m_pkthdr.rcvif), 544 if_name(rt->rt_ifp));
|
H A D | nd6_nbr.c | 144 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 648 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 1244 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1272 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1282 nd6log((LOG_DEBUG, "%s: starting DAD for %s\n", if_name(ifa->ifa_ifp), 1349 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1356 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1363 if_name(ifa->ifa_ifp))); 1415 if_name(ifa->ifa_ifp), 1446 if_name(if [all...] |
H A D | nd6_rtr.c | 145 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 232 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 306 if_name(ifp), ndi->chlim, nd_ra->nd_ra_curhoplimit); 927 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 960 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1047 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1070 new->ndpr_plen, if_name(new->ndpr_ifp), 1266 if_name(ifp)); 1273 pr->ndpr_plen, if_name(ifp))); 1609 pr->ndpr_plen, if_name(p [all...] |
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | getifname.c | 70 if (kstrncpy(buf, (u_long)netif.if_name, sizeof(buf)) == -1)
|
/freebsd-9.3-release/sys/dev/qlxgb/ |
H A D | qla_ioctl.c | 59 if_name(ha->ifp));
|
/freebsd-9.3-release/sys/dev/qlxge/ |
H A D | qls_ioctl.c | 62 if_name(ha->ifp));
|
/freebsd-9.3-release/contrib/ntp/include/ |
H A D | ntp_io.h | 90 const char *if_name, int prefixlen,
|
H A D | ntp_config.h | 172 char * if_name; /* or numeric address */ member in struct:nic_rule_node_tag 303 nic_rule_node *create_nic_rule_node(int match_class, char *if_name,
|
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_cq.c | 62 if_name(priv->dev)); 68 if_name(priv->dev));
|
/freebsd-9.3-release/contrib/ipfilter/ |
H A D | ip_fil.c | 299 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit); 444 ifp->if_name = (char *)malloc(s - name + 1); 445 (void) strncpy(ifp->if_name, name, s - name); 446 ifp->if_name[s - name] = '\0'; 448 ifp->if_name = strdup(name); 471 sprintf(ifname, "%s%d", ifp->if_name, ifp->if_unit); 500 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit);
|
/freebsd-9.3-release/usr.bin/systat/ |
H A D | ifstat.c | 67 char if_name[IF_NAMESIZE]; member in struct:if_stat 142 mvprintw(p->if_ypos, 0, "%s", p->if_name); \ 322 newstr = ifp->if_name;
|
/freebsd-9.3-release/sys/netinet/ |
H A D | sctp_pcb.h | 505 void sctp_mark_ifa_addr_down(uint32_t vrf_id, struct sockaddr *addr, const char *if_name, uint32_t ifn_index); 506 void sctp_mark_ifa_addr_up(uint32_t vrf_id, struct sockaddr *addr, const char *if_name, uint32_t ifn_index); 511 const char *if_name, 523 uint32_t ifn_index, const char *if_name);
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-dlpi.c | 1626 char if_name[sizeof(ifnet.if_name) + 1]; local 1656 dlpi_kread(kd, (off_t)ifnet.if_name, 1657 if_name, sizeof(ifnet.if_name), ebuf) < 0) { 1661 if_name[sizeof(ifnet.if_name)] = '\0'; 1662 if (strcmp(if_name, ifname) == 0 && ifnet.if_unit == unit)
|
/freebsd-9.3-release/contrib/nvi/ex/ |
H A D | ex_init.c | 300 ecp->if_name = NULL; 302 if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL)
|
H A D | ex.h | 75 char *if_name; /* Associated file. */ member in struct:_excmd
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 266 snprintf(name, sizeof name, "%s_mcg", if_name(dev)); 272 snprintf(name, sizeof name, "%s_path", if_name(dev));
|
/freebsd-9.3-release/contrib/nvi/common/ |
H A D | gs.h | 95 char *if_name; /* Current associated file. */ member in struct:_gs
|
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_log.c | 355 if ((ipfl.fl_ifname[0] = ifp->if_name[0])) 356 if ((ipfl.fl_ifname[1] = ifp->if_name[1])) 357 if ((ipfl.fl_ifname[2] = ifp->if_name[2])) 358 ipfl.fl_ifname[3] = ifp->if_name[3];
|
/freebsd-9.3-release/sys/mips/cavium/octe/ |
H A D | ethernet.c | 129 if_name(ifp), link_info.s.speed, 134 DEBUGPRINT("%s: Link down\n", if_name(ifp));
|
/freebsd-9.3-release/sbin/ipfw/ |
H A D | dummynet.c | 524 read_bandwidth(char *arg, int *bandwidth, char *if_name, int namelen) argument 530 if (!if_name) { 537 strncpy(if_name, arg, namelen); 538 if_name[namelen] = '\0'; 561 if (if_name) 562 if_name[0] = '\0';
|
/freebsd-9.3-release/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 72 if (strncmp(ptr->if_name, ifp->if_xname, IF_NAMESIZE) != 0) 447 memcpy(ptr->if_name, cfg->if_name, IF_NAMESIZE);
|