/vbox/src/VBox/Devices/Network/slirp/ |
H A D | ip_icmpwin.c | 132 struct ip *ip = mtod(m, struct ip *); 171 reqdata = mtod(m, char *) + sizeof(struct ip) + sizeof(struct icmp_echo); 222 struct ip *eip = mtod(em, struct ip *); 386 ip = mtod(m, struct ip *); 387 icmp = (struct icmp_echo *)(mtod(m, char *) + sizeof(*ip)); 450 ip = mtod(m, struct ip *); 483 ip = mtod(m, struct ip *); 484 icmp = (struct icmp_echo *)(mtod(m, char *) + sizeof(*ip)); 534 m->m_pkthdr.header = mtod(m, void *);
|
H A D | ip_output.c | 146 ip = mtod(m, struct ip *); 178 rc = LibAliasOut(pData->proxy_alias, mtod(m, char *), m_length(m, NULL)); 237 mhip = mtod(m, struct ip *); 239 m->m_pkthdr.header = mtod(m, void *); 307 rcLa = LibAliasOut(pData->proxy_alias, mtod(m, char *), m->m_len); 324 eh = mtod(m, struct ethhdr *);
|
H A D | ip_icmp.c | 190 ip0 = mtod(m0, struct ip *); 344 ip = mtod(m, struct ip *); 363 register struct ip *ip = mtod(m, struct ip *); 462 icp = (struct icmp *)(mtod(m, char *) + hlen); 571 oip = mtod(msrc, struct ip *); 609 ip = mtod(m, struct ip *); 688 register struct ip *ip = mtod(m, struct ip *); 699 icp = mtod(m, struct icmp *);
|
H A D | ip_input.c | 101 ip = mtod(m, struct ip *); 110 rc = LibAliasIn(pData->proxy_alias, mtod(m, char *), m_length(m, NULL)); 128 ip = mtod(m, struct ip *); 221 ip = mtod(m, struct ip *); 281 ip = mtod(m, struct ip *); 517 ip = mtod(m, struct ip *); /*update ip pointer */ 637 struct ip *ip = mtod(m, struct ip *);
|
H A D | cksum.c | 90 w = mtod(m, u_int16_t *);
|
H A D | tcp_output.c | 413 m->m_pkthdr.header = mtod(m, void *); 424 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 484 m->m_pkthdr.header = mtod(m, void *); 508 ti = mtod(m, struct tcpiphdr *); 653 m->m_pkthdr.header = mtod(m, void *);
|
H A D | tftp.c | 582 m->m_pkthdr.header = mtod(m, void *); 583 pTftpIpHeader = mtod(m, PTFTPIPHDR); 623 m->m_pkthdr.header = mtod(m, void *); 624 pTftpIpHeader = mtod(m, PTFTPIPHDR); 663 m->m_pkthdr.header = mtod(m, void *); 664 pTftpIpHeader = mtod(m, PTFTPIPHDR); 781 pTftpIpHeader = mtod(pMbuf, PTFTPIPHDR);
|
H A D | bootp.c | 214 eh = mtod(m, struct ethhdr *); 219 rbp = mtod(m, struct bootp_t *); 257 rbp = mtod(m, struct bootp_t *); 815 rbp = mtod(m, struct bootp_t *); 828 m->m_pkthdr.header = mtod(m, void *); 846 struct bootp_t *bp = mtod(m, struct bootp_t *);
|
H A D | tcp_subr.c | 142 m->m_pkthdr.header = mtod(m, void *); 143 *mtod(m, struct tcpiphdr *) = *ti; 144 ti = mtod(m, struct tcpiphdr *);
|
H A D | udp.c | 98 ip = mtod(m, struct ip *); 118 ip = mtod(m, struct ip *); 421 ui = mtod(m, struct udpiphdr *);
|
H A D | slirp.c | 1285 pEtherHeaderResponse = mtod(pMbufResponse, struct ethhdr *); 1289 pARPHeaderResponse = mtod(pMbufResponse, struct arphdr *); 1326 pEtherHeader = mtod(m, struct ethhdr *); 1390 eh = mtod(m, struct ethhdr *); 1407 m->m_pkthdr.header = mtod(m, void *); 1449 eh = mtod(m, struct ethhdr *); 1483 mbuf = mtod(m, uint8_t *); 1913 ehdr = mtod(m, struct ethhdr *);
|
H A D | sbuf.c | 158 buf = mtod(m, char *);
|
H A D | socket.c | 717 m->m_pkthdr.header = mtod(m, void *); 722 iov[0].iov_base = mtod(m, char *); 1238 struct ip *ip0 = mtod(m, struct ip *); 1261 ip = mtod(m, struct ip *); 1277 ip = mtod(m, struct ip *); /* ip is from mbuf we've overrided */
|
H A D | tcp_input.c | 359 ip = mtod(m, struct ip *); 388 ti = mtod(m, struct tcpiphdr *); 429 optp = mtod(m, caddr_t) + sizeof (struct tcpiphdr); 1794 m->m_pkthdr.header = mtod(m, void *); 1893 char *cp = mtod(m, caddr_t) + cnt;
|
H A D | misc.c | 517 *ppvBuf = mtod(m, void *); 528 && pu8Buf != mtod(m, uint8_t *))
|
/vbox/src/VBox/Devices/Network/slirp/bsd/kern/ |
H A D | uipc_mbuf.c | 643 bcopy(mtod(m, caddr_t)+off, mtod(n, caddr_t), 744 m_apply(n, off, len, m_bcopyxxx, mtod(mm, caddr_t) + 751 mm->m_data = mtod(mm, caddr_t) - len; 752 m_apply(n, off, len, m_bcopyxxx, mtod(mm, caddr_t)); 822 m_apply(n, off, i, m_bcopyxxx, mtod(z, caddr_t) + z->m_len); 866 bcopy(mtod(m, char *), mtod(n, char *), n->m_len); 883 bcopy(mtod(m, char *), mtod( [all...] |
H A D | uipc_mbuf2.c | 246 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); 259 bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen); 292 bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen); 295 m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len); 376 m_copydata(m, off, len, mtod(n, caddr_t));
|
/vbox/src/VBox/Devices/Network/slirp/bsd/i386/ |
H A D | in_cksum.c | 220 addr = mtod(m, caddr_t) + skip; 231 addr = mtod(m, caddr_t); 284 w = (u_short *)(mtod(m, u_char *) + skip); 294 w = mtod(m, u_short *);
|
/vbox/src/VBox/Devices/Network/slirp/bsd/amd64/ |
H A D | in_cksum.c | 212 addr = mtod(m, caddr_t) + skip; 223 addr = mtod(m, caddr_t);
|
/vbox/src/VBox/Devices/Network/slirp/dnsproxy/ |
H A D | dnsproxy.c | 156 ip = mtod(m, struct ip *); 326 ip = mtod(m, struct ip *); 528 buf = mtod(m, char *);
|
/vbox/src/VBox/Devices/Network/slirp/bsd/sys/ |
H A D | mbuf.h | 109 * mtod(m, t) -- Convert mbuf pointer to data pointer of correct type. 112 #define mtod(m, t) ((t)((m)->m_data)) macro
|
/vbox/src/VBox/HostDrivers/VBoxNetFlt/freebsd/ |
H A D | VBoxNetFlt-freebsd.c | 222 pSG->aSegs[i].pv = mtod(m0, uint8_t *);
|
/vbox/src/VBox/Devices/Network/slirp/libalias/ |
H A D | alias.c | 1741 m_copydata(m, 0, len, mtod(mcl, caddr_t));
|