Searched refs:M_PKTHDR (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_mbuf.h197 * Record/packet header in first mbuf of chain; valid only if M_PKTHDR is set.
235 struct pkthdr MH_pkthdr; /* M_PKTHDR set */
241 char M_databuf[MLEN]; /* !M_PKTHDR, !M_EXT */
262 #define M_PKTHDR 0x0002 /* start of record */ macro
277 #define M_COPYFLAGS (M_PKTHDR|M_EOR|M_RDONLY|M_PROTO1|M_PROTO1|M_PROTO2|\
317 #define MT_HEADER MT_DATA /* packet header, use M_PKTHDR instead */
376 (m)->m_flags & M_PKTHDR ? (m)->m_data - (m)->m_pktdat : \
409 if (_mm != NULL && _mm->m_flags & M_PKTHDR) \
419 KASSERT(!((m)->m_flags & (M_PKTHDR|M_EXT)), \
431 KASSERT((m)->m_flags & M_PKTHDR
[all...]
H A Duser_mbuf.c92 if (flags & M_PKTHDR) {
162 mbuf_mb_args.flags = M_PKTHDR;
177 if (! ((mret->m_flags & M_PKTHDR) && (mret->m_type == type)) ) {
178 mbuf_constructor_dup(mret, M_PKTHDR, type);
181 mbuf_constructor_dup(mret, M_PKTHDR, type);
457 if (flags & M_PKTHDR) {
488 if ((m->m_flags & M_PKTHDR) != 0) {
683 * "from" must have M_PKTHDR set, and "to" must be empty.
694 from->m_flags &= ~M_PKTHDR;
732 if (n->m_flags & M_PKTHDR)
[all...]
/external/ipsec-tools/src/libipsec/
H A Dkey_debug.c737 if (m->m_flags & M_PKTHDR) {
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_bsd_addr.c860 m = m_getm2(NULL, space_needed, how, type, want_header ? M_PKTHDR : 0);
H A Dsctp_os_userspace.h832 #define SCTP_ALIGN_TO_END(m, len) if(m->m_flags & M_PKTHDR) { \
934 /* For BSD this just accesses the M_PKTHDR length
966 /* OOTB only #define SCTP_IS_IT_BROADCAST(dst, m) ((m->m_flags & M_PKTHDR) ? in_broadcast(dst, m->m_pkthdr.rcvif) : 0) BSD def */
968 /* OOTB ONLY #define SCTP_IS_IT_LOOPBACK(m) ((m->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP))) BSD def */
H A Dsctputil.c7764 if ((m->m_flags & M_PKTHDR) == 0) {
H A Dsctp_output.c12748 (M_PKTHDR | (user_marks_eor ? M_EOR : 0)));

Completed in 250 milliseconds