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.c723 ifq_init(struct ifaltq *ifq, struct ifnet *ifp) in ifq_init() argument
739 ifq_delete(struct ifaltq *ifq) in ifq_delete() argument
2221 struct ifaltq *ifq; if_qflush() local
4101 if_handoff(struct ifqueue * ifq,struct mbuf * m,struct ifnet * ifp,int adjust) if_handoff() argument
[all...]
H A Dif_vlan.c1518 struct ifaltq *ifq = &ifp->if_snd; in vlan_altq_start() local
H A Dif_bridge.c2309 struct ifaltq *ifq = &ifp->if_snd; in bridge_altq_start() local
H A Diflib.c4409 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()
457 cbq_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pktattr) in cbq_enqueue()
499 cbq_dequeue(struct ifaltq *ifq, int op) in cbq_dequeue()
527 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
2963 ipftq_t *ifq; in ipf_state_lookup() local
3242 ipftq_t *ifq; in ipf_state_check() local
3657 ipftq_t *ifq, *ifqnext; in ipf_state_expire() local
3730 ipftq_t *ifq; in ipf_state_flush() local
H A Dfil.c5597 ipftq_t *ifq; in ipf_addtimeoutqueue() local
5651 ipf_deletetimeoutqueue(ipftq_t *ifq) in ipf_deletetimeoutqueue()
5677 ipf_freetimeoutqueue(ipf_main_softc_t *softc, ipftq_t *ifq) in ipf_freetimeoutqueue()
5716 ipftq_t *ifq; in ipf_deletequeueentry() local
5750 ipftq_t *ifq; in ipf_queuefront() local
5786 ipftq_t *ifq; in ipf_queueback() local
5827 ipf_queueappend(u_long ticks, ipftqent_t *tqe, ipftq_t *ifq, void *parent) in ipf_queueappend()
8717 ipftq_t *ifq, *ifqnext; local
H A Dip_nat.c526 ipftq_t *ifq, *ifqnext; in ipf_nat_soft_fini() local
4697 ipftq_t *ifq, *ifq2; in ipf_nat_update() local
5772 ipftq_t *ifq, *ifqnext; in ipf_nat_expire() local
6614 ipftq_t *ifq; in ipf_nat_extraflush() local
/freebsd/sys/net80211/
H A Dieee80211_freebsd.c417 ieee80211_drain_ifq(struct ifqueue *ifq) in ieee80211_drain_ifq()
437 ieee80211_flush_ifq(struct ifqueue *ifq, struct ieee80211vap *vap) in ieee80211_flush_ifq()
H A Dieee80211_freebsd.h157 #define _IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
164 #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