/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ip6_input.c | 412 in6_addr_t *nexthop = (in6_addr_t *)nexthop_arg; in ill_input_full_v6() local 441 ill_input_short_v6(mp, ip6h, nexthop, ira, rtc); in ill_input_full_v6() 478 ire_linklocal(const in6_addr_t *nexthop, ill_t *ill, ip_recv_attr_t *ira, in ire_linklocal() argument 484 ASSERT(IN6_IS_ADDR_LINKLOCAL(nexthop)); in ire_linklocal() 485 ire = ire_route_recursive_v6(nexthop, 0, ill, ALL_ZONES, ira->ira_tsl, in ire_linklocal() 503 ire = ire_route_recursive_v6(nexthop, 0, ill, ALL_ZONES, ira->ira_tsl, in ire_linklocal() 523 in6_addr_t nexthop = *(in6_addr_t *)nexthop_arg; in ill_input_short_v6() local 609 nexthop = ip6h->ip6_dst; in ill_input_short_v6() 611 if (IN6_IS_ADDR_UNSPECIFIED(&nexthop)) { in ill_input_short_v6() 627 dzone = ip_get_zoneid_v6(&nexthop, mp, ill, ira, ALL_ZONES); in ill_input_short_v6() [all …]
|
H A D | ip_ftable.c | 576 ipaddr_t nexthop; in ipfil_sendpkt() local 617 nexthop = ((struct sockaddr_in *)dst_addr)->sin_addr.s_addr; in ipfil_sendpkt() 618 if (nexthop != ipha->ipha_dst) { in ipfil_sendpkt() 620 ixas.ixa_nexthop_v4 = nexthop; in ipfil_sendpkt() 1399 ipaddr_t nexthop, uint_t ire_type, const ill_t *ill_arg, in ire_route_recursive_impl_v4() argument 1427 ire = ire_ftable_lookup_v4(nexthop, 0, 0, ire_type, in ire_route_recursive_impl_v4() 1558 IN6_IPADDR_TO_V4MAPPED(nexthop, &v6nexthop); in ire_route_recursive_impl_v4() 1601 nexthop = ire->ire_gateway_addr; in ire_route_recursive_impl_v4() 1695 ire_route_recursive_v4(ipaddr_t nexthop, uint_t ire_type, const ill_t *ill, in ire_route_recursive_v4() argument 1700 return (ire_route_recursive_impl_v4(NULL, nexthop, ire_type, ill, in ire_route_recursive_v4() [all …]
|
H A D | ip_input.c | 429 ipaddr_t nexthop = *(ipaddr_t *)nexthop_arg; in ill_input_full_v4() local 520 nexthop = INADDR_BROADCAST; in ill_input_full_v4() 538 ip2dbg(("ip_input: RSVP for us: 0x%x\n", ntohl(nexthop))); in ill_input_full_v4() 544 nexthop = htonl(INADDR_UNSPEC_GROUP); in ill_input_full_v4() 548 ill_input_short_v4(mp, ipha, &nexthop, ira, rtc); in ill_input_full_v4() 566 ipaddr_t nexthop = *(ipaddr_t *)nexthop_arg; in ill_input_short_v4() local 642 nexthop = ipha->ipha_dst; in ill_input_short_v4() 643 if (nexthop == INADDR_ANY) { in ill_input_short_v4() 658 dzone = ip_get_zoneid_v4(nexthop, mp, ira, ALL_ZONES); in ill_input_short_v4() 703 if (!ilb_rule_match_vip_v4(ilbs, nexthop, NULL)) { in ill_input_short_v4() [all …]
|
H A D | ip_ire.c | 3326 ire_t *nexthop; in ire_revalidate_nce() local 3338 nexthop = ire_nexthop(ire); in ire_revalidate_nce() 3339 if (nexthop == NULL) { in ire_revalidate_nce() 3352 ASSERT(nexthop->ire_type & IRE_ONLINK); in ire_revalidate_nce() 3354 nce = arp_nce_init(nexthop->ire_ill, nexthop->ire_addr, in ire_revalidate_nce() 3355 nexthop->ire_type); in ire_revalidate_nce() 3357 nce = ndp_nce_init(nexthop->ire_ill, in ire_revalidate_nce() 3358 &nexthop->ire_addr_v6, nexthop->ire_type); in ire_revalidate_nce() 3366 ire_refrele(nexthop); in ire_revalidate_nce() 3370 if (nexthop != ire) { in ire_revalidate_nce() [all …]
|
H A D | ip6_ire.c | 1165 const in6_addr_t *nexthop, uint_t ire_type, const ill_t *ill_arg, in ire_route_recursive_impl_v6() argument 1171 in6_addr_t v6nexthop = *nexthop; in ire_route_recursive_impl_v6() 1453 ire_route_recursive_v6(const in6_addr_t *nexthop, uint_t ire_type, in ire_route_recursive_v6() argument 1458 return (ire_route_recursive_impl_v6(NULL, nexthop, ire_type, ill, in ire_route_recursive_v6() 1476 ire_route_recursive_dstonly_v6(const in6_addr_t *nexthop, uint_t irr_flags, in ire_route_recursive_dstonly_v6() argument 1484 ire = ire_ftable_lookup_simple_v6(nexthop, xmit_hint, ipst, in ire_route_recursive_dstonly_v6() 1516 ire1 = ire_route_recursive_impl_v6(ire, nexthop, 0, NULL, ALL_ZONES, in ire_route_recursive_dstonly_v6()
|
H A D | ip6_output.c | 1157 in6_addr_t nexthop; in ip_postfrag_multirt_v6() local 1253 nexthop = ip6h->ip6_dst; in ip_postfrag_multirt_v6() 1256 nexthop = ire1->ire_gateway_addr_v6; in ip_postfrag_multirt_v6() 1269 nce1 = ndp_nce_init(ill1, &nexthop, ire_type); in ip_postfrag_multirt_v6()
|
H A D | conn_opt.c | 2448 const in6_addr_t *dst, in6_addr_t *nexthop) in ip_attr_nexthop() argument 2451 *nexthop = *dst; in ip_attr_nexthop() 2463 IN6_IPADDR_TO_V4MAPPED(v4nexthop, nexthop); in ip_attr_nexthop() 2471 *nexthop = *v6nexthop; in ip_attr_nexthop() 2575 in6_addr_t nexthop; in conn_connect() local 2598 &connp->conn_faddr_v6, &nexthop); in conn_connect() 2604 error = ip_attr_connect(connp, ixa, &saddr, &faddr, &nexthop, fport, in conn_connect()
|
H A D | ip_netinfo.c | 1064 ip_routeto_impl(struct sockaddr *address, struct sockaddr *nexthop, in ip_routeto_impl() argument 1067 struct sockaddr_in6 *next6 = (struct sockaddr_in6 *)nexthop; in ip_routeto_impl() 1069 struct sockaddr_in *next = (struct sockaddr_in *)nexthop; in ip_routeto_impl() 1111 if (nexthop != NULL) { in ip_routeto_impl()
|
H A D | ip_output.c | 2219 ipaddr_t nexthop; in ip_postfrag_multirt_v4() local 2322 nexthop = ire1->ire_gateway_addr; in ip_postfrag_multirt_v4() 2325 nexthop = ipha->ipha_dst; in ip_postfrag_multirt_v4() 2328 nexthop = ire1->ire_gateway_addr; in ip_postfrag_multirt_v4() 2341 nce1 = arp_nce_init(ill1, nexthop, ire_type); in ip_postfrag_multirt_v4()
|
H A D | icmp.c | 2276 in6_addr_t saddr, faddr, nexthop; in icmp_opt_set() local 2291 &connp->conn_faddr_v6, &nexthop); in icmp_opt_set() 2300 &saddr, &faddr, &nexthop, fport, NULL, NULL, in icmp_opt_set() 3721 in6_addr_t nexthop; in icmp_output_connected() local 3727 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &faddr, &nexthop); in icmp_output_connected() 3730 error = ip_attr_connect(connp, ixa, &saddr, &faddr, &nexthop, in icmp_output_connected() 3873 in6_addr_t nexthop; in icmp_output_lastdst() local 3879 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &lastdst, &nexthop); in icmp_output_lastdst() 3883 &nexthop, lastport, NULL, NULL, IPDF_ALLOW_MCBC | in icmp_output_lastdst()
|
H A D | ip.c | 14984 ipaddr_t nexthop = INADDR_ANY; in ip_pkt_source_route_v4() local 15017 bcopy((char *)opt + off, &nexthop, IP_ADDR_LEN); in ip_pkt_source_route_v4() 15018 if (nexthop == htonl(INADDR_LOOPBACK)) { in ip_pkt_source_route_v4() 15020 nexthop = INADDR_ANY; in ip_pkt_source_route_v4() 15026 return (nexthop); in ip_pkt_source_route_v4() 15081 in6_addr_t *nexthop = NULL; in ip_pkt_source_route_v6() local 15091 nexthop = (in6_addr_t *)((char *)rthdr + sizeof (*rthdr)); in ip_pkt_source_route_v6() 15092 return (nexthop); in ip_pkt_source_route_v6()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 137 struct in6_addr nexthop; in rip_input() local 380 nexthop = n->rip6_prefix; in rip_input() 384 gate = &nexthop; in rip_input()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 118 char *nexthop; variable 455 if (nexthop != NULL) { in main() 460 nexthop = optarg; in main() 834 if (nexthop != NULL) { in resolve_nodes() 835 get_hostinfo(nexthop, family_input, &ai_nexthop); in resolve_nodes() 837 print_unknown_host_msg("", nexthop); in resolve_nodes() 1393 if (nexthop != NULL) in setup_socket()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 73 struct in6_addr nexthop); 1609 struct in6_addr nexthop; in ire_process_v4() local 1648 IN6_INADDR_TO_V4MAPPED(&nexthop_v4, &nexthop); in ire_process_v4() 1649 router_add_common(AF_INET, ifname, nexthop); in ire_process_v4() 1655 router_add_common(int af, char *ifname, struct in6_addr nexthop) in router_add_common() argument 1673 if (own_address(nexthop)) in router_add_common() 1686 target_add(pii, nexthop, _B_TRUE); in router_add_common() 1690 target_add(PHYINT_INSTANCE(pi, af), nexthop, _B_TRUE); in router_add_common()
|
/titanic_41/usr/src/uts/common/inet/tcp/ |
H A D | tcp_opt_data.c | 1055 in6_addr_t nexthop; in tcp_opt_set() local 1064 &connp->conn_faddr_v6, &nexthop); in tcp_opt_set() 1070 &nexthop, connp->conn_fport, NULL, NULL, in tcp_opt_set()
|
/titanic_41/usr/src/uts/common/inet/sctp/ |
H A D | sctp_common.c | 89 in6_addr_t nexthop; in sctp_get_dest() local 122 &nexthop); in sctp_get_dest() 126 &nexthop, connp->conn_fport, &laddr, &uinfo, flags); in sctp_get_dest()
|
/titanic_41/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 1896 in6_addr_t saddr, faddr, nexthop; in udp_opt_set() local 1911 &connp->conn_faddr_v6, &nexthop); in udp_opt_set() 1920 &saddr, &faddr, &nexthop, fport, NULL, NULL, in udp_opt_set() 2950 in6_addr_t nexthop; in udp_output_connected() local 2956 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &faddr, &nexthop); in udp_output_connected() 2959 error = ip_attr_connect(connp, ixa, &saddr, &faddr, &nexthop, in udp_output_connected() 3081 in6_addr_t nexthop; in udp_output_lastdst() local 3087 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &lastdst, &nexthop); in udp_output_lastdst() 3091 &nexthop, lastport, NULL, NULL, IPDF_ALLOW_MCBC | in udp_output_lastdst()
|