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

12345678

/freebsd-9.3-release/sys/kern/
H A Duipc_mbuf.c102 flags &= (M_PKTHDR | M_EOR);
105 if ((flags & M_PKTHDR) && m != NULL)
106 flags &= ~M_PKTHDR;
111 mb = m_getjcl(how, type, (flags & M_PKTHDR),
114 mb = m_getcl(how, type, (flags & M_PKTHDR));
115 else if (flags & M_PKTHDR)
129 ((mb->m_flags & M_PKTHDR) ? MHLEN : MLEN);
135 flags &= ~M_PKTHDR; /* Only valid on the first mbuf. */
319 if (m->m_flags & M_PKTHDR) {
321 m->m_flags &= ~M_PKTHDR;
[all...]
H A Dkern_mbuf.c458 if (flags & M_PKTHDR) {
492 if ((flags & MB_NOTAGS) == 0 && (m->m_flags & M_PKTHDR) != 0)
510 if ((m->m_flags & M_PKTHDR) != 0)
684 if (flags & M_PKTHDR) {
H A Duipc_mbuf2.c277 if (off == 0 && (m->m_flags & M_PKTHDR) != 0)
283 n = m_getcl(wait, m->m_type, M_PKTHDR);
/freebsd-9.3-release/sys/fs/nfs/
H A Dnfsm_subs.h53 else if ((m)->m_flags & M_PKTHDR) \
58 (((m)->m_flags & M_PKTHDR)?MHLEN:MLEN))
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Dethernet-mem.c60 struct mbuf *m = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR);
/freebsd-9.3-release/sys/nfsclient/
H A Dnfsm_subs.h63 else if ((m)->m_flags & M_PKTHDR) \
69 (((m)->m_flags & M_PKTHDR)?MHLEN:MLEN))
/freebsd-9.3-release/sys/sys/
H A Dmbuf.h111 * Record/packet header in first mbuf of chain; valid only if M_PKTHDR is set.
156 struct pkthdr MH_pkthdr; /* M_PKTHDR set */
162 char M_databuf[MLEN]; /* !M_PKTHDR, !M_EXT */
181 #define M_PKTHDR 0x00000002 /* start of record */ macro
257 (M_PKTHDR|M_EOR|M_RDONLY|M_PROTOFLAGS|M_SKIP_FIREWALL|M_BCAST|M_MCAST|\
310 #define MT_HEADER MT_DATA /* packet header, use M_PKTHDR instead */
509 * initialize or call a function with this many parameters and M_PKTHDR
524 if (flags & M_PKTHDR) {
564 args.flags = M_PKTHDR;
615 if (m->m_flags & M_PKTHDR)
[all...]
/freebsd-9.3-release/sys/netipsec/
H A Dipsec_mbuf.c246 if ((m1->m_flags & M_PKTHDR) == 0)
271 if ((m1->m_flags & M_PKTHDR) == 0)
/freebsd-9.3-release/sys/netinet/
H A Dsctp_os_bsd.h313 #define SCTP_ALIGN_TO_END(m, len) if(m->m_flags & M_PKTHDR) { \
355 /* For BSD this just accesses the M_PKTHDR length
382 #define SCTP_IS_IT_BROADCAST(dst, m) ((m->m_flags & M_PKTHDR) ? in_broadcast(dst, m->m_pkthdr.rcvif) : 0)
383 #define SCTP_IS_IT_LOOPBACK(m) ((m->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP)))
H A Dsctp_bsd_addr.c378 m = m_getm2(NULL, space_needed, how, type, want_header ? M_PKTHDR : 0);
/freebsd-9.3-release/sys/nfsserver/
H A Dnfsm_subs.h55 (((m)->m_flags & M_PKTHDR)?MHLEN:MLEN))
/freebsd-9.3-release/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1418 * note: it is illegal to set M_PKTHDR on a mbuf with no data. Doing so
1439 mbuf->m_flags |= M_PKTHDR;
1465 mbuf->m_flags |= M_PKTHDR;
1492 mbufc->m_flags |= M_PKTHDR;
1535 mbufc->m_flags |= M_PKTHDR;
1579 mbufc->m_flags |= M_PKTHDR;
1617 mbufc->m_flags |= M_PKTHDR;
1671 mbuf->m_flags |= M_PKTHDR;
1715 mbuf->m_flags |= M_PKTHDR;
1789 mbuf->m_flags |= M_PKTHDR;
[all...]
/freebsd-9.3-release/sys/netgraph/atm/sscfu/
H A Dng_sscfu.c414 if (!(m->m_flags & M_PKTHDR)) {
473 if (!(m->m_flags & M_PKTHDR)) {
/freebsd-9.3-release/sys/dev/firewire/
H A Dif_fwip.c336 m = m_getcl(M_WAITOK, MT_DATA, M_PKTHDR);
352 m = m_getcl(M_WAITOK, MT_DATA, M_PKTHDR);
781 sxfer->mbuf = m0 = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
874 m = m_getcl(M_WAITOK, MT_DATA, M_PKTHDR);
/freebsd-9.3-release/sys/dev/qlxgbe/
H A Dql_isr.c122 mp->m_flags |= M_PKTHDR;
127 mp->m_flags &= ~M_PKTHDR;
257 mp->m_flags |= M_PKTHDR;
262 mp->m_flags &= ~M_PKTHDR;
/freebsd-9.3-release/sys/netinet6/
H A Dsend.c134 if (m->m_flags & M_PKTHDR)
H A Dfrag6.c193 if ((m->m_flags & M_PKTHDR) != 0)
598 if (m->m_flags & M_PKTHDR) { /* Isn't it always true? */
/freebsd-9.3-release/sys/dev/patm/
H A Dif_patm_rx.c409 buf, sc->vbuf_pool, M_PKTHDR, EXT_NET_DRV); local
413 buf, sc->sbuf_pool, M_PKTHDR, EXT_NET_DRV); local
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_rx.c111 mb = m_getm2(NULL, ssk->recv_bytes, M_NOWAIT, MT_DATA, M_PKTHDR);
120 ((m->m_flags & M_PKTHDR) ? MHLEN : MLEN);
/freebsd-9.3-release/sys/dev/qlxge/
H A Dqls_isr.c170 mp->m_flags |= M_PKTHDR;
/freebsd-9.3-release/sys/netgraph/
H A Dng_device.c468 if ((m = m_uiotombuf(uio, M_DONTWAIT, 0, 0, M_PKTHDR)) == NULL)
H A Dng_sppp.c359 KASSERT (m->m_flags & M_PKTHDR, ("%s: not pkthdr", __func__));
/freebsd-9.3-release/tools/regression/net80211/wep/
H A Dtest_wep.c220 m = m_getcl(M_NOWAIT, MT_HEADER, M_PKTHDR);
/freebsd-9.3-release/sys/dev/hatm/
H A Dif_hatm_intr.c334 M_PKTHDR)) == NULL) {
461 hatm_mbuf0_free, c0, sc, M_PKTHDR, EXT_EXTREF);
485 hatm_mbuf1_free, c1, sc, M_PKTHDR, EXT_EXTREF);
/freebsd-9.3-release/sys/dev/ixgbe/
H A Dixv.c2721 mh->m_flags |= M_PKTHDR;
2741 M_PKTHDR, adapter->rx_mbuf_sz);
2872 rxbuf->m_head->m_flags |= M_PKTHDR;
2879 rxbuf->m_pack->m_flags |= M_PKTHDR;
2942 mh->m_flags |= M_PKTHDR;
2957 M_PKTHDR, adapter->rx_mbuf_sz);
3178 rxbuf->m_head->m_flags |= M_PKTHDR;
3185 rxbuf->m_pack->m_flags |= M_PKTHDR;
3256 rbuf->fmp->m_flags |= M_PKTHDR;
3380 mh->m_flags |= M_PKTHDR;
[all...]

Completed in 396 milliseconds

12345678