/netbsd-6-1-5-RELEASE/sys/dev/scsipi/ |
H A D | if_se.c | 299 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 338 strlcpy(ifp->if_xname, device_xname(&sc->sc_dev), sizeof(ifp->if_xname)); 339 ifp->if_softc = sc; 340 ifp->if_start = se_ifstart; 341 ifp->if_ioctl = se_ioctl; 342 ifp->if_watchdog = sewatchdog; 343 ifp->if_flags = 345 IFQ_SET_READY(&ifp->if_snd); 348 if_attach(ifp); 372 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 382 struct ifnet *ifp = v; local 399 se_ifstart(struct ifnet *ifp) argument 475 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 558 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 614 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 675 sewatchdog(struct ifnet *ifp) argument 776 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 924 se_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/netinet6/ |
H A D | in6.c | 272 * XXX ifp-pointers bug. 352 in6_control1(struct socket *so, u_long cmd, void *data, struct ifnet *ifp, argument 378 if (ifp == NULL) 380 return ifaddrpref_ioctl(so, cmd, data, ifp, l); 383 if (ifp == NULL) 401 return nd6_ioctl(cmd, data, ifp); 423 return in6_lifaddr_ioctl(so, cmd, data, ifp, l); 478 error = in6_setscope(&sa6->sin6_addr, ifp, NULL); 481 ia = in6ifa_ifpwithaddr(ifp, &sa6->sin6_addr); 546 if ((ifp 784 in6_control(struct socket *so, u_long cmd, void *data, struct ifnet *ifp, struct lwp *l) argument 824 in6_update_ifa1(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags) argument 1348 in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags) argument 1362 struct ifnet *ifp = ifa->ifa_ifp; local 1403 in6_unlink_ifa(struct in6_ifaddr *ia, struct ifnet *ifp) argument 1471 in6_purgeif(struct ifnet *ifp) argument 1502 in6_lifaddr_ioctl(struct socket *so, u_long cmd, void *data, struct ifnet *ifp, struct lwp *l) argument 1737 in6_ifinit(struct ifnet *ifp, struct in6_ifaddr *ia, const struct sockaddr_in6 *sin6, int newhost) argument 1809 in6ifa_ifpforlinklocal(const struct ifnet *ifp, const int ignoreflags) argument 1833 in6ifa_ifpwithaddr(const struct ifnet *ifp, const struct in6_addr *addr) argument 1864 in6ifa_ifplocaladdr(const struct ifnet *ifp, const struct in6_addr *addr) argument 2060 in6_ifawithifp(struct ifnet *ifp, struct in6_addr *dst) argument 2146 in6_if_up(struct ifnet *ifp) argument 2175 in6if_do_dad(struct ifnet *ifp) argument 2215 struct ifnet *ifp; local 2238 in6_if2idlen(struct ifnet *ifp) argument 2272 in6_domifattach(struct ifnet *ifp) argument 2292 in6_domifdetach(struct ifnet *ifp, void *aux) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | dp83932.c | 91 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 196 strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ); 197 ifp->if_softc = sc; 198 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 199 ifp->if_ioctl = sonic_ioctl; 200 ifp->if_start = sonic_start; 201 ifp->if_watchdog = sonic_watchdog; 202 ifp->if_init = sonic_init; 203 ifp->if_stop = sonic_stop; 204 IFQ_SET_READY(&ifp 278 sonic_start(struct ifnet *ifp) argument 531 sonic_watchdog(struct ifnet *ifp) argument 547 sonic_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 577 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 629 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 698 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 884 sonic_init(struct ifnet *ifp) argument 1054 sonic_stop(struct ifnet *ifp, int disable) argument 1173 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local [all...] |
H A D | seeq8005.c | 167 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 255 strlcpy(ifp->if_xname, device_xname(&sc->sc_dev), IFNAMSIZ); 256 ifp->if_softc = sc; 257 ifp->if_start = ea_start; 258 ifp->if_ioctl = ea_ioctl; 259 ifp->if_init = ea_init; 260 ifp->if_stop = ea_stop; 261 ifp->if_watchdog = ea_watchdog; 262 ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_NOTRAILERS; 264 ifp 299 ea_mediachange(struct ifnet *ifp) argument 312 ea_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 466 ea_stop(struct ifnet *ifp, int disable) argument 735 ea_init(struct ifnet *ifp) argument 857 ea_start(struct ifnet *ifp) argument 896 struct ifnet *ifp; local 1039 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1125 struct ifnet *ifp; local 1235 struct ifnet *ifp; local 1260 ea_get(struct seeq8005_softc *sc, int addr, int totlen, struct ifnet *ifp) argument 1333 ea_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1379 struct ifnet *ifp = &ec->ec_if; local 1472 ea_watchdog(struct ifnet *ifp) argument [all...] |
H A D | dp8390.c | 90 struct ifnet *ifp = &sc->sc_ec.ec_if; local 130 strcpy(ifp->if_xname, device_xname(sc->sc_dev)); 131 ifp->if_softc = sc; 132 ifp->if_start = dp8390_start; 133 ifp->if_ioctl = dp8390_ioctl; 134 if (ifp->if_watchdog == NULL) 135 ifp->if_watchdog = dp8390_watchdog; 136 ifp->if_flags = 138 IFQ_SET_READY(&ifp->if_snd); 153 if_attach(ifp); 171 dp8390_mediachange(struct ifnet *ifp) argument 184 dp8390_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 246 dp8390_watchdog(struct ifnet *ifp) argument 264 struct ifnet *ifp = &sc->sc_ec.ec_if; local 399 struct ifnet *ifp = &sc->sc_ec.ec_if; local 450 dp8390_start(struct ifnet *ifp) argument 623 struct ifnet *ifp = &sc->sc_ec.ec_if; local 827 dp8390_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 932 struct ifnet *ifp = &sc->sc_ec.ec_if; local 965 struct ifnet *ifp = &ec->ec_if; local 1028 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1235 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1303 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1394 struct ifnet *ifp = &sc->sc_ec.ec_if; local [all...] |
H A D | smc91cxx.c | 243 struct ifnet *ifp = &sc->sc_ec.ec_if; local 308 strlcpy(ifp->if_xname, device_xname(&sc->sc_dev), IFNAMSIZ); 309 ifp->if_softc = sc; 310 ifp->if_start = smc91cxx_start; 311 ifp->if_ioctl = smc91cxx_ioctl; 312 ifp->if_watchdog = smc91cxx_watchdog; 313 ifp->if_flags = 315 IFQ_SET_READY(&ifp->if_snd); 318 if_attach(ifp); 319 ether_ifattach(ifp, mye 397 smc91cxx_mediachange(struct ifnet *ifp) argument 451 smc91cxx_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 486 struct ifnet *ifp = &sc->sc_ec.ec_if; local 627 smc91cxx_start(struct ifnet *ifp) argument 911 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1142 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1311 smc91cxx_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1423 smc91cxx_watchdog(struct ifnet *ifp) argument 1509 struct ifnet *ifp = &sc->sc_ec.ec_if; local [all...] |
H A D | elinkxl.c | 75 int ex_media_chg(struct ifnet *ifp); 76 void ex_media_stat(struct ifnet *ifp, struct ifmediareq *req); 171 struct ifnet *ifp; local 370 ifp = &sc->sc_ethercom.ec_if; 376 sc->ex_mii.mii_ifp = ifp; 402 strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ); 403 ifp->if_softc = sc; 404 ifp->if_start = ex_start; 405 ifp->if_ioctl = ex_ioctl; 406 ifp 614 ex_init(struct ifnet *ifp) argument 714 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 771 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 859 ex_media_chg(struct ifnet *ifp) argument 977 ex_media_stat(struct ifnet *ifp, struct ifmediareq *req) argument 1007 ex_start(struct ifnet *ifp) argument 1226 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1430 struct ifnet *ifp = &ec->ec_if; local 1442 ex_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1483 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1525 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1578 ex_watchdog(struct ifnet *ifp) argument 1590 ex_stop(struct ifnet *ifp, int disable) argument 1678 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local [all...] |
H A D | cs89x0.c | 333 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 396 strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ); 397 ifp->if_softc = sc; 398 ifp->if_start = cs_start_output; 399 ifp->if_init = cs_init; 400 ifp->if_ioctl = cs_ioctl; 401 ifp->if_stop = cs_stop; 402 ifp->if_watchdog = NULL; /* no watchdog at this stage */ 403 ifp->if_flags = IFF_SIMPLEX | IFF_NOTRAILERS | 405 IFQ_SET_READY(&ifp 514 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1159 cs_init(struct ifnet *ifp) argument 1208 struct ifnet *ifp = &ec->ec_if; local 1314 cs_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1352 cs_mediachange(struct ifnet *ifp) argument 1364 cs_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 1445 struct ifnet *ifp; local 1534 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1617 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1657 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1674 struct ifnet *ifp; local 1783 struct ifnet *ifp; local 1882 cs_start_output(struct ifnet *ifp) argument 2157 cs_stop(struct ifnet *ifp, int disable) argument [all...] |
H A D | mb86960.c | 182 struct ifnet *ifp = &sc->sc_ec.ec_if; local 189 strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ); 190 ifp->if_softc = sc; 191 ifp->if_start = mb86960_start; 192 ifp->if_ioctl = mb86960_ioctl; 193 ifp->if_watchdog = mb86960_watchdog; 194 ifp->if_flags = 196 IFQ_SET_READY(&ifp->if_snd); 249 if_attach(ifp); 250 ether_ifattach(ifp, s 327 mb86960_mediachange(struct ifnet *ifp) argument 340 mb86960_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 423 mb86960_watchdog(struct ifnet *ifp) argument 458 struct ifnet *ifp = &sc->sc_ec.ec_if; local 650 mb86960_start(struct ifnet *ifp) argument 799 struct ifnet *ifp = &sc->sc_ec.ec_if; local 938 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1082 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1165 mb86960_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1282 struct ifnet *ifp = &sc->sc_ec.ec_if; local 1550 struct ifnet *ifp = &ec->ec_if; local 1809 struct ifnet *ifp = &sc->sc_ec.ec_if; local [all...] |
H A D | smc83c170.c | 106 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 249 sc->sc_mii.mii_ifp = ifp; 275 strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ); 276 ifp->if_softc = sc; 277 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 278 ifp->if_ioctl = epic_ioctl; 279 ifp->if_start = epic_start; 280 ifp->if_watchdog = epic_watchdog; 281 ifp->if_init = epic_init; 282 ifp 355 epic_start(struct ifnet *ifp) argument 541 epic_watchdog(struct ifnet *ifp) argument 556 epic_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 588 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 896 epic_init(struct ifnet *ifp) argument 1077 epic_stop(struct ifnet *ifp, int disable) argument 1260 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1423 epic_mediachange(struct ifnet *ifp) argument [all...] |
H A D | pdq_ifsubr.c | 133 struct ifnet *ifp) 140 ifp->if_flags &= ~IFF_OACTIVE; 141 ifp->if_timer = 0; 144 IFQ_DEQUEUE(&ifp->if_snd, m); 147 PDQ_OS_DATABUF_FREE(PDQ_OS_IFP_TO_SOFTC(ifp)->sc_pdq, m); 153 struct ifnet *ifp) 155 pdq_softc_t * const sc = PDQ_OS_IFP_TO_SOFTC(ifp); 159 if ((ifp->if_flags & IFF_RUNNING) == 0) 171 IFQ_POLL(&ifp->if_snd, m); 205 IFQ_DEQUEUE(&ifp 131 pdq_ifwatchdog( struct ifnet *ifp) argument 151 pdq_ifstart( struct ifnet *ifp) argument 332 pdq_ifmedia_change( struct ifnet *ifp) argument 353 pdq_ifmedia_status( struct ifnet *ifp, struct ifmediareq *ifmr) argument 393 pdq_ifioctl( struct ifnet *ifp, ioctl_cmd_t cmd, void *data) argument 487 struct ifnet *ifp = &sc->sc_if; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/alchemy/dev/ |
H A D | if_aumac.c | 221 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 309 sc->sc_mii.mii_ifp = ifp; 326 strcpy(ifp->if_xname, device_xname(self)); 327 ifp->if_softc = sc; 328 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 329 ifp->if_ioctl = aumac_ioctl; 330 ifp->if_start = aumac_start; 331 ifp->if_watchdog = aumac_watchdog; 332 ifp->if_init = aumac_init; 333 ifp 387 aumac_start(struct ifnet *ifp) argument 465 aumac_watchdog(struct ifnet *ifp) argument 482 aumac_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 543 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 604 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 756 aumac_init(struct ifnet *ifp) argument 823 aumac_stop(struct ifnet *ifp, int disable) argument 887 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/ |
H A D | if_es.c | 154 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 178 memcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ); 179 ifp->if_softc = sc; 180 ifp->if_ioctl = esioctl; 181 ifp->if_start = esstart; 182 ifp->if_watchdog = eswatchdog; 183 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | 191 if_attach(ifp); 192 ether_ifattach(ifp, myaddr); 259 struct ifnet *ifp local 308 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 550 struct ifnet *ifp; local 744 esstart(struct ifnet *ifp) argument 949 esioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1073 eswatchdog(struct ifnet *ifp) argument 1084 esmediachange(struct ifnet *ifp) argument 1090 esmediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/usb/ |
H A D | if_cdce.c | 141 struct ifnet *ifp; local 279 ifp = GET_IFP(sc); 280 ifp->if_softc = sc; 281 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 282 ifp->if_ioctl = cdce_ioctl; 283 ifp->if_start = cdce_start; 284 ifp->if_watchdog = cdce_watchdog; 285 strncpy(ifp->if_xname, device_xname(sc->cdce_dev), IFNAMSIZ); 287 IFQ_SET_READY(&ifp->if_snd); 289 if_attach(ifp); 308 struct ifnet *ifp = GET_IFP(sc); local 335 cdce_start(struct ifnet *ifp) argument 399 struct ifnet *ifp = GET_IFP(sc); local 456 cdce_ioctl(struct ifnet *ifp, u_long command, void *data) argument 518 cdce_watchdog(struct ifnet *ifp) argument 533 struct ifnet *ifp = GET_IFP(sc); local 677 struct ifnet *ifp = GET_IFP(sc); local 746 struct ifnet *ifp = GET_IFP(sc); local [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/compress/ |
H A D | compress.c | 206 FILE *ifp, *ofp; local 218 ifp = ofp = NULL; 219 if ((ifp = fopen(in, "r")) == NULL) { 241 while ((nr = fread(buf, 1, sizeof(buf), ifp)) != 0) 247 if (ferror(ifp)) 249 if (fclose(ifp)) 255 ifp = NULL; 295 if (ifp) 296 (void)fclose(ifp); 304 FILE *ifp, *of local [all...] |
/netbsd-6-1-5-RELEASE/sys/netiso/ |
H A D | iso.c | 471 iso_control(struct socket *so, u_long cmd, void *data, struct ifnet *ifp, argument 482 if (ifp) 484 if (ia->ia_ifp == ifp) 493 if (ia->ia_ifp == ifp && 507 KAUTH_REQ_NETWORK_INTERFACE_SETPRIV, ifp, (void *)cmd, 511 if (ifp == 0) 520 ifa_insert(ifp, &ia->ia_ifa); 524 ia->ia_ifp = ifp; 525 if ((ifp->if_flags & IFF_LOOPBACK) == 0) 544 if ((ifp 598 struct ifnet *ifp = ifa->ifa_ifp; local 608 iso_purgeif(struct ifnet *ifp) argument 617 iso_ifscrub(struct ifnet *ifp, struct iso_ifaddr *ia) argument 639 iso_ifinit(struct ifnet *ifp, struct iso_ifaddr *ia, struct sockaddr_iso *siso, int scrub) argument 702 struct ifnet *ifp; local 827 struct ifnet *ifp; local [all...] |
H A D | if_eon.c | 135 struct ifnet *ifp = eonif; local 142 snprintf(ifp->if_xname, sizeof(ifp->if_xname), "eon%d", 0); 143 ifp->if_mtu = ETHERMTU; 144 ifp->if_softc = NULL; 147 ifp->if_ioctl = eonioctl; 148 ifp->if_output = eonoutput; 149 ifp->if_type = IFT_EON; 150 ifp->if_addrlen = 0; 151 ifp 179 eonioctl(struct ifnet *ifp, u_long cmd, void *data) argument 320 eonoutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sdst, struct rtentry *rt) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/ |
H A D | dhcpcd.c | 244 struct interface *ifp; local 246 for (ifp = ifaces; ifp; ifp = ifp->next) 247 if (strcmp(ifp->name, ifname) == 0) 248 return ifp; 255 struct interface *ifp, *ifl = NULL; local 260 for (ifp = ifaces; ifp; if 1292 struct interface *ifs, *ifp, *ifn, *ifl = NULL; local 1343 struct interface *ifp; local 1380 struct interface *ifp; local 1467 struct interface *ifl, *ifn, *ifp, *ifs, *ift; local 1504 struct interface *ifp; local 1584 struct interface *ifp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/qbus/ |
H A D | if_qt.c | 172 static void qtstart(struct ifnet *ifp); 173 static void qtstop(struct ifnet *ifp, int disable); 255 struct ifnet *ifp = &sc->is_if; local 283 strcpy(ifp->if_xname, device_xname(sc->sc_dev)); 284 ifp->if_softc = sc; 285 ifp->if_flags = IFF_BROADCAST|IFF_MULTICAST; 286 ifp->if_ioctl = qtioctl; 287 ifp->if_start = qtstart; 288 ifp->if_init = qtinit; 289 ifp 339 qtinit(struct ifnet *ifp) argument 445 qtstart(struct ifnet *ifp) argument 488 struct ifnet *ifp = &sc->is_if; local 554 struct ifnet *ifp = &sc->is_ec.ec_if; local 601 qtioctl(struct ifnet *ifp, u_long cmd, void *data) argument 631 qtstop(struct ifnet *ifp, int disable) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/sbus/ |
H A D | be.c | 221 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 340 mii->mii_ifp = ifp; 441 memcpy(ifp->if_xname, device_xname(self), IFNAMSIZ); 442 ifp->if_softc = sc; 443 ifp->if_start = bestart; 444 ifp->if_ioctl = beioctl; 445 ifp->if_watchdog = bewatchdog; 446 ifp->if_init = beinit; 447 ifp->if_stop = bestop; 448 ifp 497 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 548 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 591 bestart(struct ifnet *ifp) argument 641 bestop(struct ifnet *ifp, int disable) argument 684 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 695 bewatchdog(struct ifnet *ifp) argument 856 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 945 beioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1029 beinit(struct ifnet *ifp) argument 1139 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1416 be_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) argument 1431 be_ifmedia_upd(struct ifnet *ifp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/apbus/ |
H A D | if_sn.c | 67 static int snioctl(struct ifnet *ifp, u_long cmd, void *data); 68 static void snstart(struct ifnet *ifp); 109 struct ifnet *ifp = &sc->sc_if; local 211 strcpy(ifp->if_xname, device_xname(sc->sc_dev)); 212 ifp->if_softc = sc; 213 ifp->if_ioctl = snioctl; 214 ifp->if_start = snstart; 215 ifp->if_flags = 217 ifp->if_watchdog = snwatchdog; 218 if_attach(ifp); 225 snioctl(struct ifnet *ifp, u_long cmd, void *data) argument 306 snstart(struct ifnet *ifp) argument 481 snwatchdog(struct ifnet *ifp) argument 630 struct ifnet *ifp; local 876 struct ifnet *ifp = &sc->sc_if; local 1038 struct ifnet *ifp = &sc->sc_if; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | if_vge.c | 692 struct ifnet *ifp; local 699 ifp = &sc->sc_ethercom.ec_if; 705 ifp->if_flags &= ~IFF_ALLMULTI; 711 if (ifp->if_flags & IFF_PROMISC) { 715 ifp->if_flags |= IFF_ALLMULTI; 938 struct ifnet *ifp; local 1010 ifp = &sc->sc_ethercom.ec_if; 1011 ifp->if_softc = sc; 1012 strlcpy(ifp->if_xname, device_xname(self), IFNAMSIZ); 1013 ifp 1210 struct ifnet *ifp; local 1389 struct ifnet *ifp; local 1443 struct ifnet *ifp; local 1475 struct ifnet *ifp; local 1663 vge_start(struct ifnet *ifp) argument 1775 vge_init(struct ifnet *ifp) argument 2012 struct ifnet *ifp = &ec->ec_if; local 2030 vge_ioctl(struct ifnet *ifp, u_long command, void *data) argument 2061 vge_watchdog(struct ifnet *ifp) argument 2084 vge_stop(struct ifnet *ifp, int disable) argument 2174 struct ifnet *ifp; local [all...] |
H A D | if_vte.c | 169 struct ifnet * const ifp = &sc->vte_if; local 240 sc->vte_mii.mii_ifp = ifp; 260 strlcpy(ifp->if_xname, device_xname(self), IFNAMSIZ); 261 ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST; 262 ifp->if_ioctl = vte_ifioctl; 263 ifp->if_start = vte_ifstart; 264 ifp->if_watchdog = vte_ifwatchdog; 265 ifp->if_init = vte_init; 266 ifp->if_stop = vte_stop; 267 ifp 315 struct ifnet *ifp = &sc->vte_if; local 382 struct ifnet *ifp; local 661 struct ifnet *ifp = &sc->vte_if; local 673 struct ifnet *ifp; local 760 vte_ifstart(struct ifnet *ifp) argument 820 vte_ifwatchdog(struct ifnet *ifp) argument 835 vte_mediachange(struct ifnet *ifp) argument 851 vte_ifioctl(struct ifnet *ifp, u_long cmd, void *data) argument 912 struct ifnet *ifp = &sc->vte_if; local 954 struct ifnet *ifp = &sc->vte_if; local 996 struct ifnet *ifp; local 1091 struct ifnet *ifp; local 1223 vte_init(struct ifnet *ifp) argument 1363 vte_stop(struct ifnet *ifp, int disable) argument 1429 struct ifnet *ifp = &sc->vte_if; local 1563 struct ifnet *ifp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/hpc/ |
H A D | if_sq.c | 180 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 315 strcpy(ifp->if_xname, device_xname(self)); 316 ifp->if_softc = sc; 317 ifp->if_mtu = ETHERMTU; 318 ifp->if_init = sq_init; 319 ifp->if_stop = sq_stop; 320 ifp->if_start = sq_start; 321 ifp->if_ioctl = sq_ioctl; 322 ifp->if_watchdog = sq_watchdog; 323 ifp 368 sq_init(struct ifnet *ifp) argument 467 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 504 sq_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 529 sq_start(struct ifnet *ifp) argument 822 sq_stop(struct ifnet *ifp, int disable) argument 847 sq_watchdog(struct ifnet *ifp) argument 899 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 945 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1070 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1138 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local 1210 struct ifnet *ifp = &sc->sc_ethercom.ec_if; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/pci/cxgb/ |
H A D | cxgb_main.c | 693 struct ifnet *ifp; local 705 ifp = p->ifp = (void *)malloc(sizeof (struct ifnet), M_IFADDR, M_WAITOK); 706 if (ifp == NULL) { 710 memset(ifp, 0, sizeof(struct ifnet)); 716 strcpy(ifp->if_xname, buf); 717 ifp->if_init = cxgb_init; 718 ifp->if_softc = p; 719 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 720 ifp 967 struct ifnet *ifp; local 1183 cxgb_init(struct ifnet *ifp) argument 1197 struct ifnet *ifp; local 1246 struct ifnet *ifp; local 1272 struct ifnet *ifp = p->ifp; local 1294 cxgb_ioctl(struct ifnet *ifp, unsigned long command, void *data) argument 1369 cxgb_start_tx(struct ifnet *ifp, uint32_t txmax) argument 1455 struct ifnet *ifp = arg; local 1473 cxgb_start(struct ifnet *ifp) argument 1493 cxgb_stop(struct ifnet *ifp, int reason) argument 1502 cxgb_media_change(struct ifnet *ifp) argument 1509 cxgb_media_status(struct ifnet *ifp, struct ifmediareq *ifmr) argument 1597 struct ifnet *ifp = p->ifp; local [all...] |