/netbsd-6-1-5-RELEASE/sys/net/ |
H A D | net_osdep.h | 123 * FreeBSD 2 no old standard if_name+unit 124 * FreeBSD 3 yes strange if_name+unit 127 * BSDI [34] no old standard if_name+unit 304 #define if_name(ifp) ((ifp)->if_xname) macro
|
H A D | if_atmsubr.c | 188 printf("%s%d: can't handle af%d\n", ifp->if_name, 268 ifp->if_name, ifp->if_unit, ATM_PH_VPI(ah), ATM_PH_VCI(ah)); 357 pvcsif->sif_if.if_name = "pvc";
|
H A D | if_strip.c | 1916 char * if_name; local 1918 if_name = strip_info->sc_if.if_xname; 1924 if_name, sendername); 1934 if_name, newname, handle); 1940 addlog("%s: Destination radio name is unknown\n", if_name); 1948 addlog("%s: radio responded to probe\n", if_name); 1951 addlog("%s: Radio back in starmode\n", if_name); 1967 if_name); 1974 if_name);
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/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...] |
/netbsd-6-1-5-RELEASE/usr.sbin/pvcsif/ |
H A D | pvcsif.c | 110 for (ifnp = ifn_list; ifnp->if_name != NULL; ifnp++) { 111 if (strncmp(ifnp->if_name, "pvc", 3) == 0) { 114 strncpy(pvcreq.pvc_ifname, ifnp->if_name, IFNAMSIZ-1); 123 ifnp->if_name, pvcreq.pvc_ifname,
|
/netbsd-6-1-5-RELEASE/usr.sbin/pvctxctl/ |
H A D | pvctxctl.c | 62 char *if_name, *cp; local 76 if_name = argv[1]; 117 strncpy(pvcreq.pvc_ifname, if_name, IFNAMSIZ-1); 119 if (strncmp(if_name, "pvc", 3) == 0) 140 if_name, vpi, vci, ATM_PH_FLAGS(&pvcreq.pvc_aph)); 154 printf(" %s", if_name);
|
/netbsd-6-1-5-RELEASE/lib/libc/net/ |
H A D | if_nameindex.c | 58 * char *if_name; 67 * an if_index of 0 and an if_name of NULL. The function returns a NULL 71 * names pointed to by the if_name members is obtained dynamically. 136 ifni2->if_name = cp; 146 ifni2->if_name = NULL;
|
/netbsd-6-1-5-RELEASE/usr.sbin/mopd/common/ |
H A D | device.c | 79 strlcpy(tmp.if_name, ifname, sizeof(tmp.if_name)); 103 strlcpy(p->if_name, tmp.if_name, sizeof(p->if_name)); 111 deviceEthAddr(p->if_name,&p->eaddr[0]); 161 if (strcmp(p->if_name,interface) == 0) {
|
H A D | loop-bsd.c | 54 return (*(p->iopen))(p->if_name, 67 return (*(p->iopen))(p->if_name,
|
H A D | common.h | 55 char if_name[IFNAME_SIZE]; /* Interface Name */ member in struct:if_info
|
/netbsd-6-1-5-RELEASE/sys/netinet6/ |
H A D | in6_ifattach.c | 464 if_name(ifp0))); 471 if_name(ifp0), if_name(altifp))); 489 if_name(ifp0), if_name(ifp))); 499 if_name(ifp0))); 508 if_name(ifp0))); 512 printf("%s: failed to get interface identifier\n", if_name(ifp0)); 517 if_name(ifp0), in6->s6_addr[8], in6->s6_addr[9], in6->s6_addr[10], 544 strncpy(ifra.ifra_name, if_name(if [all...] |
H A D | nd6_nbr.c | 132 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 575 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 1089 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1114 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1121 nd6log((LOG_DEBUG, "%s: starting DAD for %s\n", if_name(ifa->ifa_ifp), 1190 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1197 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1204 if_name(ifa->ifa_ifp))); 1256 if_name(ifa->ifa_ifp), 1287 if_name(if [all...] |
H A D | ip6_forward.c | 163 if_name(m->m_pkthdr.rcvif)); 453 if_name(m->m_pkthdr.rcvif), if_name(rt->rt_ifp)); 609 ip6->ip6_nxt, if_name(m->m_pkthdr.rcvif), 610 if_name(rt->rt_ifp));
|
H A D | nd6_rtr.c | 137 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 224 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 988 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1023 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1115 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1143 new->ndpr_plen, if_name(new->ndpr_ifp), 1336 if_name(ifp)); 1343 pr->ndpr_plen, if_name(ifp))); 1670 pr->ndpr_plen, if_name(ifp))); 1705 pr->ndpr_plen, if_name(if [all...] |
/netbsd-6-1-5-RELEASE/dist/ipf/iplang/ |
H A D | iplang.h | 10 char *if_name; member in struct:iface
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/include/ |
H A D | ntp_io.h | 88 extern void add_nic_rule(nic_rule_match match_type, const char *if_name,
|
H A D | ntp_config.h | 135 char *if_name; /* interface name or numeric address */ member in struct:nic_rule_node_tag 232 nic_rule_node *create_nic_rule_node(int match_class, char *if_name,
|
/netbsd-6-1-5-RELEASE/dist/ipf/lib/ |
H A D | getifname.c | 70 if (kstrncpy(buf, (u_long)netif.if_name, sizeof(buf)) == -1)
|
/netbsd-6-1-5-RELEASE/usr.sbin/mopd/mopchk/ |
H A D | mopchk.c | 101 ii->if_name, ii->eaddr[0], ii->eaddr[1],
|
/netbsd-6-1-5-RELEASE/dist/ipf/ |
H A D | ip_fil.c | 317 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit); 460 ifp->if_name = (char *)malloc(s - name + 1); 461 (void) strncpy(ifp->if_name, name, s - name); 462 ifp->if_name[s - name] = '\0'; 464 ifp->if_name = strdup(name); 487 sprintf(ifname, "%s%d", ifp->if_name, ifp->if_unit); 517 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit);
|
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | if_fpa.c | 213 sc->sc_if.if_name = "fpa"; 217 sc->sc_if.if_name, sc->sc_if.if_unit, 347 sc->sc_if.if_name = "fpa"; 352 sc->sc_if.if_name, sc->sc_if.if_unit,
|
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | ex_init.c | 296 ecp->if_name = NULL; 298 if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL)
|
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/ |
H A D | pcap-dlpi.c | 1613 char if_name[sizeof(ifnet.if_name) + 1]; local 1643 dlpi_kread(kd, (off_t)ifnet.if_name, 1644 if_name, sizeof(ifnet.if_name), ebuf) < 0) { 1648 if_name[sizeof(ifnet.if_name)] = '\0'; 1649 if (strcmp(if_name, ifname) == 0 && ifnet.if_unit == unit)
|
/netbsd-6-1-5-RELEASE/usr.sbin/altq/tbrconfig/ |
H A D | tbrconfig.c | 173 for (ifnp = ifn_list; ifnp->if_name != NULL; ifnp++) { 175 strncpy(req.ifname, ifnp->if_name, IFNAMSIZ-1);
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/dbus/ |
H A D | dbus_mgr.c | 135 char *if_name; member in struct:dhc_if_s 1708 return( strcmp( ((const DHC_IF*)p1)->if_name, ((const DHC_IF*)p2)->if_name) ); 1762 isc_mem_put( ns_g_mctx, d_if->if_name, strlen(d_if->if_name) + 1); 1796 char *if_name, *opt_name, error_name[1024]="", error_message[1024]=""; local 1811 if( ( if_name = strrchr(path,'/') ) == 0L ) 1817 ++if_name; 1818 dif.if_name = if_name; [all...] |