Searched refs:gateway (Results 1 - 25 of 34) sorted by relevance

12

/macosx-10.10/bind9-45.101/bind9/lib/dns/rdata/generic/
H A Dipseckey_45.h28 struct in_addr in_addr; /* gateway type 1 */
29 struct in6_addr in6_addr; /* gateway type 2 */
30 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_ipseckey
H A Dipseckey_45.c33 unsigned int gateway; local
61 gateway = token.value.as_ulong;
78 switch (gateway) {
125 unsigned short gateway; local
150 gateway = uint8_fromregion(&region);
152 sprintf(buf, "%u ", gateway);
166 switch (gateway) {
315 dns_name_toregion(&ipseckey->gateway, &region);
369 dns_name_init(&ipseckey->gateway, NULL);
371 RETERR(name_duporclone(&name, mctx, &ipseckey->gateway));
[all...]
/macosx-10.10/bootp-298/IPConfiguration.bproj/
H A Drtutil.h44 subnet_route_add(struct in_addr gateway, struct in_addr netaddr,
H A Drtutil.c77 subnet_route(int cmd, struct in_addr gateway, struct in_addr netaddr, argument
109 set_sockaddr_in(&rtmsg.gway, gateway);
120 /* and the interface address (which is the gateway) */
121 set_sockaddr_in(&rtmsg.ifa, gateway);
152 subnet_route_add(struct in_addr gateway, struct in_addr netaddr, argument
155 return (subnet_route(RTM_ADD, gateway, netaddr, netmask, ifname));
/macosx-10.10/bootp-298/bootplib/
H A Dinetroute.h41 } gateway; member in struct:__anon7013
H A Dinetroute.c110 struct sockaddr * gateway = NULL; local
121 gateway = (struct sockaddr *)addrs;
122 addrs = next_sockaddr(gateway);
129 && gateway
159 if (gateway->sa_family == AF_LINK) {
160 /* ALIGN: gateway aligned. After cast,
162 struct sockaddr_dl * sdl = (struct sockaddr_dl *)(void *)gateway;
163 entry->gateway.link = *sdl;
166 struct sockaddr_in * in_p = (struct sockaddr_in *)(void *)gateway;
167 entry->gateway
[all...]
/macosx-10.10/emacs-93/emacs/lisp/gnus/
H A Dnngateway.el37 "Address of the mail-to-news gateway.")
42 parameter -- the gateway address.")
74 (defun nngateway-simple-header-transformation (gateway)
81 "@" gateway "\n")))
83 (defun nngateway-mail2news-header-transformation (gateway)
84 "Transform the headers for sending to a mail2news gateway."
88 (insert "To: " gateway "\n"))
/macosx-10.10/ppp-786.1.1/Helpers/vpnd/
H A Dipsec_utils.h45 int IPSecInstallRoutes(struct service *serv, CFDictionaryRef ipsec_dict, CFIndex index, char **error_text, struct in_addr gateway);
46 int IPSecRemoveRoutes(struct service *serv, CFDictionaryRef ipsec_dict, CFIndex index, char **error_text, struct in_addr gateway);
H A Dipsec_utils.c1862 install_remove_routes(struct service *serv, int cmd, CFDictionaryRef ipsec_dict, CFIndex index, char ** errstr, struct in_addr gateway) argument
1987 syslog(LOG_INFO, "ignoring uninstalled route: (address %s, gateway %s)\n",
1989 addr2ascii(AF_INET, &gateway, sizeof(gateway), gateway_addr_str));
2006 rtmsg.gway.sin_addr = gateway;
2016 syslog(LOG_ERR, "cannot write on routing socket: %s (address %s, gateway %s)\n", strerror(errno),
2018 addr2ascii(AF_INET, &gateway, sizeof(gateway), gateway_addr_str)); //FAIL("cannot write on routing socket", errno);
2024 gateway.s_addr, 0,
2037 addr2ascii(AF_INET, (struct in_addr *)&gateway, sizeo
2070 IPSecInstallRoutes(struct service *serv, CFDictionaryRef ipsec_dict, CFIndex index, char ** errstr, struct in_addr gateway) argument
2090 IPSecRemoveRoutes(struct service *serv, CFDictionaryRef ipsec_dict, CFIndex index, char ** errstr, struct in_addr gateway) argument
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Din_arp.c729 log(LOG_ERR, "%s: route to %s has bad gateway address "
942 why = "gateway route is not ours";
1000 struct sockaddr_dl *gateway; local
1017 * If we were given a route, verify the route and grab the gateway
1099 gateway = SDL(route->rt_gateway);
1104 route->rt_expire > timenow) && gateway != NULL &&
1105 gateway->sdl_family == AF_LINK && gateway->sdl_alen != 0 &&
1107 bcopy(gateway, ll_dest, MIN(gateway
1269 struct sockaddr_dl *gateway, *target_hw = NULL; local
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Droute.c1155 * This also frees the gateway, as they are always malloc'd
1297 * destination to go through the given gateway.
1302 rtredirect(struct ifnet *ifp, struct sockaddr *dst, struct sockaddr *gateway, argument
1331 * Verify the gateway is directly reachable; if scoped routing
1335 if ((ifa = ifa_ifwithnet_scoped(gateway, ifscope)) == NULL) {
1359 if ((ifa = ifa_ifwithaddr(gateway))) {
1403 gateway, netmask, flags, NULL, ifscope);
1407 * Smash the current notion of the gateway to
1414 * add the key and gateway (in one malloc'd chunk).
1416 error = rt_setgate(rt, rt_key(rt), gateway);
1465 ifa_ifwithroute( int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument
1480 ifa_ifwithroute_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument
1488 ifa_ifwithroute_scoped_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, unsigned int ifscope) argument
1633 rtrequest_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument
1641 rtrequest_scoped_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument
1670 rtrequest_common_locked(int req, struct sockaddr *dst0, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument
2186 rtrequest(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument
2198 rtrequest_scoped(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument
[all...]
H A Dntstat.h245 } gateway; member in struct:nstat_route_descriptor
/macosx-10.10/ppp-786.1.1/Controller/
H A Dscnc_utils.h85 Boolean copyGateway(SCDynamicStoreRef store, u_int8_t family, char *ifname, int ifnamesize, struct sockaddr *gateway, int gatewaysize);
102 boolean_t set_host_gateway(int cmd, struct sockaddr *host, struct sockaddr *gateway, char *ifname, int isnet);
103 int route_gateway(int cmd, struct sockaddr *dest, struct sockaddr *mask, struct sockaddr *gateway, int use_gway_flag, int use_blackhole_flag);
H A Dscnc_utils.c1399 return the default interface name and gateway for a given protocol
1401 Boolean copyGateway(SCDynamicStoreRef store, u_int8_t family, char *ifname, int ifnamesize, struct sockaddr *gateway, int gatewaysize) argument
1410 if (gateway)
1411 bzero(gateway, gatewaysize);
1436 if (gateway && gatewaysize >= addr.ss_len)
1437 bcopy(&addr, gateway, addr.ss_len);
1448 return TRUE if there is a default interface and gateway for a given protocol
1663 add/remove a route via a gateway
1666 route_gateway(int cmd, struct sockaddr *dest, struct sockaddr *mask, struct sockaddr *gateway, int use_gway_flag, int use_blackhole_flag) argument
1715 if (gateway)
1764 set_host_gateway(int cmd, struct sockaddr *host, struct sockaddr *gateway, char *ifname, int isnet) argument
[all...]
/macosx-10.10/ppp-786.1.1/Drivers/PPTP/PPTP-plugin/
H A Dmain.c131 static boolean_t host_gateway(int cmd, struct in_addr host, struct in_addr gateway, char *ifname, int isnet);
1453 struct in_addr gateway; local
1473 || inet_aton((char*)routeraddress, &gateway) != 1) {
1476 bzero(&gateway, sizeof(gateway));
1478 host_gateway(RTM_ADD, peeraddress, gateway, (char*)interface, 1);
1484 host_gateway(RTM_ADD, peeraddress, gateway, 0, 0);
1523 host_gateway(int cmd, struct in_addr host, struct in_addr gateway, char *ifname, int isnet) argument
1549 if (gateway.s_addr)
1560 rtmsg.gway.sin_addr = gateway;
[all...]
/macosx-10.10/ppp-786.1.1/Drivers/L2TP/L2TP-plugin/
H A Dmain.c267 static boolean_t l2tp_set_host_gateway(int cmd, struct in_addr host, struct in_addr gateway, char *ifname, int isnet);
1953 struct in_addr gateway; local
1967 || inet_aton((char*)routeraddress, &gateway) != 1) {
1970 bzero(&gateway, sizeof(gateway));
1972 l2tp_set_host_gateway(RTM_ADD, peer_address.sin_addr, gateway, (char*)interface, 1);
1978 l2tp_set_host_gateway(RTM_ADD, peer_address.sin_addr, gateway, 0, 0);
2163 l2tp_set_host_gateway(int cmd, struct in_addr host, struct in_addr gateway, char *ifname, int isnet) argument
2189 if (gateway.s_addr)
2200 rtmsg.gway.sin_addr = gateway;
[all...]
/macosx-10.10/configd-699.1.5/Plugins/IPMonitor/
H A Dip_plugin.c373 struct in_addr gateway; member in struct:__anon7076
380 struct in6_addr gateway; member in struct:__anon7077
1863 /* skip route whose gateway is the address we're looking for */
1907 * In the case of adding, that may involve first processing the gateway
1939 "IPMonitor RouteProcess: no gateway route");
1950 /* recurse to add gateway route */
2099 * Set the gateway on the excluded route to match the gateway of the found
2192 IP_LIST(&r->gateway));
2272 && (scan->gateway
8320 const char * gateway; member in struct:route
[all...]
/macosx-10.10/network_cmds-457/route.tproj/
H A Droute.c583 char *cmd, *dest = "", *gateway = ""; local
728 gateway = *argv;
767 if (af == AF_INET && *gateway && hp && hp->h_addr_list[1]) {
778 if (*gateway) {
779 (void) printf(": gateway %s", gateway);
1415 (void)printf(" gateway: %s\n", routename(gate));
/macosx-10.10/network_cmds-457/ping6.tproj/
H A Dping6.c345 char *e, *target, *ifname = NULL, *gateway = NULL; local
472 gateway = optarg;
723 /* set the gateway (next hop) if specified */
724 if (gateway) {
733 error = getaddrinfo(gateway, NULL, &hints, &gres);
735 errx(1, "getaddrinfo for the gateway %s: %s",
736 gateway, gai_strerror(error));
739 warnx("gateway resolves to multiple addresses");
3052 " [-g gateway] [-h hoplimit] [-I interface] [-i wait] [-l preload]"
/macosx-10.10/ppp-786.1.1/Helpers/pppd/
H A Dsys-MacOSX.c182 int route_gateway(int cmd, struct in_addr dest, struct in_addr mask, struct in_addr gateway, int use_gway_flag);
217 static u_int32_t default_route_gateway; /* gateway addr for default route */
3888 add/remove a route via a gateway
3891 route_gateway(int cmd, struct in_addr dest, struct in_addr mask, struct in_addr gateway, int use_gway_flag) argument
3909 sys_log(LOG_INFO, "host_gateway: open routing socket failed, %s. (address %s, mask %s, gateway %s, use-gateway %d).",
3913 addr2ascii(AF_INET, &gateway, sizeof(gateway), gateway_str),
3931 rtmsg.gway.sin_addr = gateway;
3939 sys_log((cmd == RTM_DELETE)? LOG_DEBUG : LOG_ERR, "host_gateway: write routing socket failed, %s. (address %s, mask %s, gateway
[all...]
/macosx-10.10/CPANInternal-159.1/Log-Log4perl-1.40/lib/Log/Log4perl/Appender/
H A DSynchronized.pm137 C<Log::Log4perl::Appender::Synchronized> as a gateway between your
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/examples/mime/mbot/
H A Dpersonal.tcl30 gateway \
/macosx-10.10/libpcap-48/libpcap/
H A Dscanner.l257 gateway return GATEWAY;
/macosx-10.10/files-662.1.1/private/etc/
H A Dservices2375 hhb-gateway 1136/tcp # HHB Gateway Control
2376 hhb-gateway 1136/udp # HHB Gateway Control
2726 emc-gateway 1273/udp # EMC-Gateway
2727 emc-gateway 1273/tcp # EMC-Gateway
3730 t128-gateway 1627/udp # T.128 Gateway
3731 t128-gateway 1627/tcp # T.128 Gateway
5518 proxy-gateway 2303/udp # Proxy Gateway
5519 proxy-gateway 2303/tcp # Proxy Gateway
5847 mgcp-gateway 2427/udp # Media Gateway Control Protocol Gateway
5848 mgcp-gateway 242
[all...]
/macosx-10.10/emacs-93/emacs/lisp/net/
H A Dange-ftp.el140 ;; ange-ftp has support for running the ftp process on a different (gateway)
143 ;; 1) Set the variable 'ange-ftp-gateway-host' to the name of a machine
158 ;; the *same* name between the local machine and the gateway machine.
161 ;; 4) Set the variable 'ange-ftp-gateway-tmp-name-template' to the name of
167 ;; gateway machine and the local machine.
169 ;; The simplest way of getting a ftp process running on the gateway machine
174 ;; 5) Set the variable ange-ftp-gateway-program to the name of the remote
177 ;; 6) Set the variable ange-ftp-gateway-program-interactive to nil if it
182 ;; the gateway machine. If you have to use telnet or rlogin to get to the
183 ;; gateway machin
[all...]

Completed in 424 milliseconds

12