/illumos-gate/usr/src/boot/libsa/ |
H A D | ip.c | 73 struct in_addr ip_dst; member 117 ip->ip_dst = d->destip; in sendip() 120 if (ip->ip_dst.s_addr == INADDR_BROADCAST || ip->ip_src.s_addr == 0 || in sendip() 121 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) in sendip() 122 ea = arpwhohas(d, ip->ip_dst); in sendip() 261 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) { in readipv4() 265 printf("%s\n", inet_ntoa(ip->ip_dst)); in readipv4() 292 ipr->ip_dst.s_addr == ip->ip_dst.s_addr && in readipv4() 306 ipr->ip_dst = ip->ip_dst; in readipv4()
|
H A D | rpc.c | 284 n_long ip_dst; in rpc_fromaddr() member
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | icmp4.c | 92 if (ipv4_route(IPV4_ADD_ROUTE, RT_HOST, &icmphp->icmp_ip.ip_dst, in icmp4() 95 inet_ntoa(icmphp->icmp_ip.ip_dst), errno); in icmp4() 105 inet_ntoa(icmphp->icmp_ip.ip_dst)); in icmp4()
|
H A D | ipv4.c | 740 bcopy((caddr_t)&(iphp->ip_dst), (caddr_t)&ipdst, in ipv4_input() 1014 iphp->ip_dst = ogp->igm_saddr.sin_addr; in ipv4_output() 1026 if (iphp->ip_dst.s_addr == htonl(INADDR_BROADCAST) || in ipv4_output() 1028 iphp->ip_dst.s_addr == (mynet.s_addr | ~netmask.s_addr))) { in ipv4_output() 1034 ((iphp->ip_dst.s_addr & netmask.s_addr) != mynet.s_addr)) { in ipv4_output() 1036 if ((rip = ipv4_get_route(RT_HOST, &iphp->ip_dst, in ipv4_output() 1042 index, inet_ntoa(iphp->ip_dst)); in ipv4_output() 1085 ((iph->ip_dst.s_addr & netmask.s_addr) != mynet.s_addr)) { in ipv4_tcp_output() 1086 if ((rip = ipv4_get_route(RT_HOST, &iph->ip_dst, in ipv4_tcp_output() 1092 sock_id, inet_ntoa(iph->ip_dst)); in ipv4_tcp_output()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 403 (void) inet_ntop(AF_INET, (void *)&ip->ip_dst, in check_reply() 436 dst_addr.addr = ip->ip_dst; in check_reply() 451 Printf(" to %s", pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply() 503 dst_addr.addr = ip->ip_dst; in check_reply() 515 pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply() 698 dst_addr.addr = ip->ip_dst; in check_reply() 703 Printf(" to %s", pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply() 730 dst_addr.addr = ip->ip_dst; in check_reply() 762 Printf(" to %s", pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply() 789 dst_addr.addr = ip->ip_dst; in check_reply() [all …]
|
/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv4.c | 172 bcopy(daddr, &(iphp->ip_dst), sizeof (struct in_addr)); in mac_ipv4_header() 193 if (mac_ipv4_unicst_verify(&iphp->ip_dst, NULL) != 0) in mac_ipv4_header_info() 198 hdr_info->mhi_daddr = (const uint8_t *)&(iphp->ip_dst); in mac_ipv4_header_info()
|
/illumos-gate/usr/src/common/inet/ |
H A D | inet_hash.c | 247 uint8_t *ip_dst = (uint8_t *)&(iphp->ipha_dst); in inet_pkt_hash() local 250 PKT_HASH_4BYTES(ip_dst)); in inet_pkt_hash() 289 uint8_t *ip_dst = &(ip6hp->ip6_dst.s6_addr8[12]); in inet_pkt_hash() local 292 PKT_HASH_4BYTES(ip_dst)); in inet_pkt_hash()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 108 ip->ip_dst.s_addr, htons(tcplen + IPPROTO_TCP)); in myri10ge_lro_flush() 209 ip->ip_dst.s_addr, htons(tcp_hdr_len + tcp_data_len + IPPROTO_TCP)); in myri10ge_lro_rx() 224 lro->dest_ip == ip->ip_dst.s_addr) { in myri10ge_lro_rx() 321 lro->dest_ip = ip->ip_dst.s_addr; in myri10ge_lro_rx()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_td.c | 133 (void) inet_aton(src, &ip->ip_dst); 139 (void) inet_aton(src, &ip->ip_dst);
|
H A D | printpacket.c | 61 printf("%s", inet_ntoa(ip->ip_dst));
|
H A D | ipft_ef.c | 120 (void) inet_aton(dst, &ip->ip_dst);
|
H A D | ipft_tx.c | 280 ip->ip_dst.s_addr = tx_hostnum(*cpp, &r);
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_rcmd_pxy.c | 206 swip2 = ip->ip_dst; 225 ip->ip_dst = nat->nat_inip; 231 ip->ip_dst = swip2;
|
H A D | ip_raudio_pxy.c | 295 swb = ip->ip_dst; 299 ip->ip_dst = nat->nat_oip; 354 ip->ip_dst = swb;
|
H A D | ip_ftp_pxy.c | 380 swip2 = ip->ip_dst; 400 ip->ip_dst = nat->nat_inip; 406 ip->ip_dst = swip2; 738 swip2 = ip->ip_dst; 742 ip->ip_dst = data_addr; 748 ip->ip_dst = nat->nat_outip; 762 ip->ip_dst = nat->nat_inip; 769 ip->ip_dst = swip2;
|
H A D | ip_h323_pxy.c | 289 ip->ip_src, ip->ip_dst);
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | vjcompress.c | 203 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || in vj_compress_tcp() 227 ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr && in vj_compress_tcp()
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | ip.h | 56 struct in_addr ip_src, ip_dst; /* source and dest address */ member
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | ip.h | 69 struct in_addr ip_src,ip_dst; /* source and dest address */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 416 inet_ntoa(ip->ip_dst), *type, pr_type(*type), *code); in check_reply() 489 Printf(" %d bytes to %s", cc, inet_ntoa(ip->ip_dst)); in print_addr()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_icmp.c | 101 &icmp->icmp_ip.ip_dst)); in interpret_icmp() 111 &icmp->icmp_ip.ip_dst)); in interpret_icmp() 220 pc, addrtoname(AF_INET, &icmp->icmp_ip.ip_dst), in interpret_icmp()
|
H A D | snoop_ip.c | 125 dst_name = addrtoname(AF_INET, &ip->ip_dst); in interpret_ip() 139 (void) strlcpy(buff, inet_ntoa(ip->ip_dst), in interpret_ip() 219 inet_ntoa(ip->ip_dst), addrtoname(AF_INET, &ip->ip_dst)); in interpret_ip()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_fil_solaris.c | 1378 ip->ip_dst.s_addr = fin->fin_saddr; 1617 ip->ip_dst = fin->fin_src; 2134 sin->sin_addr = ip->ip_dst; 2737 fin->fin_ip->ip_src = fin->fin_ip->ip_dst; 2738 fin->fin_ip->ip_dst = tmp_src; 2917 fin->fin_ip->ip_src = fin->fin_ip->ip_dst; 2918 fin->fin_ip->ip_dst = tmp_src;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 1995 uint8_t *ip_dst = (uint8_t *)&(iphp->ipha_dst); in mac_pkt_hash() local 1998 PKT_HASH_4BYTES(ip_dst)); in mac_pkt_hash() 2037 uint8_t *ip_dst = &(ip6hp->ip6_dst.s6_addr8[12]); in mac_pkt_hash() local 2040 PKT_HASH_4BYTES(ip_dst)); in mac_pkt_hash()
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 1327 tcp->tcp_ipha->ip_dst.s_addr = dstaddr; in tcp_connect() 1488 acceptor->tcp_ipha->ip_dst = ipha->ip_src; in tcp_accept_comm() 1490 acceptor->tcp_ipha->ip_src = ipha->ip_dst; in tcp_accept_comm() 1491 acceptor->tcp_bound_source = ipha->ip_dst.s_addr; in tcp_accept_comm() 1647 ipha->ip_dst.s_addr == INADDR_BROADCAST) { in tcp_conn_request() 1839 iph->ip_dst.s_addr == tcp->tcp_bound_source && in tcp_lookup_ipv4() 1852 iph->ip_dst.s_addr == tcp->tcp_bound_source && in tcp_lookup_ipv4() 1897 iph->ip_dst.s_addr == tcp->tcp_bound_source) { in tcp_lookup_eager_ipv4() 1907 iph->ip_dst.s_addr == tcp->tcp_bound_source) { in tcp_lookup_eager_ipv4() 2683 iph->ip_dst.s_addr != tcp->tcp_bound_source) { in tcp_rput_data() [all …]
|