Home
last modified time | relevance | path

Searched refs:ip_src (Results 1 – 19 of 19) sorted by relevance

/external/qemu/slirp2/
Dip_icmp.c137 so->so_laddr_ip = ip_geth(ip->ip_src);
233 strcpy(bufa, inet_iptostr(ip_geth(ip->ip_src)));
314 ip->ip_dst = ip->ip_src; /* ip adresses */
315 ip->ip_src = ip_setn(alias_addr_ip);
370 ip->ip_dst = ip->ip_src;
371 ip->ip_src = icmp_dst;
Dip_input.c171 ip_equal(ip->ip_src, fp->ipq_src) &&
279 fp->ipq_src = ip->ip_src;
280 fp->ipq_dst = ip->ip_src;
384 ip->ip_src = fp->ipq_src;
551 save_rte(cp, ip->ip_src);
Dudp.c170 so->so_laddr_ip != ip_geth(ip->ip_src)) {
175 tmp->so_laddr_ip == ip_geth(ip->ip_src)) {
207 so->so_laddr_ip = ip_geth(ip->ip_src);
Dtftp.c74 spt->client_ip = ip_geth(tp->ip.ip_src); in tftp_session_allocate()
91 if (spt->client_ip == ip_geth(tp->ip.ip_src)) { in tftp_session_find()
Dip.h99 ipaddr_t ip_src, ip_dst; /* source and dest address */ member
/external/tcpdump/
Dprint-tcp.c134 memcpy(&phu.ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); in tcp_cksum()
217 ipaddr_string(&ip->ip_src), in tcp_print()
264 ipaddr_string(&ip->ip_src), in tcp_print()
345 src = &ip->ip_src; in tcp_print()
355 memcpy(&tha.dst, src, sizeof ip->ip_src); in tcp_print()
359 memcpy(&tha.src, src, sizeof ip->ip_src); in tcp_print()
365 src = &ip->ip_src; in tcp_print()
375 memcpy(&tha.dst, src, sizeof ip->ip_src); in tcp_print()
379 memcpy(&tha.src, src, sizeof ip->ip_src); in tcp_print()
759 MD5_Update(&ctx, (char *)&ip->ip_src, sizeof(ip->ip_src)); in tcp_verify_signature()
Dip.h64 struct in_addr ip_src,ip_dst; /* source and dest address */ member
Dprint-sunrpc.c97 ipaddr_string(&ip->ip_src), srcid, in sunrpcrequest_print()
Dprint-udp.c307 memcpy(&phu.ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); in udp_cksum()
400 ipaddr_string(&ip->ip_src), in udpipaddr_print()
404 ipaddr_string(&ip->ip_src), in udpipaddr_print()
Dprint-dccp.c82 memcpy(&phu.ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); in dccp_cksum()
262 ipaddr_string(&ip->ip_src), sport, in dccp_print()
Dprint-nfs.c177 strlcpy(srcaddr, ipaddr_string(&ip->ip_src), sizeof(srcaddr)); in print_nfsaddr()
919 memcpy(&xmep->client, &ip->ip_src, sizeof(ip->ip_src)); in xid_map_enter()
959 if (memcmp(&ip->ip_src, &xmep->server, in xid_map_find()
960 sizeof(ip->ip_src)) != 0 || in xid_map_find()
Dprint-pgm.c193 ipaddr_string(&ip->ip_src), in pgm_print()
219 ipaddr_string(&ip->ip_src), in pgm_print()
Dprint-ip.c683 ipaddr_string(&ipds->ip->ip_src), in ip_print()
697 (void)printf("%s > %s:", ipaddr_string(&ipds->ip->ip_src), in ip_print()
Dprint-sctp.c116 ipaddr_string(&ip->ip_src), in sctp_print()
Dprint-isakmp.c207 memcpy(&sin->sin_addr, &ip->ip_src, sizeof(ip->ip_src)); in cookie_record()
268 memcpy(&sin->sin_addr, &ip->ip_src, sizeof(ip->ip_src)); in cookie_sidecheck()
Dprint-rx.c601 rxent->client = ip->ip_src; in rx_cache_insert()
622 u_int32_t sip = ip->ip_src.s_addr; in rx_cache_find()
Dprint-pim.c764 ipaddr_string(&ip->ip_src), in pimv2_print()
/external/dhcpcd/
Dnet.c599 ip->ip_src.s_addr = source.s_addr; in make_udp_packet()
660 memcpy(&source, &packet.ip.ip_src, sizeof(packet.ip.ip_src)); in valid_udp_packet()
666 memcpy(&packet.ip.ip_src, &source, sizeof(packet.ip.ip_src)); in valid_udp_packet()
/external/bluez/hcidump/parser/
Dtcpip.c88 memcpy(&sai.sin_addr, &ip->ip_src, sizeof(struct in_addr)); in ip_dump()