HomeSort by: relevance | last modified time | path
    Searched defs:mtod (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/net/npf/
npf_sendpkt.c 61 #define mtod(m,t) ((t)((npc)->npc_ctx->mbufops->getdata(m))) macro
135 ip = mtod(m, struct ip *);
152 ip6 = mtod(m, struct ip6_hdr *);
229 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
npf_mbuf.c 61 #define mtod(m,t) ((t)((nbuf)->nb_mops->getdata(m))) macro
94 nbuf->nb_nptr = mtod(m, void *);
108 const unsigned off = (uintptr_t)nbuf->nb_nptr - mtod(m, uintptr_t);
147 off = (uintptr_t)nbuf->nb_nptr - mtod(m, uintptr_t) + len;
165 d = mtod(m, uint8_t *);
190 const size_t off = (uintptr_t)nbuf->nb_nptr - mtod(n, uintptr_t);
229 nbuf->nb_nptr = mtod(m, uint8_t *) + foff;
244 const unsigned off = (uintptr_t)nbuf->nb_nptr - mtod(m, uintptr_t);
264 nbuf->nb_nptr = mtod(m, uint8_t *) + off;
  /src/usr.sbin/npf/npftest/libnpftest/
npf_test.h 80 #define mtod(m, t) ((t)((m)->m_data)) macro
  /src/sys/sys/
mbuf.h 145 * mtod(m,t) - convert mbuf pointer to data pointer of correct type
147 #define mtod(m, t) ((t)((m)->m_data)) macro
614 (val) = (typ)(mtod((m), char *) + (off)); \
620 (val) = (typ)(mtod(_t, char *) + _tmp); \
857 if (((uintptr_t)mtod(*m, void *) & mask) != 0)

Completed in 14 milliseconds