| /mirbsd/src/sys/netinet/ |
| D | if_ether.h | 159 struct arpcom { struct 199 void arpwhohas(struct arpcom *, struct in_addr *); 201 int arpresolve(struct arpcom *, 203 void arp_ifinit(struct arpcom *, struct ifaddr *); 206 int ether_addmulti(struct ifreq *, struct arpcom *); 207 int ether_delmulti(struct ifreq *, struct arpcom *); 222 struct arpcom *enm_ac; /* back pointer to arpcom */ 282 int arpresolve(struct arpcom *, struct rtentry *, struct mbuf *, 286 void arp_ifinit(struct arpcom *, struct ifaddr *);
|
| D | if_ether.c | 284 Bcopy(((struct arpcom *)rt->rt_ifp)->ac_enaddr, 371 struct arpcom *ac; in arpresolve() 515 struct arpcom *ac = (struct arpcom *)m->m_pkthdr.rcvif; 575 ac = (struct arpcom *)bridge_ia->ia_ifp; 779 struct arpcom *ac; in arp_ifinit() 864 if (bcmp(ar->arp_tha, ((struct arpcom *)ifp)->ac_enaddr, 889 struct arpcom *ac = (struct arpcom *)ifp;
|
| /mirbsd/src/sys/dev/isa/ |
| D | if_ex.c | 96 struct arpcom arpcom; /* Ethernet common data */ member 230 sc->arpcom.ac_enaddr[5] = eaddr_tmp & 0xff; 231 sc->arpcom.ac_enaddr[4] = eaddr_tmp >> 8; 233 sc->arpcom.ac_enaddr[3] = eaddr_tmp & 0xff; 234 sc->arpcom.ac_enaddr[2] = eaddr_tmp >> 8; 236 sc->arpcom.ac_enaddr[1] = eaddr_tmp & 0xff; 237 sc->arpcom.ac_enaddr[0] = eaddr_tmp >> 8; 277 struct ifnet *ifp = &sc->arpcom.ac_if; 305 ether_sprintf(sc->arpcom.ac_enaddr)); 325 struct ifnet *ifp = &sc->arpcom.ac_if; [all …]
|
| /mirbsd/src/sys/net/ |
| D | if_ethersubr.c | 161 struct arpcom *arp; 219 struct arpcom *ac = (struct arpcom *)ifp; 499 struct arpcom *ac; 575 ac = (struct arpcom *)ifp; 636 aarpinput((struct arpcom *)ifp, m); 703 aarpinput((struct arpcom *)ifp, m); 763 rnd_lopool_add((((struct arpcom *)ifp)->ac_enaddr), 6); 769 if (ETHER_IS_MULTICAST(((struct arpcom *)ifp)->ac_enaddr)) { 770 ((struct arpcom *)ifp)->ac_enaddr[0] = 0x00; 771 ((struct arpcom *)ifp)->ac_enaddr[1] = 0xfe; [all …]
|
| D | if_tun.c | 96 struct arpcom arpcom; /* ethernet common data */ member 105 #define tun_if arpcom.ac_if 183 tp->arpcom.ac_enaddr[0] = 0x00; in tun_create() 184 tp->arpcom.ac_enaddr[1] = 0xbd; in tun_create() 186 bcopy(&macaddr_rnd, &tp->arpcom.ac_enaddr[2], sizeof(u_int32_t)); in tun_create() 187 tp->arpcom.ac_enaddr[5] = (u_char)unit + 1; in tun_create() 480 if ((error = ether_ioctl(ifp, &tp->arpcom, cmd, data)) > 0) { in tun_ioctl() 492 arp_ifinit(&tp->arpcom, (struct ifaddr *)data); in tun_ioctl() 522 ether_addmulti(ifr, &tp->arpcom) : in tun_ioctl() 523 ether_delmulti(ifr, &tp->arpcom); in tun_ioctl() [all …]
|
| /mirbsd/src/sys/dev/usb/ |
| D | if_auereg.h | 231 struct arpcom arpcom; member 233 #define GET_IFP(sc) (&(sc)->arpcom.ac_if) 244 struct arpcom arpcom; member 249 #define GET_IFP(sc) (&(sc)->arpcom.ac_if)
|
| D | if_cuereg.h | 171 struct arpcom arpcom; member 172 #define GET_IFP(sc) (&(sc)->arpcom.ac_if)
|
| D | if_kuereg.h | 166 struct arpcom arpcom; member 167 #define GET_IFP(sc) (&(sc)->arpcom.ac_if)
|
| D | if_axereg.h | 162 struct arpcom arpcom; member 163 #define GET_IFP(sc) (&(sc)->arpcom.ac_if)
|
| /mirbsd/src/sys/dev/pci/ |
| D | if_sis.c | 348 u_int16_t *enaddr = (u_int16_t *) &sc->arpcom.ac_enaddr; 374 sis_read_eeprom(sc, (caddr_t)&sc->arpcom.ac_enaddr, 703 struct arpcom *ac = &sc->arpcom; 709 ifp = &sc->arpcom.ac_if; 759 struct arpcom *ac = &sc->arpcom; 764 ifp = &sc->arpcom.ac_if; 1012 bcopy((char *)&tmp[1], sc->arpcom.ac_enaddr, 1036 sis_read_cmos(sc, pa, (caddr_t)&sc->arpcom.ac_enaddr, 1047 sis_read_eeprom(sc, (caddr_t)&sc->arpcom.ac_enaddr, 1053 ether_sprintf(sc->arpcom.ac_enaddr)); [all …]
|
| D | if_sf.c | 381 struct arpcom *ac = &sc->arpcom; 386 ifp = &sc->arpcom.ac_if; 485 if ((error = ether_ioctl(ifp, &sc->arpcom, command, data)) > 0) { 496 arp_ifinit(&sc->arpcom, ifa); 525 ether_addmulti(ifr, &sc->arpcom) : 526 ether_delmulti(ifr, &sc->arpcom); 710 sc->arpcom.ac_enaddr[i] = 713 printf(" address %s\n", ether_sprintf(sc->arpcom.ac_enaddr)); 726 ifp = &sc->arpcom.ac_if; 875 ifp = &sc->arpcom.ac_if; [all …]
|
| D | if_ste.c | 524 struct arpcom *ac = &sc->arpcom; 530 ifp = &sc->arpcom.ac_if; 569 ifp = &sc->arpcom.ac_if; 625 ifp = &sc->arpcom.ac_if; 720 ifp = &sc->arpcom.ac_if; 759 ifp = &sc->arpcom.ac_if; 801 ifp = &sc->arpcom.ac_if; 958 ste_read_eeprom(sc,(caddr_t)&sc->arpcom.ac_enaddr,STE_EEADDR_NODE0,3,0); 960 printf(" address %s\n", ether_sprintf(sc->arpcom.ac_enaddr)); 972 ifp = &sc->arpcom.ac_if; [all …]
|
| D | if_tl.c | 864 struct arpcom *ac = &sc->arpcom; 867 ifp = &sc->arpcom.ac_if; 1117 ifp = &sc->arpcom.ac_if; 1151 if (!bcmp(eh->ether_shost, sc->arpcom.ac_enaddr, 1268 ifp = &sc->arpcom.ac_if; 1351 ifp = &sc->arpcom.ac_if; 1415 ifp = &sc->arpcom.ac_if; 1643 struct ifnet *ifp = &sc->arpcom.ac_if; 1648 ifp = &sc->arpcom.ac_if; 1681 tl_setfilt(sc, (caddr_t)&sc->arpcom.ac_enaddr, 0); [all …]
|
| D | if_bge.c | 938 struct arpcom *ac = &sc->arpcom; 986 sc->arpcom.ac_if.if_capabilities = 1319 sc->arpcom.ac_enaddr[0] + sc->arpcom.ac_enaddr[1] + 1320 sc->arpcom.ac_enaddr[2] + sc->arpcom.ac_enaddr[3] + 1321 sc->arpcom.ac_enaddr[4] + sc->arpcom.ac_enaddr[5] + 1628 sc->arpcom.ac_enaddr[0] = (u_char)(mac_addr >> 8); 1629 sc->arpcom.ac_enaddr[1] = (u_char)mac_addr; 1631 sc->arpcom.ac_enaddr[2] = (u_char)(mac_addr >> 24); 1632 sc->arpcom.ac_enaddr[3] = (u_char)(mac_addr >> 16); 1633 sc->arpcom.ac_enaddr[4] = (u_char)(mac_addr >> 8); [all …]
|
| D | if_vr.c | 501 struct arpcom *ac = &sc->arpcom; 507 ifp = &sc->arpcom.ac_if; 648 struct ifnet *ifp = &sc->arpcom.ac_if; 772 sc->arpcom.ac_enaddr[i] = CSR_READ_1(sc, VR_PAR0 + i); 777 printf(" address %s\n", ether_sprintf(sc->arpcom.ac_enaddr)); 810 ifp = &sc->arpcom.ac_if; 975 ifp = &sc->arpcom.ac_if; 1092 ifp = &sc->arpcom.ac_if; 1131 ifp = &sc->arpcom.ac_if; 1221 ifp = &sc->arpcom.ac_if; [all …]
|
| D | if_lge.c | 366 struct arpcom *ac = &sc->arpcom; 591 bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); 642 ifp = &sc->arpcom.ac_if; 963 ifp = &sc->arpcom.ac_if; 1066 ifp = &sc->arpcom.ac_if; 1084 ifp = &sc->arpcom.ac_if; 1124 struct ifnet *ifp = &sc->arpcom.ac_if; 1165 ifp = &sc->arpcom.ac_if; 1326 struct ifnet *ifp = &sc->arpcom.ac_if; 1341 CSR_WRITE_4(sc, LGE_PAR0, *(u_int32_t *)(&sc->arpcom.ac_enaddr[0])); [all …]
|
| D | if_wb.c | 564 struct arpcom *ac = &sc->arpcom; 570 ifp = &sc->arpcom.ac_if; 743 struct ifnet *ifp = &sc->arpcom.ac_if; 849 wb_read_eeprom(sc, (caddr_t)&sc->arpcom.ac_enaddr, 0, 3, 0); 850 printf(" address %s\n", ether_sprintf(sc->arpcom.ac_enaddr)); 1056 ifp = &sc->arpcom.ac_if; 1150 ifp = &sc->arpcom.ac_if; 1205 ifp = &sc->arpcom.ac_if; 1232 ifp = &sc->arpcom.ac_if; 1513 struct ifnet *ifp = &sc->arpcom.ac_if; [all …]
|
| D | if_txvar.h | 276 struct arpcom arpcom; member 339 #define sc_if arpcom.ac_if 340 #define sc_macaddr arpcom.ac_enaddr
|
| D | if_vge.c | 476 struct arpcom *ac = &sc->arpcom; in vge_setmulti() 772 bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); in vge_attach() 775 ether_sprintf(sc->arpcom.ac_enaddr)); in vge_attach() 782 ifp = &sc->arpcom.ac_if; in vge_attach() 970 ifp = &sc->arpcom.ac_if; in vge_rxeof() 1150 ifp = &sc->arpcom.ac_if; in vge_txeof() 1203 struct ifnet *ifp = &sc->arpcom.ac_if; in vge_tick() 1238 ifp = &sc->arpcom.ac_if; in vge_intr() 1403 mtag = VLAN_OUTPUT_TAG(&sc->arpcom.ac_if, m_head); in vge_encap() 1527 CSR_WRITE_1(sc, VGE_PAR0 + i, sc->arpcom.ac_enaddr[i]); in vge_init() [all …]
|
| D | if_sk.c | 591 struct ifnet *ifp= &sc_if->arpcom.ac_if; in sk_setmulti() 594 struct arpcom *ac = &sc_if->arpcom; in sk_setmulti() 785 "dropped!\n", sc_if->arpcom.ac_if.if_xname)); in sk_newbuf() 988 if ((error = ether_ioctl(ifp, &sc_if->arpcom, command, data)) > 0) { in sk_ioctl() 1000 arp_ifinit(&sc_if->arpcom, ifa); in sk_ioctl() 1061 ether_addmulti(ifr, &sc_if->arpcom) : in sk_ioctl() 1062 ether_delmulti(ifr, &sc_if->arpcom); in sk_ioctl() 1196 sc_if->arpcom.ac_enaddr[i] = in sk_attach() 1201 ether_sprintf(sc_if->arpcom.ac_enaddr)); in sk_attach() 1299 ifp = &sc_if->arpcom.ac_if; in sk_attach() [all …]
|
| D | if_nge.c | 640 struct arpcom *ac = &sc->arpcom; 888 bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); 939 ifp = &sc->arpcom.ac_if; 1304 ifp = &sc->arpcom.ac_if; 1424 ifp = &sc->arpcom.ac_if; 1480 struct ifnet *ifp = &sc->arpcom.ac_if; 1564 ifp = &sc->arpcom.ac_if; 1789 struct ifnet *ifp = &sc->arpcom.ac_if; 1809 ((u_int16_t *)sc->arpcom.ac_enaddr)[0]); 1812 ((u_int16_t *)sc->arpcom.ac_enaddr)[1]); [all …]
|
| /mirbsd/src/sys/netatalk/ |
| D | aarp.c | 85 static void aarpwhohas(struct arpcom *, struct sockaddr_at *); 86 int aarpresolve(struct arpcom *, struct mbuf *, 88 void aarpinput(struct arpcom *, struct mbuf *); 89 static void at_aarpinput(struct arpcom *, struct mbuf *); 189 struct arpcom *ac; in aarpwhohas() 269 struct arpcom *ac; in aarpresolve() 326 struct arpcom *ac; in aarpinput() 364 struct arpcom *ac; in at_aarpinput() 605 struct arpcom *ac = (struct arpcom *) arg;
|
| D | at_extern.h | 90 int aarpresolve(struct arpcom *, struct mbuf *, 92 void aarpinput(struct arpcom *, struct mbuf *);
|
| /mirbsd/src/sys/dev/ic/ |
| D | am7990var.h | 56 struct arpcom sc_arpcom; /* Ethernet common part */ 121 void am7990_setladrf(struct arpcom *, u_int16_t *);
|
| D | dp8390var.h | 33 struct arpcom sc_arpcom; /* ethernet common */ 163 void dp8390_getmcaf(struct arpcom *, u_int8_t *);
|