/external/qemu/slirp/ |
D | ip_icmp.c | 74 register struct ip *ip=mtod(m, struct ip *); in icmp_input() 97 icp = mtod(m, struct icmp *); in icmp_input() 220 ip = mtod(msrc, struct ip *); in icmp_error() 251 ip = mtod(m, struct ip *); in icmp_error() 258 icp = mtod(m, struct icmp *); in icmp_error() 322 register struct ip *ip = mtod(m, struct ip *); in icmp_reflect() 333 icp = mtod(m, struct icmp *); in icmp_reflect()
|
D | ip_output.c | 73 ip = mtod(m, struct ip *); in ip_output() 142 mhip = mtod(m, struct ip *); in ip_output()
|
D | udp.c | 104 ip = mtod(m, struct ip *); in udp_input() 278 ui = mtod(m, struct udpiphdr *); in udp_output2() 467 omsg = mtod(m, CTL_MSG_OLD*); in udp_emu() 475 nmsg = mtod(m, CTL_MSG *); in udp_emu() 620 cu_head = mtod(m, struct cu_header *); in udp_emu()
|
D | ip_input.c | 92 ip = mtod(m, struct ip *); in ip_input() 294 fp = mtod(t, struct ipq *); in ip_reass() 503 register struct ip *ip = mtod(m, struct ip *); 707 struct ip *ip = mtod(m, struct ip *);
|
D | mbuf.h | 46 #define mtod(m,t) ((t)(m)->m_data) macro
|
D | cksum.c | 65 w = mtod(m, u_int16_t *); in cksum()
|
D | tcp_output.c | 361 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 398 ti = mtod(m, struct tcpiphdr *);
|
D | tcp_input.c | 278 ti = mtod(m, struct tcpiphdr *); in tcp_input() 290 ip=mtod(m, struct ip *); in tcp_input() 324 optp = mtod(m, caddr_t) + sizeof (struct tcpiphdr); in tcp_input() 1584 char *cp = mtod(m, caddr_t) + cnt;
|
D | tcp_subr.c | 128 *mtod(m, struct tcpiphdr *) = *ti; in tcp_respond() 129 ti = mtod(m, struct tcpiphdr *); in tcp_respond() 883 rxdata=mtod(m, char *); in tcp_emu()
|
D | bootp.c | 321 struct bootp_t *bp = mtod(m, struct bootp_t *); in bootp_input()
|
/external/qemu/slirp-android/ |
D | ip_icmp.c | 75 register struct ip *ip=mtod(m, struct ip *); in icmp_input() 98 icp = mtod(m, struct icmp *); in icmp_input() 222 ip = mtod(msrc, struct ip *); in icmp_error() 253 ip = mtod(m, struct ip *); in icmp_error() 260 icp = mtod(m, struct icmp *); in icmp_error() 324 register struct ip *ip = mtod(m, struct ip *); in icmp_reflect() 335 icp = mtod(m, struct icmp *); in icmp_reflect()
|
D | ip_output.c | 73 ip = mtod(m, struct ip *); in ip_output() 142 mhip = mtod(m, struct ip *); in ip_output()
|
D | udp.c | 106 ip = mtod(m, struct ip *); in udp_input() 285 ui = mtod(m, struct udpiphdr *); in udp_output2_() 421 cu_head = mtod(m, struct cu_header *); in udp_emu()
|
D | ip_input.c | 92 ip = mtod(m, struct ip *); in ip_input() 294 fp = mtod(t, struct ipq *); in ip_reass() 503 register struct ip *ip = mtod(m, struct ip *); 707 struct ip *ip = mtod(m, struct ip *);
|
D | mbuf.h | 46 #define mtod(m,t) ((t)(m)->m_data) macro
|
D | cksum.c | 65 w = mtod(m, u_int16_t *); in cksum()
|
D | tcp_output.c | 361 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 398 ti = mtod(m, struct tcpiphdr *);
|
D | tcp_input.c | 278 ti = mtod(m, struct tcpiphdr *); in tcp_input() 290 ip=mtod(m, struct ip *); in tcp_input() 324 optp = mtod(m, caddr_t) + sizeof (struct tcpiphdr); in tcp_input() 1589 char *cp = mtod(m, caddr_t) + cnt;
|
D | bootp.c | 325 struct bootp_t *bp = mtod(m, struct bootp_t *); in bootp_input()
|
D | tcp_subr.c | 130 *mtod(m, struct tcpiphdr *) = *ti; in tcp_respond() 131 ti = mtod(m, struct tcpiphdr *); in tcp_respond()
|
/external/libpcap/bpf/net/ |
D | bpf_filter.c | 67 # define mtod(m,t) ((t)(m)->b_rptr) macro 142 cp = mtod(m, u_char *) + k; 151 np = mtod(m0, u_char *); 178 cp = mtod(m, u_char *) + k; 187 return (cp[0] << 8) | mtod(m0, u_char *)[0]; 217 p = mtod(m, u_char *); 289 A = mtod(n, u_char *)[k]; 348 A = mtod(n, u_char *)[k]; 365 X = (mtod(n, char *)[k] & 0xf) << 2;
|
/external/ipsec-tools/src/libipsec/ |
D | key_debug.c | 769 printf("%02x", mtod(m, u_char *)[i]);
|