/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_ftable.c | 550 * an outgoing interface and requires the nexthop to be on that interface. 566 * of the offlink dst's nexthop needs to get 576 ipaddr_t nexthop; local 617 nexthop = ((struct sockaddr_in *)dst_addr)->sin_addr.s_addr; 618 if (nexthop != ipha->ipha_dst) { 620 ixas.ixa_nexthop_v4 = nexthop; 1399 ipaddr_t nexthop, uint_t ire_type, const ill_t *ill_arg, 1427 ire = ire_ftable_lookup_v4(nexthop, 0, 0, ire_type, 1558 IN6_IPADDR_TO_V4MAPPED(nexthop, &v6nexthop); 1601 nexthop 1398 ire_route_recursive_impl_v4(ire_t *ire, ipaddr_t nexthop, uint_t ire_type, const ill_t *ill_arg, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, ipaddr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument 1695 ire_route_recursive_v4(ipaddr_t nexthop, uint_t ire_type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, ipaddr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument 1718 ire_route_recursive_dstonly_v4(ipaddr_t nexthop, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst) argument [all...] |
H A D | ip6_input.c | 412 in6_addr_t *nexthop = (in6_addr_t *)nexthop_arg; local 441 ill_input_short_v6(mp, ip6h, nexthop, ira, rtc); 478 ire_linklocal(const in6_addr_t *nexthop, ill_t *ill, ip_recv_attr_t *ira, argument 484 ASSERT(IN6_IS_ADDR_LINKLOCAL(nexthop)); 485 ire = ire_route_recursive_v6(nexthop, 0, ill, ALL_ZONES, ira->ira_tsl, 503 ire = ire_route_recursive_v6(nexthop, 0, ill, ALL_ZONES, ira->ira_tsl, 523 in6_addr_t nexthop = *(in6_addr_t *)nexthop_arg; local 606 * change to nexthop. 609 nexthop = ip6h->ip6_dst; 611 if (IN6_IS_ADDR_UNSPECIFIED(&nexthop)) { [all...] |
H A D | ip_input.c | 429 ipaddr_t nexthop = *(ipaddr_t *)nexthop_arg; local 520 nexthop = INADDR_BROADCAST; 538 ip2dbg(("ip_input: RSVP for us: 0x%x\n", ntohl(nexthop))); 544 nexthop = htonl(INADDR_UNSPEC_GROUP); 548 ill_input_short_v4(mp, ipha, &nexthop, ira, rtc); 566 ipaddr_t nexthop = *(ipaddr_t *)nexthop_arg; local 639 * change to nexthop. 642 nexthop = ipha->ipha_dst; 643 if (nexthop == INADDR_ANY) { 658 dzone = ip_get_zoneid_v4(nexthop, m [all...] |
H A D | ip_ire.c | 2733 * Given an IRE return its nexthop IRE. The nexthop IRE is an IRE_ONLINK 2740 * we might not find a nexthop IRE, in which case we return NULL. 3303 * Get a new ire_nce_cache for this IRE as well as its nexthop. 3326 ire_t *nexthop; local 3338 nexthop = ire_nexthop(ire); 3339 if (nexthop == NULL) { 3352 ASSERT(nexthop->ire_type & IRE_ONLINK); 3354 nce = arp_nce_init(nexthop->ire_ill, nexthop [all...] |
H A D | ip6_ire.c | 1165 const in6_addr_t *nexthop, uint_t ire_type, const ill_t *ill_arg, 1171 in6_addr_t v6nexthop = *nexthop; 1453 ire_route_recursive_v6(const in6_addr_t *nexthop, uint_t ire_type, argument 1458 return (ire_route_recursive_impl_v6(NULL, nexthop, ire_type, ill, 1476 ire_route_recursive_dstonly_v6(const in6_addr_t *nexthop, uint_t irr_flags, argument 1484 ire = ire_ftable_lookup_simple_v6(nexthop, xmit_hint, ipst, 1516 ire1 = ire_route_recursive_impl_v6(ire, nexthop, 0, NULL, ALL_ZONES, 1164 ire_route_recursive_impl_v6(ire_t *ire, const in6_addr_t *nexthop, uint_t ire_type, const ill_t *ill_arg, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, in6_addr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument
|
H A D | ip6_output.c | 1157 in6_addr_t nexthop; local 1180 * Use the nce (nexthop) and ip6_dst to find the ire. 1253 nexthop = ip6h->ip6_dst; 1256 nexthop = ire1->ire_gateway_addr_v6; 1269 nce1 = ndp_nce_init(ill1, &nexthop, ire_type);
|
H A D | ip_netinfo.c | 1064 ip_routeto_impl(struct sockaddr *address, struct sockaddr *nexthop, argument 1067 struct sockaddr_in6 *next6 = (struct sockaddr_in6 *)nexthop; 1069 struct sockaddr_in *next = (struct sockaddr_in *)nexthop; 1111 if (nexthop != NULL) {
|
H A D | conn_opt.c | 2441 * Determine the nexthop which will be used. 2443 * IPv6 routing header, is in the ip_pkt_t then we extract the nexthop from 2448 const in6_addr_t *dst, in6_addr_t *nexthop) 2451 *nexthop = *dst; 2463 IN6_IPADDR_TO_V4MAPPED(v4nexthop, nexthop); 2471 *nexthop = *v6nexthop; 2483 * Caller must use ip_attr_nexthop() to determine the nexthop argument. 2575 in6_addr_t nexthop; local 2594 * Determine the nexthop and copy the addresses before dropping 2598 &connp->conn_faddr_v6, &nexthop); 2447 ip_attr_nexthop(const ip_pkt_t *ipp, const ip_xmit_attr_t *ixa, const in6_addr_t *dst, in6_addr_t *nexthop) argument [all...] |
H A D | ip_output.c | 179 * - A deletion of the nexthop ire that was used when we did the 181 * - An addition of a potentially better nexthop ire. 2219 ipaddr_t nexthop; local 2242 * Use the nce (nexthop) and ipha_dst to find the ire. 2322 nexthop = ire1->ire_gateway_addr; 2325 nexthop = ipha->ipha_dst; 2328 nexthop = ire1->ire_gateway_addr; 2341 nce1 = arp_nce_init(ill1, nexthop, ire_type);
|
H A D | icmp.c | 2276 in6_addr_t saddr, faddr, nexthop; local 2291 &connp->conn_faddr_v6, &nexthop); 2300 &saddr, &faddr, &nexthop, fport, NULL, NULL, 3721 in6_addr_t nexthop; local 3727 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &faddr, &nexthop); 3730 error = ip_attr_connect(connp, ixa, &saddr, &faddr, &nexthop, 3873 in6_addr_t nexthop; local 3879 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &lastdst, &nexthop); 3883 &nexthop, lastport, NULL, NULL, IPDF_ALLOW_MCBC |
|
H A D | ip.c | 3112 * We look at the interface ire for the nexthop, 3114 * as the nexthop. 9387 * Process IP options in an inbound packet. Always returns the nexthop. 9388 * Normally this is the passed in nexthop, but if there is an option 9389 * that effects the nexthop (such as a source route) that will be returned. 12966 * Process IP options in an outbound packet. Verify that the nexthop in a 12971 * Assumes the ULP has called ip_massage_options to move nexthop into ipha_dst. 14984 ipaddr_t nexthop = INADDR_ANY; local 15017 bcopy((char *)opt + off, &nexthop, IP_ADDR_LEN); 15018 if (nexthop 15081 in6_addr_t *nexthop = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 137 struct in6_addr nexthop; local 380 nexthop = n->rip6_prefix; 384 gate = &nexthop;
|
/illumos-gate/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; local 1629 /* Get the nexthop address. */ 1648 IN6_INADDR_TO_V4MAPPED(&nexthop_v4, &nexthop); 1649 router_add_common(AF_INET, ifname, nexthop); 1655 router_add_common(int af, char *ifname, struct in6_addr nexthop) argument 1673 if (own_address(nexthop)) 1686 target_add(pii, nexthop, _B_TRUE); 1690 target_add(PHYINT_INSTANCE(pi, af), nexthop, _B_TRUE); local 1726 /* Get the nexthop addres [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 127 char *nexthop; variable 263 struct addrinfo *ai_nexthop = NULL; /* addrinfo nexthop */ 483 if (nexthop != NULL) { 488 nexthop = optarg; 879 if (nexthop != NULL) { 880 get_hostinfo(nexthop, family_input, &ai_nexthop); 882 print_unknown_host_msg("", nexthop); 1281 "to specify IPv4 nexthop router.\n", 1440 if (nexthop != NULL) 2474 "[-g gateway [-g gateway ...]] [-N nexthop] [ [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_opt_data.c | 1055 in6_addr_t nexthop; local 1064 &connp->conn_faddr_v6, &nexthop); 1070 &nexthop, connp->conn_fport, NULL, NULL,
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 1896 in6_addr_t saddr, faddr, nexthop; local 1911 &connp->conn_faddr_v6, &nexthop); 1920 &saddr, &faddr, &nexthop, fport, NULL, NULL, 2950 in6_addr_t nexthop; local 2956 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &faddr, &nexthop); 2959 error = ip_attr_connect(connp, ixa, &saddr, &faddr, &nexthop, 3081 in6_addr_t nexthop; local 3087 ip_attr_nexthop(&connp->conn_xmit_ipp, ixa, &lastdst, &nexthop); 3091 &nexthop, lastport, NULL, NULL, IPDF_ALLOW_MCBC |
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_common.c | 89 in6_addr_t nexthop; local 122 &nexthop); 126 &nexthop, connp->conn_fport, &laddr, &uinfo, flags);
|