/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/ |
H A D | glue.c | 24 void (*ng_ether_attach_p)(struct ifnet *ifp) = NULL; 25 void (*ng_ether_detach_p)(struct ifnet *ifp) = NULL;
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/ |
H A D | if_fxp.c | 226 static void fxp_rxcsum(struct fxp_softc *sc, if_t ifp, 228 static int fxp_intr_body(struct fxp_softc *sc, if_t ifp, 233 static void fxp_start(if_t ifp); 234 static void fxp_start_body(if_t ifp); 239 static int fxp_ioctl(if_t ifp, u_long command, 260 static int fxp_ifmedia_upd(if_t ifp); 261 static void fxp_ifmedia_sts(if_t ifp, 263 static int fxp_serial_ifmedia_upd(if_t ifp); 264 static void fxp_serial_ifmedia_sts(if_t ifp, 435 if_t ifp; local 1071 if_t ifp; local 1107 if_t ifp = sc->ifp; local 1333 fxp_start(if_t ifp) argument 1348 fxp_start_body(if_t ifp) argument 1411 if_t ifp; local 1681 fxp_poll(if_t ifp, enum poll_cmd cmd, int count) argument 1722 if_t ifp = sc->ifp; local 1771 if_t ifp; local 1800 fxp_rxcsum(struct fxp_softc *sc, if_t ifp, struct mbuf *m, uint16_t status, int pos) argument 1878 fxp_intr_body(struct fxp_softc *sc, if_t ifp, uint8_t statack, int count) argument 2046 if_t ifp = sc->ifp; local 2136 if_t ifp = sc->ifp; local 2201 if_t ifp = sc->ifp; local 2253 if_t ifp = sc->ifp; local 2289 if_t ifp = sc->ifp; local 2591 fxp_serial_ifmedia_upd(if_t ifp) argument 2598 fxp_serial_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 2608 fxp_ifmedia_upd(if_t ifp) argument 2627 fxp_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 2818 if_t ifp; local 2845 fxp_ioctl(if_t ifp, u_long command, caddr_t data) argument 2995 if_t ifp = sc->ifp; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/ |
H A D | if_an.c | 213 extern void (*ng_ether_attach_p)(struct ifnet *ifp); 214 extern void (*ng_ether_detach_p)(struct ifnet *ifp); 655 struct ifnet *ifp; local 660 ifp = sc->an_ifp = if_alloc(IFT_ETHER); 661 if (ifp == NULL) { 665 ifp->if_softc = sc; 666 if_initname(ifp, device_get_name(sc->an_dev), 741 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 742 ifp->if_ioctl = an_ioctl; 743 ifp 809 struct ifnet *ifp = sc->an_ifp; local 833 struct ifnet *ifp; local 1099 struct ifnet *ifp; local 1153 struct ifnet *ifp; local 1191 struct ifnet *ifp; local 1382 struct ifnet *ifp; local 1747 struct ifnet *ifp; local 1872 an_ioctl(struct ifnet *ifp, u_long command, caddr_t data) argument 2611 struct ifnet *ifp; local 2710 an_start(struct ifnet *ifp) argument 2721 an_start_locked(struct ifnet *ifp) argument 2909 struct ifnet *ifp; local 2939 struct ifnet *ifp; local 2975 struct ifnet *ifp; local 3216 an_media_change(struct ifnet *ifp) argument 3259 an_media_status(struct ifnet *ifp, struct ifmediareq *imr) argument 3297 readrids(struct ifnet *ifp, struct aironet_ioctl *l_ioctl) argument 3373 writerids(struct ifnet *ifp, struct aironet_ioctl *l_ioctl) argument 3484 unstickbusy(struct ifnet *ifp) argument 3502 WaitBusy(struct ifnet *ifp, int uSec) argument 3526 cmdreset(struct ifnet *ifp) argument 3560 setflashmode(struct ifnet *ifp) argument 3588 flashgchar(struct ifnet *ifp, int matchbyte, int dwelltime) argument 3624 flashpchar(struct ifnet *ifp, int byte, int dwelltime) argument 3680 flashputbuf(struct ifnet *ifp) argument 3714 flashrestart(struct ifnet *ifp) argument 3732 flashcard(struct ifnet *ifp, struct aironet_ioctl *l_ioctl) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/ |
H A D | if_nfe.c | 367 if_t ifp; local 573 ifp = sc->nfe_ifp = if_gethandle(IFT_ETHER); 574 if (ifp == NULL) { 593 if_setsoftc(ifp, sc); 594 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); 595 if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST); 596 if_setioctlfn(ifp, nfe_ioctl); 597 if_setstartfn(ifp, nfe_start); 598 if_sethwassist(ifp, 0); 599 if_setcapabilities(ifp, 693 if_t ifp; local 808 if_t ifp; local 895 if_t ifp; local 1637 nfe_poll(if_t ifp, enum poll_cmd cmd, int count) argument 1713 nfe_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 1886 if_t ifp = sc->nfe_ifp; local 2110 if_t ifp = sc->nfe_ifp; local 2225 if_t ifp = sc->nfe_ifp; local 2341 if_t ifp = sc->nfe_ifp; local 2561 if_t ifp = sc->nfe_ifp; local 2636 nfe_start(if_t ifp) argument 2646 nfe_start_locked(if_t ifp) argument 2691 nfe_watchdog(if_t ifp) argument 2742 if_t ifp = sc->nfe_ifp; local 2890 nfe_stop(if_t ifp) argument 2965 nfe_ifmedia_upd(if_t ifp) argument 2980 nfe_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 3002 if_t ifp; local 3381 if_t ifp; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/ |
H A D | if_dc.c | 847 struct ifnet *ifp; local 854 ifp = sc->dc_ifp; 855 if (mii == NULL || ifp == NULL || 856 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) 972 struct ifnet *ifp; local 975 ifp = sc->dc_ifp; 991 if (ifp->if_flags & IFF_PROMISC) 996 if (ifp->if_flags & IFF_ALLMULTI) 1001 if_maddr_rlock(ifp); 1002 TAILQ_FOREACH(ifma, &ifp 1043 struct ifnet *ifp; local 1104 struct ifnet *ifp; local 1174 struct ifnet *ifp; local 1265 struct ifnet *ifp; local 2023 struct ifnet *ifp; local 2528 struct ifnet *ifp; local 2861 struct ifnet *ifp; local 2983 struct ifnet *ifp; local 3093 struct ifnet *ifp; local 3228 dc_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) argument 3290 struct ifnet *ifp; local 3509 dc_start(struct ifnet *ifp) argument 3527 dc_start_locked(struct ifnet *ifp) argument 3596 struct ifnet *ifp = sc->dc_ifp; local 3790 dc_ifmedia_upd(struct ifnet *ifp) argument 3830 dc_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) argument 3855 dc_ioctl(struct ifnet *ifp, u_long command, caddr_t data) argument 3933 struct ifnet *ifp; local 3960 struct ifnet *ifp; local 4060 struct ifnet *ifp; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/ |
H A D | if_ale.c | 261 struct ifnet *ifp; local 266 ifp = sc->ale_ifp; 267 if (mii == NULL || ifp == NULL || 268 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) 302 ale_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 307 sc = ifp->if_softc; 309 if ((ifp->if_flags & IFF_UP) == 0) { 322 ale_mediachange(struct ifnet *ifp) argument 329 sc = ifp->if_softc; 458 struct ifnet *ifp; local 711 struct ifnet *ifp; local 1498 struct ifnet *ifp; local 1577 struct ifnet *ifp; local 1882 ale_start(struct ifnet *ifp) argument 1893 ale_start_locked(struct ifnet *ifp) argument 1948 struct ifnet *ifp; local 1972 ale_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument 2135 struct ifnet *ifp; local 2250 struct ifnet *ifp; local 2313 struct ifnet *ifp; local 2420 struct ifnet *ifp; local 2468 struct ifnet *ifp; local 2637 struct ifnet *ifp; local 2868 struct ifnet *ifp; local 2998 struct ifnet *ifp; local 3014 struct ifnet *ifp; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/ |
H A D | if_age.c | 283 age_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 288 sc = ifp->if_softc; 302 age_mediachange(struct ifnet *ifp) argument 309 sc = ifp->if_softc; 468 struct ifnet *ifp; local 600 ifp = sc->age_ifp = if_alloc(IFT_ETHER); 601 if (ifp == NULL) { 607 ifp->if_softc = sc; 608 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); 609 ifp 687 struct ifnet *ifp; local 1327 struct ifnet *ifp; local 1475 struct ifnet *ifp; local 1727 age_start(struct ifnet *ifp) argument 1738 age_start_locked(struct ifnet *ifp) argument 1788 struct ifnet *ifp; local 1819 age_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument 1974 struct ifnet *ifp; local 2024 struct ifnet *ifp; local 2140 struct ifnet *ifp; local 2211 struct ifnet *ifp; local 2270 age_fixup_rx(struct ifnet *ifp, struct mbuf *m) argument 2311 struct ifnet *ifp; local 2570 struct ifnet *ifp; local 2852 struct ifnet *ifp; local 3130 struct ifnet *ifp; local 3146 struct ifnet *ifp; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/ |
H A D | if_jme.c | 291 jme_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 296 sc = ifp->if_softc; 298 if ((ifp->if_flags & IFF_UP) == 0) { 314 jme_mediachange(struct ifnet *ifp) argument 321 sc = ifp->if_softc; 628 struct ifnet *ifp; local 811 ifp = sc->jme_ifp = if_alloc(IFT_ETHER); 812 if (ifp == NULL) { 818 ifp->if_softc = sc; 819 if_initname(ifp, device_get_nam 923 struct ifnet *ifp; local 1585 struct ifnet *ifp; local 1657 struct ifnet *ifp; local 1871 jme_start(struct ifnet *ifp) argument 1882 jme_start_locked(struct ifnet *ifp) argument 1941 struct ifnet *ifp; local 1974 jme_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument 2203 struct ifnet *ifp; local 2364 struct ifnet *ifp; local 2425 struct ifnet *ifp; local 2512 struct ifnet *ifp; local 2766 struct ifnet *ifp; local 3006 struct ifnet *ifp; local 3226 struct ifnet *ifp; local 3242 struct ifnet *ifp; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/syskonnect/dev/sk/ |
H A D | if_sk.c | 742 struct ifnet *ifp = sc_if->sk_ifp; local 759 if (ifp->if_flags & IFF_ALLMULTI || ifp->if_flags & IFF_PROMISC) { 760 if (ifp->if_flags & IFF_ALLMULTI) 762 if (ifp->if_flags & IFF_PROMISC) 768 if_maddr_rlock(ifp); 769 TAILQ_FOREACH_REVERSE(ifma, &ifp->if_multiaddrs, ifmultihead, 792 if_maddr_runlock(ifp); 804 struct ifnet *ifp; local 810 ifp 1327 struct ifnet *ifp; local 1837 struct ifnet *ifp; local 2557 struct ifnet *ifp; local 2759 struct ifnet *ifp; local 2826 struct ifnet *ifp; local 2894 struct ifnet *ifp; local 2944 struct ifnet *ifp; local 3002 struct ifnet *ifp; local 3219 struct ifnet *ifp; local 3383 struct ifnet *ifp; local 3528 struct ifnet *ifp; local 3732 struct ifnet *ifp; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/ |
H A D | if_alc.c | 413 struct ifnet *ifp; local 419 ifp = sc->alc_ifp; 420 if (mii == NULL || ifp == NULL || 421 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) 608 alc_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 613 sc = ifp->if_softc; 615 if ((ifp->if_flags & IFF_UP) == 0) { 628 alc_mediachange(struct ifnet *ifp) argument 633 sc = ifp->if_softc; 1378 struct ifnet *ifp; local 1677 struct ifnet *ifp; local 2531 struct ifnet *ifp; local 2594 struct ifnet *ifp; local 2676 struct ifnet *ifp; local 2937 alc_start(struct ifnet *ifp) argument 2948 alc_start_locked(struct ifnet *ifp) argument 3018 struct ifnet *ifp; local 3042 alc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument 3228 struct ifnet *ifp; local 3366 struct ifnet *ifp; local 3440 struct ifnet *ifp; local 3544 struct ifnet *ifp; local 3615 alc_fixup_rx(struct ifnet *ifp, struct mbuf *m) argument 3656 struct ifnet *ifp; local 3935 struct ifnet *ifp; local 4328 struct ifnet *ifp; local 4583 struct ifnet *ifp; local 4612 struct ifnet *ifp; local 4678 alc_debugnet_init(struct ifnet *ifp, int *nrxr, int *ncl, int *clsize) argument 4696 alc_debugnet_transmit(struct ifnet *ifp, struct mbuf *m) argument 4713 alc_debugnet_poll(struct ifnet *ifp, int count) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/ |
H A D | if_msk.c | 478 struct ifnet *ifp; local 487 ifp = sc_if->msk_ifp; 488 if (mii == NULL || ifp == NULL || 489 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) 580 struct ifnet *ifp; local 590 ifp = sc_if->msk_ifp; 594 if ((ifp->if_flags & IFF_PROMISC) != 0) 596 else if ((ifp->if_flags & IFF_ALLMULTI) != 0) { 602 if_maddr_rlock(ifp); 603 TAILQ_FOREACH(ifma, &ifp 630 msk_setvlan(struct msk_if_softc *sc_if, struct ifnet *ifp) argument 1016 msk_mediachange(struct ifnet *ifp) argument 1036 msk_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument 1056 msk_ioctl(struct ifnet *ifp, u_long command, caddr_t data) argument 1595 struct ifnet *ifp; local 2029 struct ifnet *ifp; local 2912 msk_start(struct ifnet *ifp) argument 2923 msk_start_locked(struct ifnet *ifp) argument 2977 struct ifnet *ifp; local 3196 struct ifnet *ifp; local 3272 struct ifnet *ifp; local 3337 struct ifnet *ifp; local 3771 struct ifnet *ifp; local 3810 struct ifnet *ifp; local 4163 struct ifnet *ifp; local 4348 struct ifnet *ifp; local [all...] |
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_proto.c | 88 ieee80211_proto_attach(struct ifnet *ifp) argument 90 struct ieee80211com *ic = (void *)ifp; 95 ifp->if_hdrlen = sizeof(struct ieee80211_frame); 112 ieee80211_proto_detach(struct ifnet *ifp) argument 114 struct ieee80211com *ic = (void *)ifp; 825 struct ifnet *ifp = &ic->ic_if; local 828 if (ifp->if_flags & IFF_DEBUG) 830 ifp->if_xname, 842 struct ifnet *ifp = &ic->ic_if; local 870 if (ifp 884 struct ifnet *ifp = &ic->ic_if; local 983 struct ifnet *ifp = &ic->ic_if; local 1056 struct ifnet *ifp = &ic->ic_if; local 1357 struct ifnet *ifp = &ic->ic_if; local 1382 struct ifnet *ifp = &ic->ic_if; local [all...] |
H A D | ieee80211_output.c | 112 ieee80211_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, argument 120 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) != 129 struct ieee80211com *ic = (void *)ifp; 147 return (if_enqueue(ifp, m)); 152 return (ether_output(ifp, m, dst, rt)); 179 ieee80211_mgmt_output(struct ifnet *ifp, struct ieee80211_node *ni, argument 182 struct ieee80211com *ic = (void *)ifp; 230 if (ifp->if_flags & IFF_DEBUG) { 250 ifp->if_xname, subtype_name, 263 ifp 502 struct ifnet *ifp = &ic->ic_if; local 526 ieee80211_encap(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node **pni) argument 1828 struct ifnet *ifp = &ic->ic_if; local [all...] |
H A D | ieee80211_node.c | 179 struct ifnet *ifp = &ic->ic_if; local 182 printf("%s: known networks\n", ifp->if_xname); 512 struct ifnet *ifp = &ic->ic_if; local 525 if ((ifp->if_flags & IFF_DEBUG) && (score_can <= score_cur)) { 526 printf("%s: AP %s ", ifp->if_xname, 582 struct ifnet *ifp = &ic->ic_if; local 586 if (!ISSET(ifp->if_flags, IFF_RUNNING)) 631 if (ifp->if_flags & IFF_DEBUG) { 632 printf("%s: best AP %s ", ifp->if_xname, 638 printf("%s: switching to network ", ifp 700 ieee80211_node_attach(struct ifnet *ifp) argument 761 ieee80211_node_lateattach(struct ifnet *ifp) argument 778 ieee80211_node_detach(struct ifnet *ifp) argument 808 ieee80211_reset_scan(struct ifnet *ifp) argument 836 ieee80211_begin_scan(struct ifnet *ifp) argument 884 ieee80211_next_scan(struct ifnet *ifp) argument 921 struct ifnet *ifp = &ic->ic_if; local 1254 struct ifnet *ifp = &ic->ic_if; local 1440 ieee80211_end_scan(struct ifnet *ifp) argument 2176 struct ifnet *ifp = &ic->ic_if; local 3255 struct ifnet *ifp = &ic->ic_if; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/ |
H A D | if_bge.c | 474 static int bge_poll(if_t ifp, enum poll_cmd cmd, int count); 1568 if_t ifp; local 1572 ifp = sc->bge_ifp; 1575 if (if_getflags(ifp) & IFF_PROMISC) 1596 if_t ifp; local 1602 ifp = sc->bge_ifp; 1604 if (if_getflags(ifp) & IFF_ALLMULTI || if_getflags(ifp) & IFF_PROMISC) { 1614 if_foreach_llmaddr(ifp, bge_hash_maddr, hashes); 1623 if_t ifp; local 3309 if_t ifp; local 3956 if_t ifp; local 4318 if_t ifp; local 4501 if_t ifp; local 4544 bge_poll(if_t ifp, enum poll_cmd cmd, int count) argument 4615 if_t ifp; local 4672 if_t ifp; local 4828 if_t ifp; local 4992 if_t ifp; local 5345 bge_start_locked(if_t ifp) argument 5419 bge_start(if_t ifp) argument 5432 if_t ifp; local 5620 bge_ifmedia_upd(if_t ifp) argument 5633 bge_ifmedia_upd_locked(if_t ifp) argument 5718 bge_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 5758 bge_ioctl(if_t ifp, u_long command, caddr_t data) argument 5919 if_t ifp; local 5985 if_t ifp; local 6112 if_t ifp; local 6775 bge_get_counter(if_t ifp, ift_counter cnt) argument 6798 bge_debugnet_init(if_t ifp, int *nrxr, int *ncl, int *clsize) argument 6821 bge_debugnet_transmit(if_t ifp, struct mbuf *m) argument 6840 bge_debugnet_poll(if_t ifp, int count) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/ |
H A D | r12a_caps.c | 104 struct ifnet *ifp = vap->iv_ifp; local 106 ifp->if_capenable &= 108 ifp->if_capenable |= rxmask;
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 737 static void iflib_altq_if_start(if_t ifp); 738 static int iflib_altq_if_transmit(if_t ifp, struct mbuf *m); 834 if_t ifp = na->ifp; local 835 if_ctx_t ctx = ifp->if_softc; 846 * ifp->if_transmit. This is done once the device has been stopped 860 status = ifp->if_drv_flags & IFF_DRV_RUNNING ? 0 : 1; 870 if_t ifp = na->ifp; local 871 if_ctx_t ctx = ifp 1018 if_t ifp = na->ifp; local 1197 if_t ifp = na->ifp; local 2514 if_t ifp = ctx->ifc_ifp; local 2591 iflib_media_change(if_t ifp) argument 2604 iflib_media_status(if_t ifp, struct ifmediareq *ifmr) argument 2980 if_t ifp; local 3849 if_t ifp = ctx->ifc_ifp; local 4004 if_t ifp = ctx->ifc_ifp; local 4195 iflib_if_transmit(if_t ifp, struct mbuf *m) argument 4297 iflib_altq_if_start(if_t ifp) argument 4312 iflib_altq_if_transmit(if_t ifp, struct mbuf *m) argument 4328 iflib_if_qflush(if_t ifp) argument 4357 iflib_if_ioctl(if_t ifp, u_long command, caddr_t data) argument 4540 iflib_if_get_counter(if_t ifp, ift_counter cnt) argument 4554 iflib_vlan_register(void *arg, if_t ifp, uint16_t vtag) argument 4579 iflib_vlan_unregister(void *arg, if_t ifp, uint16_t vtag) argument 5108 if_t ifp; local 5371 if_t ifp; local 5571 if_t ifp = ctx->ifc_ifp; local 5616 if_t ifp = ctx->ifc_ifp; local 5897 if_t ifp; local 5983 if_t ifp = ctx->ifc_ifp; local 6637 if_t ifp = ctx->ifc_ifp; local 7216 iflib_debugnet_init(if_t ifp, int *nrxr, int *ncl, int *clsize) argument 7229 iflib_debugnet_event(if_t ifp, enum debugnet_ev event) argument 7259 iflib_debugnet_transmit(if_t ifp, struct mbuf *m) argument 7278 iflib_debugnet_poll(if_t ifp, int count) argument [all...] |
H A D | ifdi_if.c | 173 struct ifnet *ifp = iflib_get_ifp(ctx); local 176 if (ifp && ifp->if_addr) { 177 sdl = (struct sockaddr_dl *)ifp->if_addr->ifa_addr;
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_monitor.c | 134 struct ifnet *ifp = vap->iv_ifp; local 136 if_inc_counter(ifp, IFCOUNTER_IPACKETS, 1);
|
H A D | ieee80211_wds.c | 242 struct ifnet *ifp; local 256 ifp = vap->iv_ifp; 257 if (ifp == m->m_pkthdr.rcvif) 264 if_inc_counter(ifp, IFCOUNTER_OERRORS, 1); 271 if_inc_counter(ifp, IFCOUNTER_OERRORS, 1); 282 if_inc_counter(ifp, IFCOUNTER_OERRORS, 1); 288 BPF_MTAP(ifp, m); /* 802.3 tx */ 307 if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1); 308 if_inc_counter(ifp, IFCOUNTER_OMCASTS, 1); 309 if_inc_counter(ifp, IFCOUNTER_OBYTE 416 struct ifnet *ifp = vap->iv_ifp; local [all...] |
H A D | ieee80211.c | 501 ieee80211_get_counter(struct ifnet *ifp, ift_counter cnt) argument 503 struct ieee80211vap *vap = ifp->if_softc; 507 rv = if_get_counter_default(ifp, cnt); 532 struct ifnet *ifp; local 534 ifp = if_alloc(IFT_ETHER); 535 if (ifp == NULL) { 539 if_initname(ifp, name, unit); 540 ifp->if_softc = vap; /* back pointer */ 541 ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST; 542 ifp 672 struct ifnet *ifp = vap->iv_ifp; local 736 struct ifnet *ifp = vap->iv_ifp; local 2153 ieee80211_media_change(struct ifnet *ifp) argument 2227 ieee80211_media_status(struct ifnet *ifp, struct ifmediareq *imr) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_ioctl.c | 245 struct ifnet *ifp; local 252 ifp = vap->iv_ifp; 253 sc->sc_stats.ast_tx_packets += ifp->if_get_counter(ifp, 255 sc->sc_stats.ast_rx_packets += ifp->if_get_counter(ifp,
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/ |
H A D | if_rge.c | 216 struct ifnet *ifp = &sc->sc_arpcom.ac_if; local 232 if_alloc_inplace(ifp, IFT_ETHER); 349 ifp->if_softc = sc; 350 strlcpy(ifp->if_xname, DEVNAME(sc), IFNAMSIZ); 351 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; 353 ifp->if_flags |= IFF_NEEDSGIANT; 355 ifp->if_xflags = IFXF_MPSAFE; 357 ifp->if_ioctl = rge_ioctl; 358 ifp->if_start = rge_start; 359 ifp 457 struct ifnet *ifp = &sc->sc_arpcom.ac_if; local 620 rge_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument 671 rge_start(struct ifnet *ifp) argument 678 struct ifnet *ifp = ifq->ifq_if; local 740 rge_watchdog(struct ifnet *ifp) argument 751 rge_init(struct ifnet *ifp) argument 922 rge_stop(struct ifnet *ifp) argument 986 rge_ifmedia_upd(struct ifnet *ifp) argument 1053 rge_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) argument 1314 struct ifnet *ifp = &sc->sc_arpcom.ac_if; local 1437 struct ifnet *ifp = &sc->sc_arpcom.ac_if; local 1542 struct ifnet *ifp = &sc->sc_arpcom.ac_if; local 2547 struct ifnet *ifp = &sc->sc_arpcom.ac_if; local 2565 rge_wol(struct ifnet *ifp, int enable) argument [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_if_media.c | 197 ifmedia_ioctl(ifp, ifr, ifm, cmd) 198 struct ifnet *ifp; 207 if (ifp == NULL || ifr == NULL || ifm == NULL) 246 ifp->if_xname); 253 error = (*ifm->ifm_change)(ifp); 276 (*ifm->ifm_status)(ifp, ifmr);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/ |
H A D | r12au_attach.c | 114 struct ifnet *ifp = vap->iv_ifp; local 116 ifp->if_capabilities = IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6; 119 ifp->if_capenable |= IFCAP_RXCSUM; 121 ifp->if_capenable |= IFCAP_RXCSUM_IPV6;
|