• Home
  • Raw
  • Download

Lines Matching refs:ifm

16 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))  argument
19 ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead) in ifs_insque() argument
21 ifm->ifs_next = ifmhead->ifs_next; in ifs_insque()
22 ifmhead->ifs_next = ifm; in ifs_insque()
23 ifm->ifs_prev = ifmhead; in ifs_insque()
24 ifm->ifs_next->ifs_prev = ifm; in ifs_insque()
28 ifs_remque(struct mbuf *ifm) in ifs_remque() argument
30 ifm->ifs_prev->ifs_next = ifm->ifs_next; in ifs_remque()
31 ifm->ifs_next->ifs_prev = ifm->ifs_prev; in ifs_remque()
136 if_output(struct socket *so, struct mbuf *ifm) in if_output() argument
143 DEBUG_ARG("ifm = %lx", (long)ifm); in if_output()
150 if (ifm->m_flags & M_USEDLIST) { in if_output()
151 remque(ifm); in if_output()
152 ifm->m_flags &= ~M_USEDLIST; in if_output()
165 ifm->ifq_so = so; in if_output()
166 ifs_insque(ifm, ifq->ifs_prev); in if_output()
180 ifm->ifq_so = so; in if_output()
181 ifs_insque(ifm, ifq->ifs_prev); in if_output()
188 ifm->ifq_so = so; in if_output()
189 ifs_init(ifm); in if_output()
190 insque(ifm, ifq); in if_output()
210 remque(ifm->ifs_next); in if_output()
213 insque(ifm->ifs_next, &if_batchq); in if_output()
243 struct mbuf *ifm, *ifqt; in if_start() local
260 ifm = if_fastq.ifq_next; in if_start()
264 ifm = next_m; in if_start()
266 ifm = if_batchq.ifq_next; in if_start()
269 next_m = ifm->ifq_next; in if_start()
272 ifqt = ifm->ifq_prev; in if_start()
273 remque(ifm); in if_start()
277 if (ifm->ifs_next != /* ifm->ifs_prev != */ ifm) { in if_start()
278 insque(ifm->ifs_next, ifqt); in if_start()
279 ifs_remque(ifm); in if_start()
283 if (ifm->ifq_so) { in if_start()
284 if (--ifm->ifq_so->so_queued == 0) in if_start()
286 ifm->ifq_so->so_nqueued = 0; in if_start()
290 if_encap((uint8_t *)ifm->m_data, ifm->m_len); in if_start()
292 m_free(ifm); in if_start()