Home
last modified time | relevance | path

Searched refs:ip_dst (Results 1 – 25 of 27) sorted by relevance

12

/minix3/sys/lib/libsa/
H A Dip.c70 if (ip->ip_dst.s_addr == INADDR_BROADCAST || ip->ip_src.s_addr == 0 || in _sendip()
71 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) { in _sendip()
72 ea = arpwhohas(d, ip->ip_dst); in _sendip()
101 ip->ip_dst = d->destip; in sendip()
180 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) { in readip()
184 printf("%s\n", inet_ntoa(ip->ip_dst)); in readip()
H A Drpc.c292 n_long ip_dst; in rpc_fromaddr() member
/minix3/external/bsd/tcpdump/dist/
H A Dprint-icmp.c371 ND_TCHECK(dp->icmp_ip.ip_dst); in icmp_print()
378 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), in icmp_print()
394 ipaddr_string(ndo, &oip->ip_dst), in icmp_print()
401 ipaddr_string(ndo, &oip->ip_dst), in icmp_print()
408 ipaddr_string(ndo, &oip->ip_dst), in icmp_print()
422 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), mtu); in icmp_print()
426 ipaddr_string(ndo, &dp->icmp_ip.ip_dst)); in icmp_print()
435 ipaddr_string(ndo, &dp->icmp_ip.ip_dst)); in icmp_print()
441 ND_TCHECK(dp->icmp_ip.ip_dst); in icmp_print()
445 ipaddr_string(ndo, &dp->icmp_ip.ip_dst), in icmp_print()
[all …]
H A Dprint-tcp.c183 ipaddr_string(ndo, &ip->ip_dst)));
211 ipaddr_string(ndo, &ip->ip_dst),
317 dst = &ip->ip_dst;
321 if (UNALIGNED_MEMCMP(src, dst, sizeof ip->ip_dst) > 0)
325 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip->ip_dst);
329 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip->ip_dst);
836 MD5_Update(&ctx, (char *)&ip->ip_dst, sizeof(ip->ip_dst));
H A Dprint-ip.c131 UNALIGNED_MEMCPY(&retval, &ip->ip_dst.s_addr, sizeof(uint32_t)); in ip_finddst()
158 UNALIGNED_MEMCPY(&ph.dst, &ip->ip_dst.s_addr, sizeof(uint32_t)); in nextproto4_cksum()
473 ipaddr_string(ndo, &ipds->ip->ip_dst))); in ip_print_demux()
479 ipaddr_string(ndo, &ipds->ip->ip_dst))); in ip_print_demux()
657 ipaddr_string(ndo, &ipds->ip->ip_dst))); in ip_print()
671 ipaddr_string(ndo, &ipds->ip->ip_dst))); in ip_print()
H A Dip.h64 struct in_addr ip_src,ip_dst; /* source and dest address */ member
H A Dprint-sunrpc.c202 ipaddr_string(ndo, &ip->ip_dst), dstid, length)); in sunrpcrequest_print()
H A Dprint-nfs.c227 strlcpy(dstaddr, ipaddr_string(ndo, &ip->ip_dst), sizeof(dstaddr)); in print_nfsaddr()
917 UNALIGNED_MEMCPY(&xmep->server, &ip->ip_dst, sizeof(ip->ip_dst)); in xid_map_enter()
959 UNALIGNED_MEMCMP(&ip->ip_dst, &xmep->client, in xid_map_find()
960 sizeof(ip->ip_dst)) != 0) { in xid_map_find()
H A Dprint-pgm.c197 ipaddr_string(ndo, &ip->ip_dst))); in pgm_print()
224 ipaddr_string(ndo, &ip->ip_dst), in pgm_print()
H A Dprint-udp.c334 ipaddr_string(ndo, &ip->ip_dst))); in udpipaddr_print()
339 ipaddr_string(ndo, &ip->ip_dst), in udpipaddr_print()
H A Dprint-sctp.c558 ipaddr_string(ndo, &ip->ip_dst), in sctp_print()
H A Dprint-dccp.c334 ipaddr_string(ndo, &ip->ip_dst), dport)); in dccp_print()
H A Dprint-esp.c655 UNALIGNED_MEMCMP(&sa->daddr.in4, &ip->ip_dst, in esp_print()
H A Dprint-rx.c698 rxent->server = ip->ip_dst; in rx_cache_insert()
717 uint32_t clip = ip->ip_dst.s_addr; in rx_cache_find()
H A Dprint-pim.c770 ipaddr_string(ndo, &ip->ip_dst))); in pimv2_print()
/minix3/external/bsd/dhcp/dist/includes/netinet/
H A Dip.h60 struct in_addr ip_src, ip_dst; /* source and dest address */ member
/minix3/sys/netinet/
H A Din_pcb.h99 #define inp_faddr inp_ip.ip_dst
H A Dip.h68 struct in_addr ip_src, ip_dst; /* source and dest address */ member
H A Din.h257 struct in_addr ip_dst; /* first hop, 0 w/o src rt */ member
/minix3/usr.sbin/traceroute/
H A Dtraceroute.c695 outip->ip_dst.s_addr = gwlist[0]; in main()
708 outip->ip_dst = to->sin_addr; in main()
1507 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code); in packet_ok()
1552 Printf(" %d bytes to %s", cc, inet_ntoa (ip->ip_dst)); in print()
/minix3/external/bsd/dhcp/dist/common/
H A Dpacket.c163 ip.ip_dst.s_addr = to;
/minix3/tests/net/icmp/
H A Dt_ping.c390 ip->ip_dst = dst.sin_addr; in ATF_TC_BODY()
/minix3/minix/tests/
H A Dtest92.c939 pkt.ip.ip_dst.s_addr = htonl(INADDR_LOOPBACK); in test92f()
1018 if (pkt2.ip.ip_dst.s_addr != pkt.ip.ip_dst.s_addr) e(0); in test92f()
/minix3/sbin/ping/
H A Dping.c549 opack_ip->ip_dst = send_addr.sin_addr; in main()
1717 (void)printf(" %s ", inet_ntoa(*(struct in_addr *)&ip->ip_dst.s_addr)); in pr_iph()
/minix3/external/bsd/dhcpcd/dist/
H A Ddhcp.c1639 ip->ip_dst.s_addr = INADDR_BROADCAST; in dhcp_makeudppacket()
1641 ip->ip_dst.s_addr = dest.s_addr; in dhcp_makeudppacket()

12