/external/chromium_org/third_party/usrsctp/usrsctplib/ |
H A D | user_ip6_var.h | 112 (val) = (typ)(mtod((m), caddr_t) + (off)); \ 118 (val) = (typ)(mtod(t, caddr_t) + tmp); \
|
H A D | user_mbuf.c | 700 * and in the data area of an mbuf (so that mtod and dtom 738 bcopy(mtod(n, caddr_t), mtod(m, caddr_t) + m->m_len, 793 m_copydata(m, off, len, mtod(n, caddr_t)); 895 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); 905 bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen); 927 bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen); 930 m_copydata(n->m_next, 0, tlen, mtod( [all...] |
H A D | user_mbuf.h | 90 * mtod(m, t) -- Convert mbuf pointer to data pointer of correct type. 93 #define mtod(m, t) ((t)((m)->m_data)) macro
|
H A D | user_recv_thread.c | 384 iphdr = mtod(recvmbuf[0], struct ip *); 589 sh = mtod(recvmbuf6[0], struct sctphdr *); 806 sh = mtod(udprecvmbuf[0], struct sctphdr *); 996 sh = mtod(udprecvmbuf6[0], struct sctphdr *);
|
/external/qemu/slirp/ |
H A D | ip_icmp.c | 74 register struct ip *ip=mtod(m, struct ip *); 97 icp = mtod(m, struct icmp *); 220 ip = mtod(msrc, struct ip *); 251 ip = mtod(m, struct ip *); 258 icp = mtod(m, struct icmp *); 322 register struct ip *ip = mtod(m, struct ip *); 333 icp = mtod(m, struct icmp *);
|
H A D | ip_output.c | 73 ip = mtod(m, struct ip *); 142 mhip = mtod(m, struct ip *);
|
H A D | cksum.c | 65 w = mtod(m, u_int16_t *);
|
H A D | mbuf.h | 43 * mtod(m,t) - convert mbuf pointer to data pointer of correct type 46 #define mtod(m,t) ((t)(m)->m_data) macro
|
H A D | udp.c | 104 ip = mtod(m, struct ip *); 278 ui = mtod(m, struct udpiphdr *); 467 omsg = mtod(m, CTL_MSG_OLD*); 475 nmsg = mtod(m, CTL_MSG *); 620 cu_head = mtod(m, struct cu_header *);
|
H A D | ip_input.c | 92 ip = mtod(m, struct ip *); 294 fp = mtod(t, struct ipq *); 503 register struct ip *ip = mtod(m, struct ip *); 707 struct ip *ip = mtod(m, struct ip *);
|
H A D | tcp_output.c | 361 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 398 ti = mtod(m, struct tcpiphdr *);
|
H A D | bootp.c | 321 struct bootp_t *bp = mtod(m, struct bootp_t *);
|
/external/qemu/slirp-android/ |
H A D | ip_icmp.c | 75 register struct ip *ip=mtod(m, struct ip *); 98 icp = mtod(m, struct icmp *); 222 ip = mtod(msrc, struct ip *); 253 ip = mtod(m, struct ip *); 260 icp = mtod(m, struct icmp *); 324 register struct ip *ip = mtod(m, struct ip *); 335 icp = mtod(m, struct icmp *);
|
H A D | ip_output.c | 73 ip = mtod(m, struct ip *); 142 mhip = mtod(m, struct ip *);
|
H A D | cksum.c | 65 w = mtod(m, u_int16_t *);
|
H A D | mbuf.h | 43 * mtod(m,t) - convert mbuf pointer to data pointer of correct type 46 #define mtod(m,t) ((t)(m)->m_data) macro
|
H A D | udp.c | 111 ip = mtod(m, struct ip *); 333 ui = mtod(m, struct udpiphdr *); 476 cu_head = mtod(m, struct cu_header *);
|
H A D | ip_input.c | 92 ip = mtod(m, struct ip *); 294 fp = mtod(t, struct ipq *); 503 register struct ip *ip = mtod(m, struct ip *); 707 struct ip *ip = mtod(m, struct ip *);
|
H A D | tcp_output.c | 361 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 398 ti = mtod(m, struct tcpiphdr *);
|
H A D | bootp.c | 325 struct bootp_t *bp = mtod(m, struct bootp_t *);
|
/external/libpcap/bpf/net/ |
H A D | bpf_filter.c | 76 # define mtod(m,t) ((t)(m)->b_rptr) macro 151 cp = mtod(m, u_char *) + k; 160 np = mtod(m0, u_char *); 187 cp = mtod(m, u_char *) + k; 196 return (cp[0] << 8) | mtod(m0, u_char *)[0]; 226 p = mtod(m, u_char *); 298 A = mtod(n, u_char *)[k]; 357 A = mtod(n, u_char *)[k]; 374 X = (mtod(n, char *)[k] & 0xf) << 2;
|
/external/libpcap/ |
H A D | bpf_filter.c | 76 # define mtod(m,t) ((t)(m)->b_rptr) macro 151 cp = mtod(m, u_char *) + k; 160 np = mtod(m0, u_char *); 187 cp = mtod(m, u_char *) + k; 196 return (cp[0] << 8) | mtod(m0, u_char *)[0]; 226 p = mtod(m, u_char *); 298 A = mtod(n, u_char *)[k]; 357 A = mtod(n, u_char *)[k]; 374 X = (mtod(n, char *)[k] & 0xf) << 2;
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
H A D | sctp6_usrreq.c | 229 ip6 = mtod(m, struct ip6_hdr *); 854 struct sockaddr *addr = nam ? mtod(nam, struct sockaddr *): NULL; 1046 struct sockaddr *addr = nam ? mtod(nam, struct sockaddr *): NULL; 1178 struct sockaddr *addr = mtod(nam, struct sockaddr *); 1342 struct sockaddr_in6 *sin6 = mtod(nam, struct sockaddr_in6 *); 1476 struct sockaddr_in6 *sin6 = mtod(nam, struct sockaddr_in6 *); 1576 struct sockaddr *addr = mtod(nam, struct sockaddr *); 1583 struct sockaddr *addr = mtod(nam, struct sockaddr *); 1639 struct sockaddr *addr = mtod(nam, struct sockaddr *); 1647 struct sockaddr *addr = mtod(na [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_output.c | 2014 parmh = mtod(mret, struct sctp_paramhdr *); 2182 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); 2260 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); 3974 ph = mtod(mret, struct sctp_paramhdr *); 4015 foo = (uint8_t *) (mtod(sig, caddr_t) + sig_offset); 4216 ip = mtod(m, struct ip *); 4578 ip6h = mtod(m, struct ip6_hdr *); 5010 sctphdr = mtod(m, struct sctphdr *); 5118 init = mtod(m, struct sctp_init_chunk *); 5136 ali = (struct sctp_adaptation_layer_indication *)(mtod( [all...] |
H A D | sctputil.c | 2628 return (mtod(m, caddr_t) + off); 2633 bcopy(mtod(m, caddr_t) + off, ptr, count); 2685 dp = mtod(m_last, caddr_t) + SCTP_BUF_LEN(m_last); 2748 sac = mtod(m_notify, struct sctp_assoc_change *); 2876 spc = mtod(m_notify, struct sctp_paddr_change *); 2984 ssfe = mtod(m_notify, struct sctp_send_failed_event *); 3005 ssf = mtod(m_notify, struct sctp_send_failed *); 3101 ssfe = mtod(m_notify, struct sctp_send_failed_event *); 3121 ssf = mtod(m_notify, struct sctp_send_failed *); 3190 sai = mtod(m_notif [all...] |