/illumos-gate/usr/src/uts/common/inet/kifconf/ |
H A D | kifconf.c | 66 struct in_addr *mybraddr, struct in_addr *gateway, char *ifname) 143 * Set the default gateway. 145 if (af == AF_INET && gateway != NULL) { 151 rt_sin->sin_addr.s_addr = gateway->s_addr; 181 * Set up gateway parameters. 65 kdlifconfig(TIUSER *tiptr, int af, void *myIPaddr, void *mymask, struct in_addr *mybraddr, struct in_addr *gateway, char *ifname) argument
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_rts.c | 81 const in6_addr_t *mask, const in6_addr_t *gateway, 117 sin6->sin6_addr = *gateway; 80 rts_fill_msg_v6(int type, int rtm_addrs, const in6_addr_t *dst, const in6_addr_t *mask, const in6_addr_t *gateway, const in6_addr_t *src_addr, const in6_addr_t *brd_addr, const in6_addr_t *author, const in6_addr_t *ifaddr, const ill_t *ill, mblk_t *mp, const tsol_gc_t *gc) argument
|
H A D | ip6_ire.c | 70 const in6_addr_t *gateway, int type, const ill_t *ill, 401 * in the gateway security attributes; such routes are 500 * pointing at the specified gateway and 502 * when a default gateway is going away. 505 ire_delete_host_redirects_v6(const in6_addr_t *gateway, ip_stack_t *ipst) argument 526 if (IN6_ARE_ADDR_EQUAL(&gw_addr_v6, gateway)) 563 * when a default gateway is going away 565 * gateway. 687 const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, 698 ASSERT((!(match_flags & MATCH_IRE_GW)) || gateway ! 686 ire_match_args_v6(ire_t *ire, const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags) argument 878 ire_gateway_ok_zone_v6(const in6_addr_t *gateway, zoneid_t zoneid, ill_t *ill, const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) argument 916 ire_ftable_lookup_v6(const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) argument 1018 ire_ftable_lookup_impl_v6(const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, ip_stack_t *ipst) argument [all...] |
H A D | ip_ftable.c | 95 ire_ftable_lookup_v4(ipaddr_t addr, ipaddr_t mask, ipaddr_t gateway, argument 126 margs.ift_gateway = gateway; 364 * Delete the passed in ire if the gateway addr matches 367 ire_del_host_redir(ire_t *ire, char *gateway) argument 370 (ire->ire_gateway_addr == *(ipaddr_t *)gateway)) 376 * pointing at the specified gateway and 378 * when a default gateway is going away. 381 ire_delete_host_redirects(ipaddr_t gateway, ip_stack_t *ipst) argument 387 rtfarg.rt_arg = (void *)&gateway; 800 * Due to shared-IP zones we check that an IRE_OFFLINK has a gateway tha [all...] |
H A D | ip_rts.c | 82 ipaddr_t mask, ipaddr_t gateway, ipaddr_t src_addr, ipaddr_t brd_addr, 365 * the destination, gateway and netmask and return the appropriate error 480 /* if we are adding a route, gateway is a must */ 597 /* if we are deleting a route, gateway is a must */ 628 * searched recursively. Also, if a gateway was 629 * specified then the gateway address must also be matched. 631 * In the case of RTM_CHANGE, the gateway address (if supplied) 632 * is the new gateway address so matching on the gateway address 640 * gateway route 1714 rts_fill_msg(int type, int rtm_addrs, ipaddr_t dst, ipaddr_t mask, ipaddr_t gateway, ipaddr_t src_addr, ipaddr_t brd_addr, ipaddr_t author, ipaddr_t ifaddr, const ill_t *ill, mblk_t *mp, const tsol_gc_t *gc) argument [all...] |
H A D | ip_ire.c | 496 ire_init_v4(ire_t *ire, uchar_t *addr, uchar_t *mask, uchar_t *gateway, argument 513 if (gateway != NULL) 514 bcopy(gateway, &ire->ire_gateway_addr, IP_ADDR_LEN); 626 ire_create(uchar_t *addr, uchar_t *mask, uchar_t *gateway, argument 640 error = ire_init_v4(ire, addr, mask, gateway, type, ill, zoneid, flags, 733 NULL, /* no gateway */ 763 0, /* no gateway */ 875 * - IRE_OFFLINK with a gateway reachable from the zone 923 * gateway is unreachable from any zone. 1255 * in the gateway securit 1860 ire_match_args(ire_t *ire, ipaddr_t addr, ipaddr_t mask, ipaddr_t gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags) argument 2134 ire_gateway_ok_zone_v4(ipaddr_t gateway, zoneid_t zoneid, ill_t *ill, const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) argument [all...] |
H A D | ip6.c | 1019 in6_addr_t *src, *dst, *gateway; local 1051 gateway = &rd->nd_rd_target; 1065 if (!(IN6_IS_ADDR_LINKLOCAL(gateway) || 1066 IN6_ARE_ADDR_EQUAL(gateway, dst))) { 1068 ip_drop_input("ipv6IfIcmpInBadRedirects - bad gateway", 1083 if (!IN6_ARE_ADDR_EQUAL(gateway, dst)) { 1087 gateway = dst; /* Add nce for dst */ 1096 * that route was pointing to the old gateway (the source of the 1106 * old gateway is still directly reachable 1127 gateway, ncec_flag [all...] |
H A D | ip.c | 608 * (*) A zone can only use a default or off-subnet route if the gateway is 609 * directly reachable from the zone, that is, if the gateway's address matches 2631 ipaddr_t src, dst, gateway; local 2639 gateway = icmph->icmph_rd_gateway; 2640 /* Make sure the new gateway is reachable somehow. */ 2641 ire = ire_ftable_lookup_v4(gateway, 0, 0, IRE_ONLINK, NULL, 2645 * that route was pointing to the old gateway (the source of the 2654 * the new gateway and the old gateway are directly reachable 2693 * someone we believe told us to use the particular gateway 3132 icmp_send_redirect(mblk_t *mp, ipaddr_t gateway, ip_recv_attr_t *ira) argument [all...] |
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ipv4_impl.h | 88 struct in_addr gateway; member in struct:routing
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_pppoe.c | 358 char gateway[INET_ADDRSTRLEN]; local 366 (void) inet_ntop(AF_INET, &tag_value[8], gateway, 372 "%s\t%s\t%s\t%d", dest, mask, gateway, metric);
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | routing_events.c | 383 struct sockaddr *gateway, const char *ifname) 393 af = gateway->sa_family; 414 setaddr(RTA_GATEWAY, &rtm->rtm_addrs, &addrs, gateway); 482 nlog(LOG_DEBUG, "gateway address: %s", printaddr(&address)); 382 nwamd_add_route(struct sockaddr *dest, struct sockaddr *mask, struct sockaddr *gateway, const char *ifname) argument
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_arp.h | 62 ibt_ip_addr_t gateway; /* rts returned gateway addr */ member in struct:ibcm_arp_prwqn
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | tables.c | 202 * Given an IPv6 prefix (destination and prefix length), a gateway, an 208 rtcmd(uchar_t type, struct in6_addr *dst, struct in6_addr *gateway, argument 218 rta_gateway->sin6_addr = *gateway; 294 * If the RTM_ADD fails because the gateway is unreachable 318 * Handle the case when the metric changes but the gateway is the same (or the 319 * interface index associated with the gateway changes), or when both gateway 320 * and metric changes, or when only the gateway changes but the existing route
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 125 struct gateway { struct 2465 * gateway. 2521 * Identify each gateway separated by ",", "@" or ",@" and 2563 /* Any input starting with '!@' or '@' must have at least one gateway */ 2576 * Resolves the target and gateway addresses, determines what type of addresses 2585 * resolves gateway addresses and picks one address for each desired address 2590 resolve_hosts(char **hostname_list, int num_gw, struct gateway **gw_addrsp, 2593 struct gateway *gw_addrs = NULL; 2594 struct gateway *gw; 2595 /* whether we already picked an IPv4 address for the current gateway */ 2609 struct addrinfo *res, *host, *gateway, *addr; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | nvm_map.h | 739 u32_t gateway[4]; member in struct:iscsi_flash_initiator
|