Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/stand/lib/inet/
H A Dicmp4.c92 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 Dipv4.c740 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()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c412 (void) inet_ntop(AF_INET, (void *)&ip->ip_dst, in check_reply()
445 dst_addr.addr = ip->ip_dst; in check_reply()
463 Printf(" to %s", pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply()
516 dst_addr.addr = ip->ip_dst; in check_reply()
530 pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply()
715 dst_addr.addr = ip->ip_dst; in check_reply()
721 Printf(" to %s", pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply()
749 dst_addr.addr = ip->ip_dst; in check_reply()
782 Printf(" to %s", pr_name((char *)&ip->ip_dst, AF_INET)); in check_reply()
810 dst_addr.addr = ip->ip_dst; in check_reply()
[all …]
/titanic_41/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv4.c172 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()
/titanic_41/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c113 ip->ip_dst.s_addr, htons(tcplen + IPPROTO_TCP)); in myri10ge_lro_flush()
214 ip->ip_dst.s_addr, htons(tcp_hdr_len + tcp_data_len + IPPROTO_TCP)); in myri10ge_lro_rx()
229 lro->dest_ip == ip->ip_dst.s_addr) { in myri10ge_lro_rx()
326 lro->dest_ip = ip->ip_dst.s_addr; in myri10ge_lro_rx()
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dipft_td.c133 (void) inet_aton(src, &ip->ip_dst);
139 (void) inet_aton(src, &ip->ip_dst);
H A Dprintpacket.c61 printf("%s", inet_ntoa(ip->ip_dst));
H A Dipft_ef.c120 (void) inet_aton(dst, &ip->ip_dst);
H A Dipft_tx.c282 ip->ip_dst.s_addr = tx_hostnum(*cpp, &r);
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rcmd_pxy.c206 swip2 = ip->ip_dst;
225 ip->ip_dst = nat->nat_inip;
231 ip->ip_dst = swip2;
H A Dip_raudio_pxy.c295 swb = ip->ip_dst;
299 ip->ip_dst = nat->nat_oip;
354 ip->ip_dst = swb;
H A Dip_ftp_pxy.c380 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 Dip_h323_pxy.c291 ip->ip_src, ip->ip_dst);
H A Dip_irc_pxy.c418 ip->ip_dst);
H A Dip_ipsec_pxy.c139 ip->ip_dst) != NULL)
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c205 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || in vj_compress_tcp()
229 ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr && in vj_compress_tcp()
/titanic_41/usr/src/uts/common/netinet/
H A Dip.h57 struct in_addr ip_src, ip_dst; /* source and dest address */ member
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c418 inet_ntoa(ip->ip_dst), *type, pr_type(*type), *code); in check_reply()
491 Printf(" %d bytes to %s", cc, inet_ntoa(ip->ip_dst)); in print_addr()
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_util.c994 uint8_t *ip_dst = (uint8_t *)&(iphp->ipha_dst); in mac_pkt_hash() local
997 PKT_HASH_4BYTES(ip_dst)); in mac_pkt_hash()
1036 uint8_t *ip_dst = &(ip6hp->ip6_dst.s6_addr8[12]); in mac_pkt_hash() local
1039 PKT_HASH_4BYTES(ip_dst)); in mac_pkt_hash()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c97 &icmp->icmp_ip.ip_dst)); in interpret_icmp()
107 &icmp->icmp_ip.ip_dst)); in interpret_icmp()
216 pc, addrtoname(AF_INET, &icmp->icmp_ip.ip_dst), in interpret_icmp()
H A Dsnoop_ip.c125 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()
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1164 ip->ip_dst.s_addr = fin->fin_saddr;
1403 ip->ip_dst = fin->fin_src;
1920 sin->sin_addr = ip->ip_dst;
2403 fin->fin_ip->ip_src = fin->fin_ip->ip_dst;
2404 fin->fin_ip->ip_dst = tmp_src;
2583 fin->fin_ip->ip_src = fin->fin_ip->ip_dst;
2584 fin->fin_ip->ip_dst = tmp_src;
H A Dip_nat.c2937 nat = nat_inlookup(fin, flags, p, oip->ip_dst,
2940 nat = nat_outlookup(fin, flags, p, oip->ip_dst,
2960 nat = nat_inlookup(fin, flags, p, oip->ip_dst,
2963 nat = nat_outlookup(fin, flags, p, oip->ip_dst,
2971 return nat_inlookup(fin, 0, p, oip->ip_dst, oip->ip_src);
2973 return nat_outlookup(fin, 0, p, oip->ip_dst, oip->ip_src);
3038 if (oip->ip_dst.s_addr == nat->nat_oip.s_addr) {
3043 sum1 = LONG_SUM(ntohl(oip->ip_dst.s_addr));
3045 oip->ip_dst = in;
4432 fin->fin_ip->ip_dst = nat->nat_inip;
/titanic_41/usr/src/stand/lib/tcp/
H A Dtcp.c1328 tcp->tcp_ipha->ip_dst.s_addr = dstaddr; in tcp_connect()
1489 acceptor->tcp_ipha->ip_dst = ipha->ip_src; in tcp_accept_comm()
1491 acceptor->tcp_ipha->ip_src = ipha->ip_dst; in tcp_accept_comm()
1492 acceptor->tcp_bound_source = ipha->ip_dst.s_addr; in tcp_accept_comm()
1648 ipha->ip_dst.s_addr == INADDR_BROADCAST) { in tcp_conn_request()
1840 iph->ip_dst.s_addr == tcp->tcp_bound_source && in tcp_lookup_ipv4()
1853 iph->ip_dst.s_addr == tcp->tcp_bound_source && in tcp_lookup_ipv4()
1898 iph->ip_dst.s_addr == tcp->tcp_bound_source) { in tcp_lookup_eager_ipv4()
1908 iph->ip_dst.s_addr == tcp->tcp_bound_source) { in tcp_lookup_eager_ipv4()
2684 iph->ip_dst.s_addr != tcp->tcp_bound_source) { in tcp_rput_data()
[all …]
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipmon.c1118 d = (u_32_t *)&ip->ip_dst;
1199 HOSTNAME_V4(res, ipc->ip_dst),
1213 HOSTNAME_V4(res, ipc->ip_dst),
1222 HOSTNAME_V4(res, ipc->ip_dst), proto,

12