Searched refs:ip_dst (Results 1 - 25 of 32) sorted by relevance

12

/external/tcpdump/
H A Dprint-icmp.c369 TCHECK(dp->icmp_ip.ip_dst);
376 ipaddr_string(&dp->icmp_ip.ip_dst),
392 ipaddr_string(&oip->ip_dst),
399 ipaddr_string(&oip->ip_dst),
406 ipaddr_string(&oip->ip_dst),
420 ipaddr_string(&dp->icmp_ip.ip_dst), mtu);
424 ipaddr_string(&dp->icmp_ip.ip_dst));
433 ipaddr_string(&dp->icmp_ip.ip_dst));
439 TCHECK(dp->icmp_ip.ip_dst);
443 ipaddr_string(&dp->icmp_ip.ip_dst),
[all...]
H A Dprint-tcp.c136 memcpy(&phu.ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t));
218 ipaddr_string(&ip->ip_dst));
266 ipaddr_string(&ip->ip_dst),
346 dst = &ip->ip_dst;
350 if (memcmp(src, dst, sizeof ip->ip_dst) > 0)
354 memcpy(&tha.src, dst, sizeof ip->ip_dst);
358 memcpy(&tha.dst, dst, sizeof ip->ip_dst);
366 dst = &ip->ip_dst;
370 if (memcmp(src, dst, sizeof ip->ip_dst) > 0)
374 memcpy(&tha.src, dst, sizeof ip->ip_dst);
[all...]
H A Dip.h64 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
H A Dprint-sunrpc.c98 ipaddr_string(&ip->ip_dst), dstid, length);
H A Dprint-ip.c128 memcpy(&retval, &ip->ip_dst.s_addr, sizeof(u_int32_t));
684 ipaddr_string(&ipds->ip->ip_dst));
698 ipaddr_string(&ipds->ip->ip_dst));
H A Dprint-udp.c309 memcpy(&phu.ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t));
401 ipaddr_string(&ip->ip_dst));
406 ipaddr_string(&ip->ip_dst),
H A Dprint-dccp.c84 memcpy(&phu.ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t));
263 ipaddr_string(&ip->ip_dst), dport);
H A Dprint-pgm.c194 ipaddr_string(&ip->ip_dst));
221 ipaddr_string(&ip->ip_dst),
H A Dprint-sctp.c118 ipaddr_string(&ip->ip_dst),
H A Dprint-nfs.c178 strlcpy(dstaddr, ipaddr_string(&ip->ip_dst), sizeof(dstaddr));
920 memcpy(&xmep->server, &ip->ip_dst, sizeof(ip->ip_dst));
961 memcmp(&ip->ip_dst, &xmep->client,
962 sizeof(ip->ip_dst)) != 0) {
H A Dprint-esp.c441 sin->sin_addr.s_addr == ip->ip_dst.s_addr) {
/external/qemu/slirp/
H A Dip_icmp.c113 if (ip->ip_dst.s_addr == alias_addr.s_addr) {
127 so->so_faddr = ip->ip_dst;
159 } /* if ip->ip_dst.s_addr == alias_addr.s_addr */
224 strcpy(bufb, inet_ntoa(ip->ip_dst));
304 ip->ip_dst = ip->ip_src; /* ip adresses */
358 icmp_dst = ip->ip_dst;
359 ip->ip_dst = ip->ip_src;
H A Dip_input.c137 if (memcmp(&ip->ip_dst.s_addr, &special_addr, 3)) {
138 if (ip->ip_dst.s_addr == 0xffffffff && ip->ip_p != IPPROTO_UDP)
141 int host = ntohl(ip->ip_dst.s_addr) & 0xff;
196 ip->ip_dst.s_addr == fp->ipq_dst.s_addr &&
301 fp->ipq_dst = ip->ip_dst;
405 ip->ip_dst = fp->ipq_dst;
513 dst = ip->ip_dst;
549 ipaddr.sin_addr = ip->ip_dst;
589 ip->ip_dst = ipaddr.sin_addr;
596 forward = !IN_MULTICAST(ntohl(ip->ip_dst
[all...]
H A Dtftp.c157 saddr.sin_addr = recv_tp->ip.ip_dst;
197 saddr.sin_addr = recv_tp->ip.ip_dst;
243 saddr.sin_addr = recv_tp->ip.ip_dst;
H A Dip.h93 struct in_addr ip_src,ip_dst; /* source and dest address */ member in struct:ip
H A Dudp.c176 tmp->so_faddr.s_addr = ip->ip_dst.s_addr;
219 so->so_faddr = ip->ip_dst; /* XXX */
/external/qemu/slirp-android/
H A Dip_icmp.c114 if (ip_geth(ip->ip_dst) == alias_addr_ip) {
131 so->so_faddr_ip = ip_geth(ip->ip_dst);
161 } /* if ip->ip_dst.s_addr == alias_addr.s_addr */
226 strcpy(bufb, inet_iptostr(ip_geth(ip->ip_dst)));
306 ip->ip_dst = ip->ip_src; /* ip adresses */
360 icmp_dst = ip->ip_dst;
361 ip->ip_dst = ip->ip_src;
H A Dip_input.c137 if (ip_geth(ip->ip_dst) != special_addr_ip) {
138 if (ip_getn(ip->ip_dst) == 0xffffffffu && ip->ip_p != IPPROTO_UDP)
141 int host = ip_geth(ip->ip_dst) & 0xff;
196 ip_equal(ip->ip_dst, fp->ipq_dst) &&
301 fp->ipq_dst = ip->ip_dst;
405 ip->ip_dst = fp->ipq_dst;
513 dst = ip->ip_dst;
549 ipaddr.sin_addr = ip->ip_dst;
589 ip->ip_dst = ipaddr.sin_addr;
596 forward = !IN_MULTICAST(ntohl(ip->ip_dst
[all...]
H A Dudp.c134 if (slirp_should_drop(ntohl(ip->ip_dst.addr), ntohs(uh->uh_dport.port),
140 ntohl(ip->ip_dst.addr),
151 ntohl(ip->ip_dst.addr),
226 tmp->so_faddr_ip = ip_geth(ip->ip_dst);
269 so->so_faddr_ip = ip_geth(ip->ip_dst); /* XXX */
H A Dtftp.c158 ip_geth(recv_tp->ip.ip_dst),
200 ip_geth(recv_tp->ip.ip_dst),
248 ip_geth(recv_tp->ip.ip_dst),
H A Dip.h95 ipaddr_t ip_src, ip_dst; /* source and dest address */ member in struct:ip
/external/dnsmasq/src/
H A Dbpf.c193 ip.ip_dst.s_addr = INADDR_BROADCAST;
198 ip.ip_dst.s_addr = mess->yiaddr.s_addr;
228 sum += ip.ip_dst.s_addr & 0xffff;
229 sum += (ip.ip_dst.s_addr >> 16) & 0xffff;
/external/libppp/src/
H A Dslcompress.c199 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr ||
220 && ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr
H A Dip.c272 ncpaddr_setip4(&dstaddr, pip->ip_dst);
600 ncpaddr_setip4(&dstaddr, pip->ip_dst);
/external/dhcpcd/
H A Dnet.c728 ip->ip_dst.s_addr = INADDR_BROADCAST;
730 ip->ip_dst.s_addr = dest.s_addr;

Completed in 253 milliseconds

12