Home | History | Annotate | Download | only in net

Lines Matching refs:gateway

43  * @v gateway		Gateway address (if any)
48 struct in_addr netmask, struct in_addr gateway ) {
53 if ( gateway.s_addr )
54 DBG ( "gw %s ", inet_ntoa ( gateway ) );
68 miniroute->gateway = gateway;
70 /* Add to end of list if we have a gateway, otherwise
73 if ( gateway.s_addr ) {
91 if ( miniroute->gateway.s_addr )
92 DBG ( "gw %s ", inet_ntoa ( miniroute->gateway ) );
107 * If the route requires use of a gateway, the next hop destination
108 * address will be overwritten with the gateway address.
125 has_gw = ( miniroute->gateway.s_addr );
128 *dest = miniroute->gateway;
571 /** Default gateway setting */
573 .name = "gateway",
574 .description = "Default gateway",
591 struct in_addr gateway = { 0 };
617 /* Get default gateway, if present */
618 fetch_ipv4_setting ( settings, &gateway_setting, &gateway );
621 netmask, gateway );