/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | net_osdep.h | 125 * FreeBSD 2 no old standard if_name+unit 126 * FreeBSD 3 yes strange if_name+unit 129 * BSDI [34] no old standard if_name+unit 262 extern const char *if_name(struct ifnet *);
|
H A D | net_osdep.c | 76 if_name(struct ifnet *ifp) function 86 snprintf(cp, IFNAMSIZ + 10, "%s%d", ifp->if_name, ifp->if_unit);
|
H A D | bridge.c | 184 ifp->if_name, ifp->if_unit, 220 ifp->if_name, ifp->if_unit, 224 printf(">> unmuting %s%d\n", ifp->if_name, ifp->if_unit); 290 sprintf(buf, "%s%d", ifp->if_name, ifp->if_unit); 295 "%s%d:%d", ifp->if_name, ifp->if_unit, cluster); 493 "%s%d:1,", ifp->if_name, ifp->if_unit); 507 "%s%d:%d", ifp->if_name, ifp->if_unit, 562 ifp->if_name, ifp->if_unit, 563 old->if_name, old->if_unit, 578 eh->ether_shost, ".", index, ifp->if_name, if [all...] |
H A D | ether_at_pr_module.c | 175 printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit, 248 " AppleTalk to %s%d\n", ifp->if_name, ifp->if_unit);
|
H A D | multicast_list.c | 122 source_ifp->if_name, source_ifp->if_unit, error);
|
H A D | if_disc.c | 101 ifp->if_name = "ds";
|
H A D | ether_inet6_pr_module.c | 252 ifp->if_name, ifp->if_unit); 268 ifp->if_name, ifp->if_unit);
|
H A D | if.c | 1112 if (strncmp(ifp->if_name, namebuf, len)) 1253 strlcpy(&ev_data.if_name[0], ifp->if_name, IFNAMSIZ); 1283 strlcpy(&ev_data.if_name[0], ifp->if_name, IFNAMSIZ); 1309 strlcpy(&ev_data.if_name[0], ifp->if_name, IFNAMSIZ); 1342 strlcpy(&ev_data.if_name[0], ifp->if_name, IFNAMSIZ); 1394 strlcpy(&ev_data.if_name[ [all...] |
H A D | if_dummy.c | 142 ifp->if_name = "dummy";
|
H A D | if_mib.c | 137 ifp->if_name, ifp->if_unit);
|
H A D | ether_inet_pr_module.c | 262 printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit, 533 ifp->if_name, ifp->if_unit);
|
H A D | if_var.h | 137 char if_name[IFNAMSIZ]; member in struct:net_event_data 351 const char *if_name; /* name, e.g. ``en'' or ``lo'' */ member in struct:ifnet
|
H A D | if.h | 473 char *if_name; /* null terminated name: "le0", ... */ member in struct:if_nameindex
|
H A D | dlil.c | 475 strncpy(&event_data->if_name[0], ifp->if_name, IFNAMSIZ); 497 snprintf(inputthread->input_name, 32, "dlil_input_%s%d_mtx", ifp->if_name, ifp->if_unit); 1980 panic("ifp_unuse: ifp(%s%d)->if_usecnt was zero\n", ifp->if_name, ifp->if_unit); 2080 ifp->if_name, ifp->if_unit, retval); 2498 namelen = snprintf(workbuf, sizeof(workbuf), "%s%d", ifp->if_name, ifp->if_unit); 2815 ifp1->if_name = dlifp1->if_namestorage; 2845 strncpy(dlifp->if_namestorage, ifp->if_name, IFNAMSIZ); 2846 ifp->if_name = dlifp->if_namestorage;
|
H A D | if_gif.c | 324 printf("%s: unable to attach encap4\n", if_name(sc->gif_if)); 338 printf("%s: unable to attach encap6\n", if_name(sc->gif_if));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6_ifattach.c | 411 if_name(ifp0))); 418 if_name(ifp0), if_name(altifp))); 437 if_name(ifp0), if_name(ifp))); 448 if_name(ifp0))); 452 printf("%s: failed to get interface identifier\n", if_name(ifp0)); 458 if_name(ifp0), 488 strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name)); 508 " %s: no ifid available\n", if_name(if [all...] |
H A D | nd6_nbr.c | 132 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 569 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 1076 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1101 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1109 nd6log((LOG_DEBUG, "%s: starting DAD for %s\n", if_name(ifa->ifa_ifp), 1189 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1196 ifa->ifa_ifp ? if_name(ifa->ifa_ifp) : "???"); 1203 if_name(ifa->ifa_ifp))); 1256 if_name(ifa->ifa_ifp)); 1282 if_name(if [all...] |
H A D | ip6_forward.c | 144 if_name(m->m_pkthdr.rcvif)); 385 if_name(m->m_pkthdr.rcvif), if_name(rt->rt_ifp)); 523 ip6->ip6_nxt, if_name(m->m_pkthdr.rcvif), 524 if_name(rt->rt_ifp));
|
H A D | nd6_rtr.c | 169 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 261 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 551 if_name(ifp))); 563 if_name(ifp), error)); 674 if_name(dr->ifp)); 1006 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1046 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1069 if_name(pr->ndpr_ifp)); 1141 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); 1168 new->ndpr_plen, if_name(ne [all...] |
H A D | in6.c | 583 if_name(ifp), error); 596 if_name(ifp), error); 798 if_name(ifp), error); 1250 ip6_sprintf(&llsol), if_name(ifp), 1287 if_name(ifp), error); 1308 if_name(ifp), error); 1345 if_name(ifp), error); 1419 ip6_sprintf(&ia->ia_addr.sin6_addr), if_name(ifp), 2788 strncpy(&in6_event_data.link_data.if_name[0], ifp->if_name, IFNAMSI [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_arp.c | 690 ifp->if_name, ifp->if_unit, 697 strncpy(&in_collision->link_data.if_name[0], ifp->if_name, IFNAMSIZ); 751 ifp->if_name, ifp->if_unit, 754 route->rt_ifp->if_name, route->rt_ifp->if_unit); 758 ifp->if_name, ifp->if_unit); 800 route->rt_ifp->if_name, 803 ifp->if_name, ifp->if_unit); 836 ifp->if_name, ifp->if_unit); 846 ifp->if_name, if [all...] |
H A D | in.c | 439 ifp->if_name, ifp->if_unit, ifp->if_type, error); 559 strncpy(&in_event_data.link_data.if_name[0], ifp->if_name, IFNAMSIZ); 604 strncpy(&in_event_data.link_data.if_name[0], ifp->if_name, IFNAMSIZ); 663 strncpy(&in_event_data.link_data.if_name[0], ifp->if_name, IFNAMSIZ); 734 strncpy(&in_event_data.link_data.if_name[0], ifp->if_name, IFNAMSIZ); 773 strncpy(&in_event_data.link_data.if_name[ [all...] |
H A D | ip_dummynet.c | 651 if (p->if_name[0] == 0) /* tx clock is simulated */ 658 p->pipe_nr, p->if_name)); 711 if (p->if_name[0] != '\0') {/* tx clock is from a real thing */ 738 if (p->if_name[0]==0 && p->numbytes < 0) { /* this implies bandwidth >0 */ 798 if (pipe->if_name[0] != '\0') 800 pipe->if_name); 850 snprintf(buf, sizeof(buf), "%s%d",ifp->if_name, ifp->if_unit); 852 if (!strcmp(p->if_name, buf) ) { 859 DPRINTF(("dummynet: ++ tx rdy from %s%d - qlen %d\n", ifp->if_name, 1687 bcopy(p->if_name, [all...] |
H A D | ip_dummynet.h | 370 * When the tx clock come from an interface (if_name[0] != '\0'), its name 373 char if_name[IFNAMSIZ]; member in struct:dn_pipe
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | ddp_lap.c | 155 at_ifaddr_t *find_ifID(if_name) 156 char *if_name; 160 if (strlen(if_name)) 162 if (!strcmp(at_interfaces[pat_id].ifName, if_name)) 1682 nddp->if_name , nddp->if_unit); 1719 nddp->if_name , nddp->if_unit);
|