Home
last modified time | relevance | path

Searched refs:if_snd (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/net/
H A Difq.c91 IFQ_DEQUEUE(&ifp->if_snd, m); in drbr_peek()
103 IFQ_PURGE(&ifp->if_snd); in drbr_flush()
114 IFQ_DEQUEUE(&ifp->if_snd, m); in drbr_dequeue()
135 IFQ_LOCK(&ifp->if_snd); in drbr_dequeue_cond()
136 IFQ_POLL_NOLOCK(&ifp->if_snd, m); in drbr_dequeue_cond()
138 IFQ_UNLOCK(&ifp->if_snd); in drbr_dequeue_cond()
142 IFQ_UNLOCK(&ifp->if_snd); in drbr_dequeue_cond()
155 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_empty()
163 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_needs_enqueue()
171 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_inuse()
[all …]
H A Dif_tuntap.c823 IFQ_LOCK(&ifp->if_snd); in tunstart()
826 IFQ_UNLOCK(&ifp->if_snd); in tunstart()
829 IFQ_UNLOCK(&ifp->if_snd); in tunstart()
872 IF_DEQUEUE(&ifp->if_snd, m); in tunstart_l2()
969 ifp->if_snd.ifq_drv_maxlen = 0; in tuncreate()
970 IFQ_SET_READY(&ifp->if_snd); in tuncreate()
1140 IF_DRAIN(&ifp->if_snd); in tundtor()
1142 IFQ_PURGE(&ifp->if_snd); in tundtor()
1701 IFQ_DEQUEUE(&ifp->if_snd, m); in tunread()
1956 IFQ_LOCK(&ifp->if_snd); in tunpoll()
[all …]
H A Dif_mib.c101 ifmd.ifmd_snd_len = ifp->if_snd.ifq_len; in sysctl_ifdata()
102 ifmd.ifmd_snd_maxlen = ifp->if_snd.ifq_maxlen; in sysctl_ifdata()
H A Dif_edsc.c146 ifp->if_snd.ifq_maxlen = ifqmaxlen; in edsc_clone_create()
287 IFQ_DEQUEUE(&ifp->if_snd, m); in edsc_start()
H A Dif_epair.c304 IFQ_DEQUEUE(&ifp->if_snd, m); in epair_start()
386 IF_LOCK(&ifp->if_snd); in epair_transmit()
387 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in epair_transmit()
388 ALTQ_ENQUEUE(&ifp->if_snd, m, NULL, error); in epair_transmit()
391 IF_UNLOCK(&ifp->if_snd); in epair_transmit()
400 IF_UNLOCK(&ifp->if_snd); in epair_transmit()
H A Dif.c567 ifq_init(&ifp->if_snd, ifp); in if_alloc_domain()
649 ifq_delete(&ifp->if_snd); in if_free_deferred()
1187 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in if_detach_internal()
1188 altq_disable(&ifp->if_snd); in if_detach_internal()
1189 if (ALTQ_IS_ATTACHED(&ifp->if_snd)) in if_detach_internal()
1190 altq_detach(&ifp->if_snd); in if_detach_internal()
2245 ifq = &ifp->if_snd; in if_qflush()
4814 IFQ_SET_READY(&ifp->if_snd); in if_setsendqready()
4885 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in if_dequeue()
4892 IFQ_DRV_PREPEND(&ifp->if_snd, m); in if_sendq_prepend()
[all …]
H A Dif_private.h81 struct ifaltq if_snd; /* output queue (includes altq) */ member
H A Dif_disc.c112 ifp->if_snd.ifq_maxlen = 20; in disc_clone_create()
H A Dif_vlan.c1188 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in vlan_clone_create()
1189 ifp->if_snd.ifq_drv_maxlen = 0; in vlan_clone_create()
1190 IFQ_SET_READY(&ifp->if_snd); in vlan_clone_create()
1403 IFQ_PURGE(&ifp->if_snd); in vlan_clone_destroy()
1530 struct ifaltq *ifq = &ifp->if_snd; in vlan_altq_start()
1547 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in vlan_altq_transmit()
1548 IFQ_ENQUEUE(&ifp->if_snd, m, err); in vlan_altq_transmit()
H A Dif_loop.c138 ifp->if_snd.ifq_maxlen = ifqmaxlen; in lo_clone_create()
H A Dif_bridge.c781 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in bridge_clone_create()
782 ifp->if_snd.ifq_drv_maxlen = 0; in bridge_clone_create()
783 IFQ_SET_READY(&ifp->if_snd); in bridge_clone_create()
869 IFQ_PURGE(&ifp->if_snd); in bridge_clone_destroy()
2313 struct ifaltq *ifq = &ifp->if_snd; in bridge_altq_start()
2330 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in bridge_altq_transmit()
2331 IFQ_ENQUEUE(&ifp->if_snd, m, err); in bridge_altq_transmit()
H A Difq.h249 IFQ_ENQUEUE(&(ifp)->if_snd, m, err); \
H A Dif_stf.c301 ifp->if_snd.ifq_maxlen = ifqmaxlen; in stf_clone_create()
H A Diflib.c4406 struct ifaltq *ifq = &ifp->if_snd; /* XXX - DRVAPI */ in iflib_altq_if_start()
4424 IFQ_ENQUEUE(&ifp->if_snd, m, err); /* XXX - DRVAPI */ in iflib_altq_if_transmit()
/freebsd/sys/netpfil/pf/
H A Dif_pflog.c140 ifp->if_snd.ifq_maxlen = ifqmaxlen; in pflog_clone_create()
180 IF_LOCK(&ifp->if_snd); in pflogstart()
181 _IF_DEQUEUE(&ifp->if_snd, m); in pflogstart()
182 IF_UNLOCK(&ifp->if_snd); in pflogstart()
H A Dpf_ioctl.c1044 if (ifp->if_snd.altq_type != ALTQT_NONE) in pf_enable_altq()
1045 error = altq_enable(&ifp->if_snd); in pf_enable_altq()
1048 if (error == 0 && ifp != NULL && ALTQ_IS_ENABLED(&ifp->if_snd)) { in pf_enable_altq()
1051 error = tbr_set(&ifp->if_snd, &tb); in pf_enable_altq()
1071 if (altq->altq_disc != ifp->if_snd.altq_disc) in pf_disable_altq()
1074 error = altq_disable(&ifp->if_snd); in pf_disable_altq()
1079 error = tbr_set(&ifp->if_snd, &tb); in pf_disable_altq()
1122 if (!ALTQ_IS_READY(&ifp->if_snd)) in pf_altq_ifnet_event()
/freebsd/sys/netgraph/
H A Dng_iface.c378 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in ng_iface_output()
401 KASSERT(ALTQ_IS_ENABLED(&ifp->if_snd), ("%s without ALTQ", __func__)); in ng_iface_start()
404 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in ng_iface_start()
556 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in ng_iface_constructor()
557 ifp->if_snd.ifq_drv_maxlen = ifqmaxlen; in ng_iface_constructor()
558 IFQ_SET_READY(&ifp->if_snd); in ng_iface_constructor()
H A Dng_source.c636 if (ifp->if_snd.ifq_maxlen < NG_SOURCE_DRIVER_IFQ_MAXLEN) { in ng_source_store_output_ifp()
638 ifp->if_snd.ifq_maxlen, NG_SOURCE_DRIVER_IFQ_MAXLEN); in ng_source_store_output_ifp()
639 ifp->if_snd.ifq_maxlen = NG_SOURCE_DRIVER_IFQ_MAXLEN; in ng_source_store_output_ifp()
743 ifq = (struct ifqueue *)&sc->output_ifp->if_snd; in ng_source_intr()
H A Dng_eiface.c233 IF_DEQUEUE(&ifp->if_snd, m); in ng_eiface_start2()
414 ifp->if_snd.ifq_maxlen = ifqmaxlen; in ng_eiface_constructor()
/freebsd/sys/net/altq/
H A Daltq_codel.c86 return (altq_attach(&ifp->if_snd, ALTQT_CODEL, a->altq_disc, in codel_pfattach()
98 if (!ALTQ_IS_READY(&ifp->if_snd)) in codel_add_altq()
107 cif->cif_ifq = &ifp->if_snd; in codel_add_altq()
H A Daltq_cbq.c218 error = altq_attach(&ifp->if_snd, ALTQT_CBQ, a->altq_disc, in cbq_pfattach()
231 if (!ALTQ_IS_READY(&ifp->if_snd)) in cbq_add_altq()
240 cbqp->ifnp.ifq_ = &ifp->if_snd; /* keep the ifq */ in cbq_add_altq()
H A Daltq_subr.c156 if (type != ALTQT_NONE && ifp->if_snd.altq_type == type) in altq_lookup()
157 return (ifp->if_snd.altq_disc); in altq_lookup()
428 if (!TBR_IS_ENABLED(&ifp->if_snd)) in tbr_timeout()
431 if (!IFQ_IS_EMPTY(&ifp->if_snd) && in tbr_timeout()
507 if (a->altq_disc == NULL || a->altq_disc != ifp->if_snd.altq_disc) in altq_pfdetach()
512 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in altq_pfdetach()
513 error = altq_disable(&ifp->if_snd); in altq_pfdetach()
515 error = altq_detach(&ifp->if_snd); in altq_pfdetach()
H A Daltq_priq.c89 error = altq_attach(&ifp->if_snd, ALTQT_PRIQ, a->altq_disc, in priq_pfattach()
102 if (!ALTQ_IS_READY(&ifp->if_snd)) in priq_add_altq()
110 pif->pif_ifq = &ifp->if_snd; in priq_add_altq()
H A Daltq_fairq.c144 error = altq_attach(&ifp->if_snd, ALTQT_FAIRQ, a->altq_disc, in fairq_pfattach()
157 if (!ALTQ_IS_READY(&ifp->if_snd)) in fairq_add_altq()
164 pif->pif_ifq = &ifp->if_snd; in fairq_add_altq()
H A Daltq_hfsc.c152 error = altq_attach(&ifp->if_snd, ALTQT_HFSC, a->altq_disc, in hfsc_pfattach()
165 if (!ALTQ_IS_READY(&ifp->if_snd)) in hfsc_add_altq()
173 hif->hif_ifq = &ifp->if_snd; in hfsc_add_altq()