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

12

/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/
H A Damtrelay_260.h25 struct in_addr in_addr; /* gateway type 1 */
26 struct in6_addr in6_addr; /* gateway type 2 */
27 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_amtrelay
28 unsigned char *data; /* gateway type > 3 */
H A Dipseckey_45.h25 struct in_addr in_addr; /* gateway type 1 */
26 struct in6_addr in6_addr; /* gateway type 2 */
27 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_ipseckey
H A Damtrelay_260.c31 unsigned int gateway; local
71 gateway = token.value.as_ulong;
73 if (gateway == 0) {
77 if (gateway > 3) {
87 switch (gateway) {
132 unsigned char gateway; local
156 gateway = uint8_fromregion(&region);
157 discovery = gateway >> 7;
158 gateway &= 0x7f;
159 space = (gateway !
[all...]
H A Dipseckey_45.c30 unsigned int gateway; local
60 gateway = token.value.as_ulong;
78 switch (gateway) {
132 unsigned short gateway; local
159 gateway = uint8_fromregion(&region);
161 snprintf(buf, sizeof(buf), "%u ", gateway);
175 switch (gateway) {
339 dns_name_toregion(&ipseckey->gateway, &region);
394 dns_name_init(&ipseckey->gateway, NULL);
396 RETERR(name_duporclone(&name, mctx, &ipseckey->gateway));
[all...]
/netbsd-current/external/mpl/bind/dist/lib/dns/rdata/generic/
H A Dipseckey_45.h24 struct in_addr in_addr; /* gateway type 1 */
25 struct in6_addr in6_addr; /* gateway type 2 */
26 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_ipseckey
H A Damtrelay_260.h24 struct in_addr in_addr; /* gateway type 1 */
25 struct in6_addr in6_addr; /* gateway type 2 */
26 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_amtrelay
27 unsigned char *data; /* gateway type > 3 */
H A Damtrelay_260.c31 unsigned int gateway; local
71 gateway = token.value.as_ulong;
73 if (gateway == 0) {
77 if (gateway > 3) {
87 switch (gateway) {
132 unsigned char gateway; local
156 gateway = uint8_fromregion(&region);
157 discovery = gateway >> 7;
158 gateway &= 0x7f;
159 space = (gateway !
[all...]
H A Dipseckey_45.c30 unsigned int gateway; local
60 gateway = token.value.as_ulong;
78 switch (gateway) {
132 unsigned short gateway; local
159 gateway = uint8_fromregion(&region);
161 snprintf(buf, sizeof(buf), "%u ", gateway);
175 switch (gateway) {
339 dns_name_toregion(&ipseckey->gateway, &region);
394 dns_name_init(&ipseckey->gateway, NULL);
396 name_duporclone(&name, mctx, &ipseckey->gateway);
[all...]
/netbsd-current/external/bsd/ipf/dist/ipsend/
H A Dipresend.c78 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
91 char *name = argv[0], *gateway = NULL, *dev = NULL; local
102 gateway = optarg;
137 if (gateway && resolve(gateway, (char *)&gwip) == -1)
139 fprintf(stderr,"Cant resolve %s\n", gateway);
H A Diptest.c71 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
95 char *gateway = NULL, *dev = NULL; local
123 gateway = optarg;
167 if (!gateway)
169 else if (resolve(gateway, (char *)&gwip) == -1)
171 fprintf(stderr,"Cant resolve %s\n", gateway);
H A Dipsend.c78 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
206 char *gateway = NULL, *dev = NULL; local
296 gateway = optarg;
362 if (!gateway)
364 else if (resolve(gateway, (char *)&gwip) == -1)
366 fprintf(stderr,"Cant resolve %s\n", gateway);
/netbsd-current/usr.sbin/bootp/common/
H A Dbootpd.h102 gateway :1, member in struct:flag
143 * The gateway and the various server fields all point to a shared list of
162 *gateway,
161 *gateway, member in struct:host
H A Ddumptab.c168 if (hp->flags.gateway) {
170 list_ipaddresses(fp, hp->gateway);
/netbsd-current/sbin/route/
H A Dkeywords.sh21 gateway
/netbsd-current/external/bsd/unbound/dist/ipsecmod/
H A Dipsecmod.c208 * This is only relevant for checking the gateway when the gateway type is 3
217 char* gateway; local
218 gateway = (char*)calloc(slen, sizeof(char));
219 if(!gateway) {
224 &precedence, &gateway_type, &algorithm, gateway) != 4) {
225 free(gateway);
229 free(gateway);
232 if(domainname_has_safe_characters(gateway, slen)) {
233 free(gateway);
[all...]
/netbsd-current/tests/net/route/
H A Dt_change.sh75 atf_set "descr" "Change the gateway of a route"
132 gateway: 10.0.0.1
151 gateway: 10.0.0.1
199 gateway: 10.0.0.1
218 gateway: 10.0.0.1
266 gateway: 10.0.0.1
285 gateway: 10.0.0.1
/netbsd-current/sys/net/
H A Droute.c822 * destination to go through the given gateway.
829 rtredirect(const struct sockaddr *dst, const struct sockaddr *gateway, argument
840 /* verify the gateway is directly reachable */
841 if ((ifa = ifa_ifwithnet_psref(gateway, &psref)) == NULL) {
859 _ifa = ifa_ifwithaddr(gateway);
890 info.rti_info[RTAX_GATEWAY] = gateway;
903 * Smash the current notion of the gateway to
913 error = rt_setgate(rt, gateway);
947 info.rti_info[RTAX_GATEWAY] = gateway;
984 const struct sockaddr *gateway, struc
983 ifa_ifwithroute_psref(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, struct psref *psref) argument
1058 rtrequest(int req, const struct sockaddr *dst, const struct sockaddr *gateway, const struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument
1101 const struct sockaddr *gateway = info->rti_info[RTAX_GATEWAY]; local
1150 const struct sockaddr *gateway = info->rti_info[RTAX_GATEWAY]; local
1573 struct sockaddr *gateway = rt->rt_gateway; local
[all...]
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Droute.c260 char dest[INET_MAX_ADDRSTRLEN], gateway[INET_MAX_ADDRSTRLEN]; local
270 sa_addrtop(&rt->rt_gateway, gateway, sizeof(gateway));
280 ifname, cmd, dest, gateway);
287 ifname, cmd, gateway);
297 dest, prefix, gateway);
515 * Don't install a gateway if not asked to.
H A Dipv4.c339 /* If configured, install a gateway to the desintion
381 struct sockaddr_in *dest, *netmask, *gateway; local
400 gateway = satosin(&rt->rt_gateway);
410 cp = (const char *)&gateway->sin_addr.s_addr;
441 gateway->sin_addr.s_addr = INADDR_ANY;
458 sa_in_init(&rth->rt_dest, &gateway->sin_addr);
H A Ddhcp.c405 struct in_addr dest, netmask, gateway; local
442 memcpy(&gateway.s_addr, p, 4);
450 sa_in_init(&rt->rt_gateway, &gateway);
567 struct in_addr dest, netmask, gateway; local
610 memcpy(&gateway.s_addr, p, sizeof(gateway.s_addr));
614 if (gateway.s_addr == INADDR_ANY)
620 * gateway match the destination or assigned address */
621 if (gateway.s_addr == dest.s_addr ||
622 (gateway
[all...]
/netbsd-current/sys/nfs/
H A Dnfs_bootdhcp.c115 u_int8_t bp_hops; /* gateway hops */
122 struct in_addr bp_giaddr; /* gateway IP address */
280 "gateway, next-server, root-path)\n");
699 struct in_addr gateway; local
714 gateway.s_addr = 0;
754 memcpy(&gateway, p, 4);
844 nd->nd_gwip = gateway;
845 printf("nfs_boot: gateway=%s\n", inet_ntoa(nd->nd_gwip));
/netbsd-current/usr.sbin/bootp/bootpd/
H A Dbootpd.c588 * a request to another server. That is the job of a gateway
1031 * else if gateway IP address is specified, use that
1047 report(LOG_INFO, "sending reply to gateway %s",
1075 * be on the other side of a BOOTP gateway...
1163 * Fill in vendor information. Subnet mask, default gateway,
1171 if (hp->flags.gateway) {
1172 (vendp->v_dgate).s_addr = hp->gateway->addr->s_addr;
1309 if (hp->flags.gateway) {
1311 hp->gateway,
1327 * Only the subnet_mask, bootsize, and gateway shoul
[all...]
/netbsd-current/external/mpl/dhcp/bind/include/dns/
H A Drdatastruct.h1394 struct in_addr in_addr; /* gateway type 1 */
1395 struct in6_addr in6_addr; /* gateway type 2 */
1396 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_ipseckey
2413 struct in_addr in_addr; /* gateway type 1 */
2414 struct in6_addr in6_addr; /* gateway type 2 */
2415 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_amtrelay
2416 unsigned char *data; /* gateway type > 3 */
/netbsd-current/external/mpl/bind/include/dns/
H A Drdatastruct.h1254 struct in_addr in_addr; /* gateway type 1 */
1255 struct in6_addr in6_addr; /* gateway type 2 */
1256 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_ipseckey
2176 struct in_addr in_addr; /* gateway type 1 */
2177 struct in6_addr in6_addr; /* gateway type 2 */
2178 dns_name_t gateway; /* gateway type 3 */ member in struct:dns_rdata_amtrelay
2179 unsigned char *data; /* gateway type > 3 */
/netbsd-current/sbin/ping6/
H A Dping6.c286 char *e, *target, *ifname = NULL, *gateway = NULL; local
399 gateway = optarg;
606 /* set the gateway (next hop) if specified */
607 if (gateway) {
616 error = getaddrinfo(gateway, NULL, &hints, &gres);
618 errx(1, "getaddrinfo for the gateway %s: %s",
619 gateway, gai_strerror(error));
622 warnx("gateway resolves to multiple addresses");
2526 "\t[-c count] [-g gateway] [-h hoplimit] [-I interface]\n"

Completed in 178 milliseconds

12