/freebsd-9.3-release/sys/kern/ |
H A D | uipc_mbuf.c | 102 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 D | kern_mbuf.c | 458 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 D | uipc_mbuf2.c | 277 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 D | nfsm_subs.h | 53 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 D | ethernet-mem.c | 60 struct mbuf *m = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR);
|
/freebsd-9.3-release/sys/nfsclient/ |
H A D | nfsm_subs.h | 63 else if ((m)->m_flags & M_PKTHDR) \ 69 (((m)->m_flags & M_PKTHDR)?MHLEN:MLEN))
|
/freebsd-9.3-release/sys/sys/ |
H A D | mbuf.h | 111 * 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 D | ipsec_mbuf.c | 246 if ((m1->m_flags & M_PKTHDR) == 0) 271 if ((m1->m_flags & M_PKTHDR) == 0)
|
/freebsd-9.3-release/sys/netinet/ |
H A D | sctp_os_bsd.h | 313 #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 D | sctp_bsd_addr.c | 378 m = m_getm2(NULL, space_needed, how, type, want_header ? M_PKTHDR : 0);
|
/freebsd-9.3-release/sys/nfsserver/ |
H A D | nfsm_subs.h | 55 (((m)->m_flags & M_PKTHDR)?MHLEN:MLEN))
|
/freebsd-9.3-release/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 1418 * 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 D | ng_sscfu.c | 414 if (!(m->m_flags & M_PKTHDR)) { 473 if (!(m->m_flags & M_PKTHDR)) {
|
/freebsd-9.3-release/sys/dev/firewire/ |
H A D | if_fwip.c | 336 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 D | ql_isr.c | 122 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 D | send.c | 134 if (m->m_flags & M_PKTHDR)
|
H A D | frag6.c | 193 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 D | if_patm_rx.c | 409 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 D | sdp_rx.c | 111 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 D | qls_isr.c | 170 mp->m_flags |= M_PKTHDR;
|
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_device.c | 468 if ((m = m_uiotombuf(uio, M_DONTWAIT, 0, 0, M_PKTHDR)) == NULL)
|
H A D | ng_sppp.c | 359 KASSERT (m->m_flags & M_PKTHDR, ("%s: not pkthdr", __func__));
|
/freebsd-9.3-release/tools/regression/net80211/wep/ |
H A D | test_wep.c | 220 m = m_getcl(M_NOWAIT, MT_HEADER, M_PKTHDR);
|
/freebsd-9.3-release/sys/dev/hatm/ |
H A D | if_hatm_intr.c | 334 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 D | ixv.c | 2721 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...] |