Home
last modified time | relevance | path

Searched refs:mtod (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c54 #define mtod(_a, _t) ((_t)((_a)->b_rptr)) macro
79 cp = mtod(m, uchar_t *) + k; in m_xword()
90 np = mtod(m0, uchar_t *); in m_xword()
113 cp = mtod(m, uchar_t *) + k; in m_xhalf()
124 return ((cp[0] << 8) | mtod(m0, uchar_t *)[0]); in m_xhalf()
222 A = mtod(m, uchar_t *)[k]; in bpf_filter()
288 A = mtod(m, uchar_t *)[k]; in bpf_filter()
308 X = (mtod(m, char *)[k] & 0xf) << 2; in bpf_filter()
H A Dbpf.c100 #define mtod(_v, _t) (_t)((_v)->b_rptr) macro
224 error = uiomove(mtod(m, void *), len, UIO_WRITE, uio); in bpf_movein()
1462 (void) memcpy(dst, mtod(m, const void *), count); in bpf_mcpy()
1522 marg = mtod(m, void *); in bpf_mtap()
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dmbuf.c133 dp = mtod(nm, char *); in m_lineup()
170 mbp->mb_pos = mtod(m, char *); in mb_initm()
237 mbp->mb_pos = mtod(mn, char *); in mb_fit()
322 dst = mtod(m, char *) + m->m_len; in mb_put_mem()
332 mbp->mb_pos = mtod(m, char *) + m->m_len; in mb_put_mem()
363 mbp->mb_pos = mtod(m, char *) + m->m_len; in mb_put_mbuf()
429 #define mb_left(m, p) (mtod(m, char *) + (m)->m_len - (p))
531 mbp->mb_pos = mtod(m, char *); in md_get_mem()
H A Dacl_api.c86 iocb.addr = mtod(m, uintptr_t); in smbfs_acl_iocget()
123 iocb.addr = mtod(m, uintptr_t); in smbfs_acl_iocset()
H A Drq.c238 data = mtod(mbp->mb_top, char *); in smb_rq_simple()
264 krq.ioc_rbuf = mtod(m, char *); in smb_rq_simple()
H A Dnbns_rq.c480 void *rpdata = mtod(mbp->mb_top, void *); in nbns_rq_recv()
558 datap = mtod(mbp->mb_top, uint16_t *); in nbns_rq_send()
565 rc = sendto(s, mtod(mbp->mb_top, char *), mbp->mb_count, 0, in nbns_rq_send()
H A Dntlm.c686 uchar_t *p = mtod(lm_mbp->mb_top, uchar_t *); in ntlm2_kxkey()
/titanic_41/usr/src/uts/common/netsmb/
H A Dmchain.h134 #define mtod(m, t) ((t)((m)->b_rptr)) macro
160 #define mtod(m, t) ((t)(m)->m_data) macro
/titanic_41/usr/src/uts/common/smbsrv/
H A Dmbuf.h104 #define mtod(m, t) ((t)((m)->m_data)) macro
/titanic_41/usr/src/lib/libbc/inc/include/net/
H A Dif.h147 (ifp) = *(mtod((m), struct ifnet **)); \
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_iod.c337 hp = mtod(m, uchar_t *); in smb_iod_recv1()
484 hp = mtod(m, uchar_t *); in smb_iod_recvall()
/titanic_41/usr/src/uts/common/net/
H A Dif.h237 (ifp) = *(mtod((m), struct ifnet **)); \
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dfil.c2779 (mtod(fin->fin_m, struct ip *) != fin->fin_ip)) {
3110 if ((caddr_t)ip != mtod(m, caddr_t)) {
3114 sp = (u_short *)(mtod(m, caddr_t) + add);
3121 sp = mtod(m, u_short *);
3134 if (((caddr_t)sp - mtod(m, caddr_t)) >= m->m_len) {
3137 sp = mtod(m, u_short *);
3139 if (((caddr_t)(sp + 1) - mtod(m, caddr_t)) > m->m_len) {
3143 sp = mtod(m, u_short *);
3240 bcopy(mtod(m, caddr_t) + off, cp, count);
3281 bcopy(cp, off + mtod(m, caddr_t), (unsigned)mlen);
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h612 # define MTOD(m,t) mtod(m,t)
699 # define MTOD(m,t) mtod(m,t)
1163 # define mtod(m, t) ((t)(m)->data) macro
1646 # define MTOD(m,t) mtod(m,t)