Home
last modified time | relevance | path

Searched defs:ifq (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/net/
H A Difq.h69 #define IF_LOCK(ifq) mtx_lock(&(ifq)->ifq_mtx) argument
70 #define IF_UNLOCK(ifq) mtx_unlock(&(ifq)->ifq_mtx) argument
71 #define IF_LOCK_ASSERT(ifq) mtx_assert(&(ifq)->ifq_mtx, MA_OWNED) argument
72 #define _IF_QFULL(ifq) ((ifq)->ifq_len >= (ifq)->ifq_maxlen) argument
73 #define _IF_QLEN(ifq) ((ifq)->ifq_len) argument
75 #define _IF_ENQUEUE(ifq, m) do { \ argument
85 #define IF_ENQUEUE(ifq, m) do { \ argument
91 #define _IF_PREPEND(ifq, m) do { \ argument
99 #define IF_PREPEND(ifq, m) do { \ argument
105 #define _IF_DEQUEUE(ifq, m) do { \ argument
[all …]
H A Dif.c720 ifq_init(struct ifaltq *ifq, struct ifnet *ifp) in ifq_init()
736 ifq_delete(struct ifaltq *ifq) in ifq_delete()
2207 struct ifaltq *ifq; in if_qflush() local
4096 if_handoff(struct ifqueue *ifq, struct mbuf *m, struct ifnet *ifp, int adjust) in if_handoff()
H A Dif_vlan.c1509 struct ifaltq *ifq = &ifp->if_snd; in vlan_altq_start() local
H A Dif_bridge.c2662 struct ifaltq *ifq = &ifp->if_snd; in bridge_altq_start() local
H A Diflib.c4352 struct ifaltq *ifq = &ifp->if_snd; /* XXX - DRVAPI */ in iflib_altq_if_start() local
/freebsd/sys/net/altq/
H A Dif_altq.h139 #define ALTQ_IS_READY(ifq) ((ifq)->altq_flags & ALTQF_READY) argument
141 #define ALTQ_IS_ENABLED(ifq) ((ifq)->altq_flags & ALTQF_ENABLED) argument
143 #define ALTQ_IS_ENABLED(ifq) 0 argument
145 #define ALTQ_IS_CNDTNING(ifq) ((ifq)->altq_flags & ALTQF_CNDTNING) argument
147 #define ALTQ_SET_CNDTNING(ifq) ((ifq)->altq_flags |= ALTQF_CNDTNING) argument
148 #define ALTQ_CLEAR_CNDTNING(ifq) ((ifq)->altq_flags &= ~ALTQF_CNDTNING) argument
149 #define ALTQ_IS_ATTACHED(ifq) ((ifq)->altq_disc != NULL) argument
151 #define ALTQ_ENQUEUE(ifq, m, pa, err) \ argument
153 #define ALTQ_DEQUEUE(ifq, m) \ argument
155 #define ALTQ_POLL(ifq, m) \ argument
[all …]
H A Daltq_cbq.c158 cbq_request(struct ifaltq *ifq, int req, void *arg) in cbq_request()
459 cbq_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pktattr) in cbq_enqueue()
501 cbq_dequeue(struct ifaltq *ifq, int op) in cbq_dequeue()
529 cbqrestart(struct ifaltq *ifq) in cbqrestart()
H A Daltq_codel.c180 codel_request(struct ifaltq *ifq, int req, void *arg) in codel_request()
208 codel_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pktattr) in codel_enqueue()
235 codel_dequeue(struct ifaltq *ifq, int op) in codel_dequeue()
H A Daltq_priq.c224 priq_request(struct ifaltq *ifq, int req, void *arg) in priq_request()
446 priq_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pktattr) in priq_enqueue()
496 priq_dequeue(struct ifaltq *ifq, int op) in priq_dequeue()
H A Daltq_fairq.c274 fairq_request(struct ifaltq *ifq, int req, void *arg) in fairq_request()
482 fairq_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pktattr) in fairq_enqueue()
535 fairq_dequeue(struct ifaltq *ifq, int op) in fairq_dequeue()
H A Daltq_subr.c164 altq_attach(struct ifaltq *ifq, int type, void *discipline, in altq_attach()
186 altq_detach(struct ifaltq *ifq) in altq_detach()
215 altq_enable(struct ifaltq *ifq) in altq_enable()
242 altq_disable(struct ifaltq *ifq) in altq_disable()
285 tbr_dequeue(struct ifaltq *ifq, int op) in tbr_dequeue()
335 tbr_set(struct ifaltq *ifq, struct tb_profile *profile) in tbr_set()
H A Daltq_hfsc.c326 hfsc_request(struct ifaltq *ifq, int req, void *arg) in hfsc_request()
655 hfsc_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pktattr) in hfsc_enqueue()
709 hfsc_dequeue(struct ifaltq *ifq, int op) in hfsc_dequeue()
H A Daltq_rmclass.c669 rmc_init(struct ifaltq *ifq, struct rm_ifdat *ifd, u_int nsecPerByte, in rmc_init()
/freebsd/sys/dev/usb/
H A Dusb_mbuf.h47 #define USB_IF_ENQUEUE(ifq, m) do { \ argument
57 #define USB_IF_DEQUEUE(ifq, m) do { \ argument
68 #define USB_IF_PREPEND(ifq, m) do { \ argument
77 #define USB_IF_QFULL(ifq) ((ifq)->ifq_len >= (ifq)->ifq_maxlen) argument
78 #define USB_IF_QLEN(ifq) ((ifq)->ifq_len) argument
79 #define USB_IF_POLL(ifq, m) ((m) = (ifq)->ifq_head) argument
H A Dusb_mbuf.c64 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, in usb_alloc_mbufs()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_state.c418 ipftq_t *ifq, *ifqnext; in ipf_state_soft_fini() local
2947 ipftq_t *ifq; in ipf_state_lookup() local
3226 ipftq_t *ifq; in ipf_state_check() local
3641 ipftq_t *ifq, *ifqnext; in ipf_state_expire() local
3714 ipftq_t *ifq; in ipf_state_flush() local
H A Dfil.c5592 ipftq_t *ifq; in ipf_addtimeoutqueue() local
5646 ipf_deletetimeoutqueue(ipftq_t *ifq) in ipf_deletetimeoutqueue()
5672 ipf_freetimeoutqueue(ipf_main_softc_t *softc, ipftq_t *ifq) in ipf_freetimeoutqueue()
5711 ipftq_t *ifq; in ipf_deletequeueentry() local
5745 ipftq_t *ifq; in ipf_queuefront() local
5781 ipftq_t *ifq; in ipf_queueback() local
5822 ipf_queueappend(u_long ticks, ipftqent_t *tqe, ipftq_t *ifq, void *parent) in ipf_queueappend()
8716 ipftq_t *ifq, *ifqnext; local
H A Dip_nat.c526 ipftq_t *ifq, *ifqnext; in ipf_nat_soft_fini() local
4687 ipftq_t *ifq, *ifq2; in ipf_nat_update() local
5768 ipftq_t *ifq, *ifqnext; in ipf_nat_expire() local
6610 ipftq_t *ifq; in ipf_nat_extraflush() local
/freebsd/sys/net80211/
H A Dieee80211_freebsd.c419 ieee80211_drain_ifq(struct ifqueue *ifq) in ieee80211_drain_ifq()
439 ieee80211_flush_ifq(struct ifqueue *ifq, struct ieee80211vap *vap) in ieee80211_flush_ifq()
H A Dieee80211_freebsd.h167 #define _IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
174 #define IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
/freebsd/sys/netgraph/
H A Dng_source.c731 struct ifqueue *ifq; in ng_source_intr() local