Lines Matching refs:flags
46 m_init(struct mbuf *m, int how, short type, int flags)
57 m->m_flags = flags;
59 if (flags & M_PKTHDR)
121 construct_pkt_mbuf(int how, struct mbuf *memoryBuffer, short type, int flags)
123 if (m_init(memoryBuffer, how, type, flags) < 0)
133 m_getcl(int how, short type, int flags)
140 if (construct_pkt_mbuf(how, memoryBuffer, type, flags) < 0) {
150 _m_get(int how, short type, int flags)
157 m_init(memoryBuffer, how, type, flags);
171 m_get2(int size, int how, short type, int flags)
173 if (size <= MHLEN || (size <= MLEN && (flags & M_PKTHDR) == 0)) {
174 return _m_get(how, type, flags);
185 return m_getjcl(how, type, flags, size);
197 m_getjcl(int how, short type, int flags, int size)
203 if (m_init(memoryBuffer, how, type, flags) < 0) {