/freebsd-current/sys/dev/usb/ |
H A D | usb_pf.c | 119 if (ubus != NULL && ubus->ifp != NULL) 120 usbpf_clone_destroy(usbpf_cloner, ubus->ifp, 0); 126 usbpf_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 164 if (ubus->ifp != NULL) 176 if_t ifp; local 188 if (ubus->ifp != NULL) 197 ifp = ubus->ifp = if_alloc(IFT_USB); 198 if (ifp == NULL) { 204 if_setsoftc(ifp, ubu 223 usbpf_clone_destroy(struct if_clone *ifc, if_t ifp, uint32_t flags) argument [all...] |
/freebsd-current/sys/dev/iicbus/ |
H A D | if_ic.c | 162 if_t ifp; local 164 ifp = sc->ic_ifp = if_alloc(IFT_PARA); 165 if (ifp == NULL) 173 if_setsoftc(ifp, sc); 174 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); 175 if_setflags(ifp, IFF_SIMPLEX | IFF_POINTOPOINT | IFF_MULTICAST); 176 if_setioctlfn(ifp, icioctl); 177 if_setoutputfn(ifp, icoutput); 178 if_setifheaderlen(ifp, 0); 179 if_setsendqlen(ifp, ifqmaxle 194 icioctl(if_t ifp, u_long cmd, caddr_t data) argument 355 icoutput(if_t ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument [all...] |
/freebsd-current/sys/dev/qlxgb/ |
H A D | qla_os.c | 87 static int qla_ioctl(if_t ifp, u_long cmd, caddr_t data); 88 static int qla_media_change(if_t ifp); 89 static void qla_media_status(if_t ifp, struct ifmediareq *ifmr); 209 if_t ifp; local 212 ifp = ha->ifp; 220 } else if (!if_sendq_empty(ifp) && QL_RUNNING(ifp)) { 479 if (ha->ifp != NULL) 480 ether_ifdetach(ha->ifp); 655 if_t ifp; local 708 if_t ifp = ha->ifp; local 768 if_t ifp = ha->ifp; local 778 qla_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 931 qla_media_change(if_t ifp) argument 952 qla_media_status(if_t ifp, struct ifmediareq *ifmr) argument 976 qla_start(if_t ifp) argument 1123 if_t ifp = ha->ifp; local [all...] |
/freebsd-current/sys/netinet/ |
H A D | in.c | 191 in_ifhasaddr(struct ifnet *ifp, struct in_addr in) argument 198 CK_STAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) { 330 in_control_ioctl(u_long cmd, void *data, struct ifnet *ifp, argument 340 if (ifp == NULL) 345 * to specific functions and ifp->if_ioctl(). 355 error = in_gifaddr_ioctl(cmd, data, ifp, cred); 360 error = in_difaddr_ioctl(cmd, data, ifp, cred); 366 error = in_aifaddr_ioctl(cmd, data, ifp, cred); 376 if (ifp->if_ioctl == NULL) 378 return ((*ifp 445 in_control(struct socket *so, u_long cmd, void *data, struct ifnet *ifp, struct thread *td) argument 452 in_aifaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, struct ucred *cred) argument 674 in_difaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, struct ucred *cred) argument 777 in_gifaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, struct ucred *cred) argument 841 in_handle_prefix_route(uint32_t fibnum, int cmd, struct sockaddr_in *dst, struct sockaddr_in *netmask, struct ifaddr *ifa, struct ifnet *ifp) argument 927 struct ifnet *ifp = ia->ia_ifp; local 999 struct ifnet *ifp = ia->ia_ifp; local 1088 struct ifnet *ifp; local 1223 struct ifnet *ifp; local 1276 in_broadcast(struct in_addr in, struct ifnet *ifp) argument 1306 in_ifdetach(struct ifnet *ifp) argument 1324 in_ifnet_event(void *arg __unused, struct ifnet *ifp, int event) argument 1386 in_purgemaddrs(struct ifnet *ifp) argument 1529 in_lltable_rtcheck(struct ifnet *ifp, u_int flags, const struct sockaddr *l3addr) argument 1648 struct ifnet *ifp = llt->llt_ifp; local 1737 struct ifnet *ifp = llt->llt_ifp; local 1800 struct ifnet *ifp = llt->llt_ifp; local 1809 in_lltattach(struct ifnet *ifp) argument 1833 in_lltable_get(struct ifnet *ifp) argument 1844 in_domifattach(struct ifnet *ifp) argument 1857 in_domifdetach(struct ifnet *ifp, void *aux) argument [all...] |
/freebsd-current/sys/dev/nge/ |
H A D | if_nge.c | 513 if_t ifp; local 522 ifp = sc->nge_ifp; 523 if (mii == NULL || ifp == NULL || 524 (if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) 685 if_t ifp; local 689 ifp = sc->nge_ifp; 716 if ((if_getflags(ifp) & IFF_BROADCAST) != 0) 719 if ((if_getflags(ifp) & IFF_PROMISC) != 0 || 720 (if_getflags(ifp) & IFF_ALLMULTI) != 0) { 722 if ((if_getflags(ifp) 821 if_t ifp; local 987 if_t ifp; local 1439 if_t ifp; local 1616 if_t ifp; local 1698 if_t ifp; local 1753 nge_poll(if_t ifp, enum poll_cmd cmd, int count) argument 1805 if_t ifp; local 1981 nge_start(if_t ifp) argument 1992 nge_start_locked(if_t ifp) argument 2057 if_t ifp = sc->nge_ifp; local 2226 nge_mediachange(if_t ifp) argument 2248 nge_mediastatus(if_t ifp, struct ifmediareq *ifmr) argument 2263 nge_ioctl(if_t ifp, u_long command, caddr_t data) argument 2408 if_t ifp; local 2462 if_t ifp; local 2520 if_t ifp; local 2606 if_t ifp; local [all...] |
/freebsd-current/sys/dev/ffec/ |
H A D | if_ffec.c | 153 if_t ifp; member in struct:ffec_softc 442 ffec_media_status(if_t ifp, struct ifmediareq *ifmr) argument 448 sc = if_getsoftc(ifp); 465 ffec_media_change(if_t ifp) argument 470 sc = if_getsoftc(ifp); 520 if_t ifp; local 522 ifp = sc->ifp; 529 if_inc_counter(ifp, IFCOUNTER_IPACKETS, RD4(sc, FEC_RMON_R_PACKETS)); 530 if_inc_counter(ifp, IFCOUNTER_IMCAST 554 if_t ifp; local 650 if_t ifp; local 692 ffec_txstart(if_t ifp) argument 704 if_t ifp; local 992 if_t ifp; local 1039 if_t ifp; local 1102 if_t ifp = sc->ifp; local 1327 ffec_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 1469 if_t ifp = NULL; local [all...] |
/freebsd-current/usr.bin/compress/ |
H A D | compress.c | 187 FILE *ifp, *ofp; local 196 ifp = ofp = NULL; 197 if ((ifp = fopen(in, "r")) == NULL) { 212 while ((nr = fread(buf, 1, sizeof(buf), ifp)) != 0) 218 if (ferror(ifp) || fclose(ifp)) { 222 ifp = NULL; 268 if (ifp) 269 (void)fclose(ifp); 277 FILE *ifp, *of local [all...] |
/freebsd-current/sys/dev/tsec/ |
H A D | if_tsec.c | 74 static void tsec_encap(if_t ifp, struct tsec_softc *sc, 78 static int tsec_ifmedia_upd(if_t ifp); 79 static void tsec_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr); 87 static int tsec_ioctl(if_t ifp, u_long command, caddr_t data); 91 static void tsec_start(if_t ifp); 92 static void tsec_start_locked(if_t ifp); 120 if_t ifp; local 241 ifp = sc->tsec_ifp = if_alloc(IFT_ETHER); 242 if (ifp == NULL) { 248 if_setsoftc(ifp, s 377 if_t ifp = sc->tsec_ifp; local 693 if_t ifp; local 709 tsec_start(if_t ifp) argument 719 tsec_start_locked(if_t ifp) argument 790 tsec_encap(if_t ifp, struct tsec_softc *sc, struct mbuf *m0, uint16_t fcb_flags, int *start_tx) argument 872 if_t ifp; local 891 tsec_poll(if_t ifp, enum poll_cmd cmd, int count) argument 926 tsec_ioctl(if_t ifp, u_long command, caddr_t data) argument 1016 tsec_ifmedia_upd(if_t ifp) argument 1031 tsec_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 1213 if_t ifp; local 1252 if_t ifp; local 1284 if_t ifp; local 1431 if_t ifp; local 1511 if_t ifp; local 1817 if_t ifp = sc->tsec_ifp; local 1895 if_t ifp = sc->tsec_ifp; local [all...] |
/freebsd-current/sys/dev/firewire/ |
H A D | if_fwevar.h | 49 if_t ifp; member in struct:fwe_softc::fwe_eth_softc
|
/freebsd-current/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_phy.c | 158 return (sc->sc_phys.ifp[phy]); 162 ar40xx_ifmedia_upd(if_t ifp) argument 164 struct ar40xx_softc *sc = if_getsoftc(ifp); 165 struct mii_data *mii = ar40xx_phy_miiforport(sc, if_getdunit(ifp)); 168 __func__, if_getdunit(ifp)); 177 ar40xx_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 179 struct ar40xx_softc *sc = if_getsoftc(ifp); 180 struct mii_data *mii = ar40xx_phy_miiforport(sc, if_getdunit(ifp)); 183 __func__, if_getdunit(ifp)); 202 sc->sc_phys.ifp[ph [all...] |
/freebsd-current/sys/dev/xl/ |
H A D | if_xl.c | 255 static int xl_poll(if_t ifp, enum poll_cmd cmd, int count); 256 static int xl_poll_locked(if_t ifp, enum poll_cmd cmd, int count); 617 if_t ifp; local 622 ifp = sc->xl_ifp; 632 if (if_getflags(ifp) & IFF_BROADCAST) 636 if (if_getflags(ifp) & (IFF_PROMISC | IFF_ALLMULTI)) { 637 if (if_getflags(ifp) & IFF_PROMISC) 639 if (if_getflags(ifp) & IFF_ALLMULTI) 676 if_t ifp; local 682 ifp 1065 if_t ifp; local 1550 if_t ifp; local 1824 if_t ifp = sc->xl_ifp; local 1986 if_t ifp = sc->xl_ifp; local 2035 if_t ifp = sc->xl_ifp; local 2146 if_t ifp = sc->xl_ifp; local 2209 xl_poll(if_t ifp, enum poll_cmd cmd, int count) argument 2222 xl_poll_locked(if_t ifp, enum poll_cmd cmd, int count) argument 2292 if_t ifp = sc->xl_ifp; local 2335 if_t ifp = sc->xl_ifp; local 2427 xl_start(if_t ifp) argument 2442 xl_start_locked(if_t ifp) argument 2574 xl_start_90xB_locked(if_t ifp) argument 2671 if_t ifp = sc->xl_ifp; local 2877 xl_ifmedia_upd(if_t ifp) argument 2920 xl_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 2992 xl_ioctl(if_t ifp, u_long command, caddr_t data) argument 3093 if_t ifp = sc->xl_ifp; local 3150 if_t ifp = sc->xl_ifp; local 3245 if_t ifp; local 3265 if_t ifp; local [all...] |
/freebsd-current/sys/netinet6/ |
H A D | in6.c | 265 struct ifnet *ifp, struct ucred *cred) 304 if (ifp == NULL) 324 return (nd6_ioctl(cmd, data, ifp)); 333 ifp); 366 return (scope6_ioctl(cmd, data, ifp)); 424 error = in6_setscope(&sa6->sin6_addr, ifp, NULL); 432 ia = in6ifa_ifpwithaddr(ifp, &sa6->sin6_addr); 481 if (ifp->if_afdata[AF_INET6] == NULL) { 510 if ((ifp->if_flags & IFF_POINTOPOINT) == 0) { 529 ifp 264 in6_control_ioctl(u_long cmd, void *data, struct ifnet *ifp, struct ucred *cred) argument 618 in6_control(struct socket *so, u_long cmd, void *data, struct ifnet *ifp, struct thread *td) argument 625 in6_joingroup_legacy(struct ifnet *ifp, const struct in6_addr *mcaddr, int *errorp, int delay) argument 650 in6_solicited_node_maddr(struct in6_addr *maddr, struct ifnet *ifp, const struct in6_addr *base) argument 673 in6_update_ifa_join_mc(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags, struct in6_multi **in6m_sol) argument 786 in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags) argument 837 in6_validate_ifra(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags) argument 980 in6_alloc_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, int flags) argument 1042 in6_update_ifa_internal(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int hostIsNew, int flags) argument 1110 in6_broadcast_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags) argument 1230 in6_addifaddr(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia) argument 1377 struct ifnet *ifp = ifa->ifa_ifp; local 1451 in6_unlink_ifa(struct in6_ifaddr *ia, struct ifnet *ifp) argument 1508 in6_notify_ifa(struct ifnet *ifp, struct in6_ifaddr *ia, struct in6_aliasreq *ifra, int hostIsNew) argument 1597 in6ifa_ifpforlinklocal(struct ifnet *ifp, int ignoreflags) argument 1648 in6ifa_ifpwithaddr(struct ifnet *ifp, const struct in6_addr *addr) argument 1671 in6ifa_llaonifp(struct ifnet *ifp) argument 1846 in6_ifhasaddr(struct ifnet *ifp, struct in6_addr *addr) argument 1967 in6_ifawithifp(struct ifnet *ifp, struct in6_addr *dst) argument 2049 in6_if_up(struct ifnet *ifp) argument 2080 in6_ifevent(void *arg __unused, struct ifnet *ifp, int event) argument 2094 in6if_do_dad(struct ifnet *ifp) argument 2116 struct ifnet *ifp; local 2141 in6_if2idlen(struct ifnet *ifp) argument 2281 in6_lltable_rtcheck(struct ifnet *ifp, u_int flags, const struct sockaddr *l3addr) argument 2383 struct ifnet *ifp = llt->llt_ifp; local 2474 struct ifnet *ifp = llt->llt_ifp; local 2555 in6_lltattach(struct ifnet *ifp) argument 2579 in6_lltable_get(struct ifnet *ifp) argument 2590 in6_domifattach(struct ifnet *ifp) argument 2625 in6_domifmtu(struct ifnet *ifp) argument 2634 in6_domifdetach(struct ifnet *ifp, void *aux) argument 2700 in6_join_proxy_ndp_mc(struct ifnet *ifp, const struct in6_addr *dst) argument 2720 in6_leave_proxy_ndp_mc(struct ifnet *ifp, const struct in6_addr *dst) argument 2747 in6_purge_proxy_ndp(struct ifnet *ifp) argument [all...] |
/freebsd-current/sys/dev/smc/ |
H A D | if_smc.c | 308 if_t ifp; local 315 ifp = sc->smc_ifp = if_alloc(IFT_ETHER); 316 if (ifp == NULL) { 359 (void)mii_attach(dev, &sc->smc_miibus, ifp, 377 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); 378 if_setsoftc(ifp, sc); 379 if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST); 380 if_setinitfn(ifp, smc_init); 381 if_setioctlfn(ifp, smc_ioctl); 382 if_setstartfn(ifp, smc_star 502 smc_start(if_t ifp) argument 513 smc_start_locked(if_t ifp) argument 589 if_t ifp; local 696 if_t ifp; local 806 smc_poll(if_t ifp, enum poll_cmd cmd, int count) argument 855 if_t ifp; local 1070 smc_mii_ifmedia_upd(if_t ifp) argument 1084 smc_mii_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 1189 if_t ifp; local 1273 if_t ifp; local 1300 smc_ioctl(if_t ifp, u_long cmd, caddr_t data) argument [all...] |
/freebsd-current/sbin/routed/ |
H A D | main.c | 98 struct interface *ifp; local 509 LIST_FOREACH(ifp, &ifnet, int_list) { 512 if (ifp->int_rip_sock >= 0 513 && FD_ISSET(ifp->int_rip_sock, &ibits)) { 514 read_rip(ifp->int_rip_sock, ifp); 546 struct interface *ifp; local 560 LIST_FOREACH(ifp, &ifnet, int_list) { 561 if (ifp->int_rip_sock >= 0) { 562 FD_SET(ifp 661 struct interface *ifp; local 694 rip_mcast_on(struct interface *ifp) argument 720 rip_on(struct interface *ifp) argument [all...] |
/freebsd-current/sys/net/ |
H A D | if_ipsec.c | 89 struct ifnet *ifp; member in struct:ipsec_softc 191 struct ifnet *ifp; local 195 sc->ifp = ifp = if_alloc(IFT_TUNNEL); 196 ifp->if_softc = sc; 197 if_initname(ifp, ipsecname, unit); 199 ifp->if_addrlen = 0; 200 ifp->if_mtu = IPSEC_MTU; 201 ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST; 202 ifp 217 ipsec_reassign(struct ifnet *ifp, struct vnet *new_vnet __unused, char *unused __unused) argument 231 ipsec_clone_destroy(struct ifnet *ifp) argument 351 ipsec_transmit(struct ifnet *ifp, struct mbuf *m) argument 443 ipsec_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument 456 struct ifnet *ifp; local 519 ipsec_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument 999 ipsec_set_addresses(struct ifnet *ifp, struct sockaddr *src, struct sockaddr *dst) argument [all...] |
H A D | if_gif.h | 43 extern void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp, 45 extern void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m, 47 extern int (*ng_gif_output_p)(struct ifnet *ifp, struct mbuf **mp); 48 extern void (*ng_gif_attach_p)(struct ifnet *ifp); 49 extern void (*ng_gif_detach_p)(struct ifnet *ifp);
|
H A D | if_me.c | 216 me_reassign(struct ifnet *ifp, struct vnet *new_vnet __unused, argument 222 sc = ifp->if_softc; 230 me_clone_destroy(struct ifnet *ifp) argument 235 sc = ifp->if_softc; 237 bpfdetach(ifp); 238 if_detach(ifp); 239 ifp->if_softc = NULL; 243 if_free(ifp); 248 me_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument 259 ifp 472 struct ifnet *ifp; local 536 me_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument 552 me_transmit(struct ifnet *ifp, struct mbuf *m) argument [all...] |
/freebsd-current/sys/dev/altera/atse/ |
H A D | if_atse.c | 222 if_t ifp; local 230 ifp = sc->atse_ifp; 239 if_inc_counter(ifp, IFCOUNTER_OERRORS, 1); 246 if_setdrvflagbits(ifp, 0, IFF_DRV_OACTIVE); 258 if_t ifp; local 267 ifp = sc->atse_ifp; 278 if_inc_counter(ifp, IFCOUNTER_IERRORS, 1); 284 m->m_pkthdr.rcvif = ifp; 287 if_input(ifp, m); 299 atse_transmit_locked(if_t ifp) argument 336 atse_transmit(if_t ifp, struct mbuf *m) argument 378 atse_qflush(if_t ifp) argument 391 if_t ifp; local 449 if_t ifp; local 874 if_t ifp; local 931 atse_ioctl(if_t ifp, u_long command, caddr_t data) argument 991 if_t ifp; local 1010 atse_ifmedia_upd(if_t ifp) argument 1034 atse_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 1262 if_t ifp; local 1425 if_t ifp; local 1535 if_t ifp; local [all...] |
/freebsd-current/sys/dev/sfxge/ |
H A D | sfxge.c | 384 sfxge_if_ioctl(if_t ifp, unsigned long command, caddr_t data) argument 392 sc = if_getsoftc(ifp); 398 if (if_getflags(ifp) & IFF_UP) { 399 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { 400 if ((if_getflags(ifp) ^ sc->if_flags) & 407 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) 409 sc->if_flags = if_getflags(ifp); 413 if (ifr->ifr_mtu == if_getmtu(ifp)) { 418 } else if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) { 419 if_setmtu(ifp, if 567 sfxge_ifnet_fini(if_t ifp) argument 581 sfxge_ifnet_init(if_t ifp, struct sfxge_softc *sc) argument 1076 if_t ifp; local [all...] |
/freebsd-current/sys/dev/vge/ |
H A D | if_vge.c | 514 if_t ifp; local 519 ifp = sc->vge_ifp; 521 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) 563 if_t ifp; local 582 ifp = sc->vge_ifp; 583 if ((if_getflags(ifp) & IFF_BROADCAST) != 0) 585 if ((if_getflags(ifp) & (IFF_PROMISC | IFF_ALLMULTI)) != 0) { 586 if ((if_getflags(ifp) & IFF_PROMISC) != 0) 588 if ((if_getflags(ifp) & IFF_ALLMULTI) != 0) { 598 if_foreach_llmaddr(ifp, vge_set_madd 997 if_t ifp; local 1167 if_t ifp; local 1377 if_t ifp; local 1437 if_t ifp; local 1608 if_t ifp; local 1662 if_t ifp; local 1702 vge_poll(if_t ifp, enum poll_cmd cmd, int count) argument 1751 if_t ifp; local 1941 vge_start(if_t ifp) argument 1952 vge_start_locked(if_t ifp) argument 2026 if_t ifp = sc->vge_ifp; local 2159 vge_ifmedia_upd(if_t ifp) argument 2192 vge_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 2257 vge_ioctl(if_t ifp, u_long command, caddr_t data) argument 2375 if_t ifp; local 2402 if_t ifp; local 2454 if_t ifp; local 2637 if_t ifp; local 2846 if_t ifp; local [all...] |
/freebsd-current/sys/dev/netmap/ |
H A D | if_ptnet.c | 145 if_t ifp; member in struct:ptnet_softc 187 static int ptnet_ioctl(if_t ifp, u_long cmd, caddr_t data); 190 static int ptnet_transmit(if_t ifp, struct mbuf *m); 194 static void ptnet_qflush(if_t ifp); 197 static int ptnet_media_change(if_t ifp); 198 static void ptnet_media_status(if_t ifp, struct ifmediareq *ifmr); 290 if_t ifp; local 401 sc->ifp = ifp = if_alloc(IFT_ETHER); 402 if (ifp 753 ptnet_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 848 if_t ifp = sc->ifp; local 940 if_t ifp = sc->ifp; local 973 ptnet_qflush(if_t ifp) argument 996 ptnet_media_change(if_t ifp) argument 1009 ptnet_get_counter(if_t ifp, ift_counter cnt) argument 1082 ptnet_media_status(if_t ifp, struct ifmediareq *ifmr) argument 1167 if_t ifp = na->ifp; local 1382 if_t ifp = sc->ifp; local 1573 ptnet_transmit(if_t ifp, struct mbuf *m) argument 1688 if_t ifp = sc->ifp; local 1932 ptnet_poll(if_t ifp, enum poll_cmd cmd, int budget) argument [all...] |
/freebsd-current/sys/dev/eqos/ |
H A D | if_eqos.c | 225 eqos_media_status(if_t ifp, struct ifmediareq *ifmr) argument 227 struct eqos_softc *sc = if_getsoftc(ifp); 238 eqos_media_change(if_t ifp) argument 240 struct eqos_softc *sc = if_getsoftc(ifp); 411 if_t ifp = sc->ifp; local 425 if ((if_getflags(ifp) & IFF_PROMISC)) { 428 } else if ((if_getflags(ifp) & IFF_ALLMULTI)) { 433 if_foreach_llmaddr(ifp, eqos_hash_maddr, hash); 437 eaddr = if_getlladdr(ifp); 492 if_t ifp = sc->ifp; local 572 eqos_start_locked(if_t ifp) argument 616 eqos_start(if_t ifp) argument 628 if_t ifp = sc->ifp; local 679 if_t ifp = sc->ifp; local 732 if_t ifp = sc->ifp; local 868 eqos_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 1108 if_t ifp; local [all...] |
/freebsd-current/sys/dev/virtio/network/ |
H A D | if_vtnet.c | 501 if_t ifp; local 504 ifp = sc->vtnet_ifp; 514 ether_ifdetach(ifp); 518 netmap_detach(ifp); 539 if (ifp != NULL) { 540 if_free(ifp); 574 if_t ifp; local 577 ifp = sc->vtnet_ifp; 580 if (if_getflags(ifp) & IFF_UP) 1076 if_t ifp; local 1096 if_t ifp; local 1254 if_t ifp; local 1280 if_t ifp; local 1321 if_t ifp; local 1337 if_t ifp; local 1417 vtnet_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 2019 if_t ifp; local 2077 if_t ifp; local 2192 if_t ifp; local 2630 vtnet_start_locked(struct vtnet_txq *txq, if_t ifp) argument 2680 vtnet_start(if_t ifp) argument 2701 if_t ifp; local 2762 vtnet_txq_mq_start(if_t ifp, struct mbuf *m) argument 2810 if_t ifp; local 2829 if_t ifp; local 2884 if_t ifp; local 2938 vtnet_qflush(if_t ifp) argument 2963 if_t ifp; local 3021 vtnet_get_counter(if_t ifp, ift_counter cnt) argument 3054 if_t ifp; local 3201 if_t ifp; local 3236 if_t ifp; local 3274 if_t ifp; local 3291 if_t ifp; local 3388 if_t ifp; local 3429 if_t ifp; local 3466 if_t ifp; local 3705 if_t ifp; local 3758 if_t ifp; local 3887 if_t ifp; local 3916 vtnet_register_vlan(void *arg, if_t ifp, uint16_t tag) argument 3926 vtnet_unregister_vlan(void *arg, if_t ifp, uint16_t tag) argument 3938 if_t ifp; local 3970 if_t ifp; local 3995 vtnet_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 4407 vtnet_debugnet_init(if_t ifp, int *nrxr, int *ncl, int *clsize) argument 4445 vtnet_debugnet_transmit(if_t ifp, struct mbuf *m) argument 4464 vtnet_debugnet_poll(if_t ifp, int count) argument [all...] |
/freebsd-current/sys/dev/ae/ |
H A D | if_ae.c | 114 static void ae_mediastatus(if_t ifp, struct ifmediareq *ifmr); 115 static int ae_mediachange(if_t ifp); 128 static void ae_start(if_t ifp); 129 static void ae_start_locked(if_t ifp); 143 static int ae_ioctl(if_t ifp, u_long cmd, caddr_t data); 238 if_t ifp; local 328 ifp = sc->ifp = if_alloc(IFT_ETHER); 329 if (ifp == NULL) { 335 if_setsoftc(ifp, s 556 if_t ifp; local 756 if_t ifp; local 881 ae_mediastatus(if_t ifp, struct ifmediareq *ifmr) argument 898 ae_mediachange(if_t ifp) argument 1319 if_t ifp; local 1511 ae_start(if_t ifp) argument 1522 ae_start_locked(if_t ifp) argument 1582 if_t ifp; local 1752 if_t ifp; local 1805 if_t ifp; local 1882 if_t ifp; local 1927 if_t ifp; local 1976 if_t ifp; local 2016 if_t ifp; local 2042 if_t ifp; local 2085 ae_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 2161 if_t ifp; local [all...] |
/freebsd-current/sys/dev/et/ |
H A D | if_et.c | 222 if_t ifp; local 233 ifp = sc->ifp = if_alloc(IFT_ETHER); 234 if (ifp == NULL) { 321 if_setsoftc(ifp, sc); 322 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); 323 if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST); 324 if_setinitfn(ifp, et_init); 325 if_setioctlfn(ifp, et_ioctl); 326 if_setstartfn(ifp, et_star 504 if_t ifp; local 599 et_ifmedia_upd_locked(if_t ifp) argument 613 et_ifmedia_upd(if_t ifp) argument 627 et_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) argument 649 if_t ifp; local 1176 if_t ifp; local 1218 if_t ifp; local 1279 et_ioctl(if_t ifp, u_long cmd, caddr_t data) argument 1372 et_start_locked(if_t ifp) argument 1440 et_start(if_t ifp) argument 1580 if_t ifp; local 1613 if_t ifp; local 1841 if_t ifp; local 1895 if_t ifp; local 2035 if_t ifp; local 2248 if_t ifp; local 2566 if_t ifp; local 2593 if_t ifp; local 2671 et_get_counter(if_t ifp, ift_counter cnt) argument [all...] |