/titanic_41/usr/src/uts/common/io/bpf/ |
H A D | bpf_filter.c | 54 #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 D | bpf.c | 100 #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 D | mbuf.c | 133 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 D | acl_api.c | 86 iocb.addr = mtod(m, uintptr_t); in smbfs_acl_iocget() 123 iocb.addr = mtod(m, uintptr_t); in smbfs_acl_iocset()
|
H A D | rq.c | 238 data = mtod(mbp->mb_top, char *); in smb_rq_simple() 264 krq.ioc_rbuf = mtod(m, char *); in smb_rq_simple()
|
H A D | nbns_rq.c | 480 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 D | ntlm.c | 686 uchar_t *p = mtod(lm_mbp->mb_top, uchar_t *); in ntlm2_kxkey()
|
/titanic_41/usr/src/uts/common/netsmb/ |
H A D | mchain.h | 134 #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 D | mbuf.h | 104 #define mtod(m, t) ((t)((m)->m_data)) macro
|
/titanic_41/usr/src/lib/libbc/inc/include/net/ |
H A D | if.h | 147 (ifp) = *(mtod((m), struct ifnet **)); \
|
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_iod.c | 337 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 D | if.h | 237 (ifp) = *(mtod((m), struct ifnet **)); \
|
/titanic_41/usr/src/uts/common/inet/ipf/ |
H A D | fil.c | 2779 (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 D | ip_compat.h | 612 # 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)
|