/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.h | 53 struct router *pi_router_list; /* Doubly linked routers */ 233 struct router { struct 234 struct router *dr_next; /* Next router for this physical */ 235 struct router *dr_prev; /* Prev router for this physical */ 238 struct in6_addr dr_address; /* Used to identify the router */ 294 extern struct router *router_lookup(struct phyint *pi, struct in6_addr addr); 295 extern struct router *router_create(struct phyint *pi, struct in6_addr addr, 297 extern void router_update_k(struct router *d [all...] |
H A D | tables.c | 50 static void router_print(struct router *dr); 51 static void router_insert(struct phyint *pi, struct router *dr); 52 static void router_delete(struct router *dr); 53 static void router_add_k(struct router *dr); 54 static void router_delete_k(struct router *dr); 366 * Filter out so that we only receive router advertisements and 367 * router solicitations. 576 struct router *dr; 2056 /* Lookup router on its link-local IPv6 address */ 2057 struct router * [all...] |
H A D | main.c | 243 /* Feed packet back in for router operation */ 270 /* Feed packet back in for router operation */ 295 /* Feed packet back in for router operation */ 343 /* Feed packet back in for router operation */ 514 logmsg(LOG_INFO, "No longer a router on %s\n", pi->pi_name); 954 * 4. All non-router interfaces have their prefixes set up and we're 955 * done sending router solicitations on those interfaces without 1210 struct router *dr; 1211 struct router *next_dr; 1411 * Handle any queued loopback router advertisement 1742 ndpd_router_info_t router; local [all...] |
H A D | ndp.c | 282 * Process a received router solicitation. 428 * Process a received router advertisement. 440 struct router *dr; 529 /* Skip default router code if sent from ourselves */ 531 /* Find and update or add default router in list */ 934 * If the router clock runs slower than the 1147 * Process an MTU option received in a router advertisement. 1202 * Process a source link-layer address option received in a router 1263 * Verify the content of the received router advertisement against our 1528 * Update IsRouter Flag for Host turning into a router o [all...] |
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | net-physical | 440 while read router rubbish; do 441 case "$router" in 443 *) /sbin/route -n add default -gateway $router ;; 464 # the specified interface. The "router-ip" property, if present, 490 /sbin/devprop host-ip subnet-mask router-ip | ( 493 read router; 503 [ -n "$router" ] && route add \ 504 default $router 2>/dev/null;
|
H A D | net-routing-setup | 67 # run. Each router name or address is listed on a single line by 68 # itself in the file. Anything else on that line after the router's 77 # Note that the default router file is ignored if we received routes 91 # We want the default router(s) listed in 112 for router in $defrouters; do 114 -gateway $router` 173 # Default router(s) have been found, so ipv4-routing default value
|
/illumos-gate/usr/src/lib/brand/solaris10/cmd/ |
H A D | s10_net_physical.sh | 407 while read router rubbish; do 408 case "$router" in 410 *) /sbin/route -n add default -gateway $router ;;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 68 /* For router advertisement */ 143 static void record_router(struct in_addr router, long preference, int ttl); 236 int best_preference = 1; /* Set to record only the router(s) with the */ 881 * Check that at least one router address is a neighbor 1958 struct in_addr router; member in struct:table 1976 pr_name(tp->router), tp->preference, 1990 if (tp->router.s_addr == addr.s_addr) 2028 logdebug("Timed out router %s\n", 2029 pr_name(tp->router)); 2032 del_route(tp->router); 2103 record_router(struct in_addr router, long preference, int ttl) argument [all...] |
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 52 { "create-router", do_create, 55 { "delete-router", do_delete, "<router_name>" }, 56 { "enable-router", do_enable, "<router_name>" }, 57 { "disable-router", do_disable, "<router_name>" }, 58 { "modify-router", do_modify, 60 { "show-router", do_show, 110 * structures for 'vrrpadm show-router' 277 err_exit("Invalid router name %s", argv[optind]); 296 err_exit("create-router failed: %s", vrrp_err2str(err)); 308 err_exit("delete-router faile 435 char *names = NULL, *router; local [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | wbcli.c | 152 static char router[INET_ADDRSTRLEN]; variable 195 router, 0, sizeof (router) }, 1149 * Is there a correctly-defined router? 1155 info("router-ip invalid!", interactive); 1158 info("router not on local subnet!", 1182 * our local subnet, or if a router has been 1192 * If there is no router and no proxy (either on the local 1193 * subnet or reachable via a router), then the bootserver 1241 * If there is no router an [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndp.c | 685 (void) printf(" router"); 851 boolean_t router = B_FALSE; local 883 } else if (strcmp(opt, "router") == 0) { 884 router = B_TRUE; 904 if (router) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | uDNS.c | 556 // send msg if the router's address is private (which means it's non-zero) 2487 // don't unlink or free - we can retry when we get a new address/router 2665 mDNSexport void mDNS_SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, const mDNSAddr *router) argument 2675 if (router && router->type != mDNSAddrType_IPv4) { LogMsg("mDNS_SetPrimaryInterfaceInfo passed non-v4 router. Discarding. %#a", router); return; } 2685 RouterChanged = !mDNSSameIPv4Address(m->Router.ip.v4, router ? router->ip.v4 : zerov4Addr); 2692 if (router) 6034 mDNS_SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, const mDNSAddr *router) argument [all...] |
H A D | mDNSPosix.c | 465 mDNSexport mStatus mDNSPlatformGetPrimaryInterface(mDNS * const m, mDNSAddr * v4, mDNSAddr * v6, mDNSAddr * router) argument 470 (void) router;
|
H A D | mDNSEmbeddedAPI.h | 1239 mDNSAddr Address; // router address 1240 mDNSIPPort Port; // router port 1241 mDNSu8 *Request; // xml request to router 1243 mDNSu8 *Reply; // xml reply from router 2428 UDPSocket *NATMcastRecvskt; // For receiving PCP & NAT-PMP announcement multicasts from router on port 5350 2441 mDNSu8 *UPnPRouterURL; // router's URL string 2443 mDNSu8 *UPnPSOAPURL; // router's SOAP control URL string 2444 mDNSu8 *UPnPRouterAddressString; // holds both the router's address and port 3026 extern void mDNS_SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, const mDNSAddr *router); 3219 extern mStatus mDNSPlatformGetPrimaryInterface(mDNS *const m, mDNSAddr *v4, mDNSAddr *v6, mDNSAddr *router); [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_hw.h | 192 uint32_t router :1; member in struct:tavor_hw_querydevlim_s 285 uint32_t router :1; member in struct:tavor_hw_querydevlim_s
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_hw.h | 242 uint32_t router :1; member in struct:hermon_hw_querydevlim_s 439 uint32_t router :1; member in struct:hermon_hw_querydevlim_s
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 1748 __be32 router; member in struct:fw_chnet_ifconf_wr::fw_chnet_ifconf_params::fw_chnet_ifconf_addr_type::fw_chnet_ifconf_ipv4
|