Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-tcp.c180 ipaddr_string(&ip->ip_src),
207 ipaddr_string(&ip->ip_src),
314 src = &ip->ip_src;
324 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip->ip_src);
328 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip->ip_src);
819 MD5_Update(&ctx, (char *)&ip->ip_src, sizeof(ip->ip_src));
Dprint-ip.c152 UNALIGNED_MEMCPY(&ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); in nextproto4_cksum()
468 ipaddr_string(&ipds->ip->ip_src), in ip_print_demux()
474 ipaddr_string(&ipds->ip->ip_src), in ip_print_demux()
648 ipaddr_string(&ipds->ip->ip_src), in ip_print()
662 (void)printf("%s > %s:", ipaddr_string(&ipds->ip->ip_src), in ip_print()
Dip.h64 struct in_addr ip_src,ip_dst; /* source and dest address */ member
Dprint-sunrpc.c112 ipaddr_string(&ip->ip_src), srcid, in sunrpcrequest_print()
Dprint-nfs.c177 strlcpy(srcaddr, ipaddr_string(&ip->ip_src), sizeof(srcaddr)); in print_nfsaddr()
1000 UNALIGNED_MEMCPY(&xmep->client, &ip->ip_src, sizeof(ip->ip_src)); in xid_map_enter()
1041 if (UNALIGNED_MEMCMP(&ip->ip_src, &xmep->server, in xid_map_find()
1042 sizeof(ip->ip_src)) != 0 || in xid_map_find()
Dprint-pgm.c202 ipaddr_string(&ip->ip_src), in pgm_print()
228 ipaddr_string(&ip->ip_src), in pgm_print()
Dprint-udp.c339 ipaddr_string(&ip->ip_src), in udpipaddr_print()
343 ipaddr_string(&ip->ip_src), in udpipaddr_print()
Dprint-sctp.c141 ipaddr_string(&ip->ip_src), in sctp_print()
Dprint-dccp.c214 ipaddr_string(&ip->ip_src), sport, in dccp_print()
Dprint-isakmp.c294 UNALIGNED_MEMCPY(&sin->sin_addr, &ip->ip_src, sizeof(ip->ip_src)); in cookie_record()
355 UNALIGNED_MEMCPY(&sin->sin_addr, &ip->ip_src, sizeof(ip->ip_src)); in cookie_sidecheck()
Dprint-rx.c616 rxent->client = ip->ip_src; in rx_cache_insert()
637 u_int32_t sip = ip->ip_src.s_addr; in rx_cache_find()
Dprint-pim.c762 ipaddr_string(&ip->ip_src), in pimv2_print()
/external/dnsmasq/src/
Dbpf.c202 ip.ip_src.s_addr = iface_addr.s_addr; in send_via_bpf()
226 sum += ip.ip_src.s_addr & 0xffff; in send_via_bpf()
227 sum += (ip.ip_src.s_addr >> 16) & 0xffff; in send_via_bpf()
/external/dhcpcd/
Dnet.c726 ip->ip_src.s_addr = source.s_addr; in make_udp_packet()
776 from->s_addr = packet.ip.ip_src.s_addr; in valid_udp_packet()