/openbsd/sbin/dhcpleased/ |
H A D | dhcpleased.c | 981 struct sockaddr_in dst, mask, gw, ifa; in configure_routes() local 998 memset(&gw, 0, sizeof(gw)); in configure_routes() 999 gw.sin_family = AF_INET; in configure_routes() 1000 gw.sin_len = sizeof(gw); in configure_routes() 1007 gw.sin_addr = imsg->routes[i].gw; in configure_routes() 1009 if (gw.sin_addr.s_addr == INADDR_ANY) { in configure_routes() 1044 &dst, &mask, &gw, NULL, RTF_GATEWAY); in configure_routes() 1092 iov[iovcnt].iov_base = gw; in configure_route() 1093 iov[iovcnt++].iov_len = gw->sin_len; in configure_route() 1094 rtm.rtm_msglen += gw->sin_len; in configure_route() [all …]
|
H A D | engine.c | 1000 memcpy(&routes[routes_len].gw, p, in parse_dhcp() 1001 sizeof(routes[routes_len].gw)); in parse_dhcp() 1005 &routes[routes_len].gw, in parse_dhcp() 1008 p += sizeof(routes[routes_len].gw); in parse_dhcp() 1009 rem -= sizeof(routes[routes_len].gw); in parse_dhcp() 1011 sizeof(routes[routes_len].gw); in parse_dhcp() 1184 memcpy(&routes[routes_len].gw, p, in parse_dhcp() 1185 sizeof(routes[routes_len].gw)); in parse_dhcp() 1186 p += sizeof(routes[routes_len].gw); in parse_dhcp() 1187 rem -= sizeof(routes[routes_len].gw); in parse_dhcp() [all …]
|
H A D | dhcpleased.h | 191 struct in_addr gw; member
|
/openbsd/etc/ |
H A D | netstart | 231 while read gw; do 232 case $gw in 234 _cmd=$(print -- "$gw") 239 _cmd="route -qn add -host default $gw" 244 _cmd="route -qn add -host -inet6 default $gw"
|
/openbsd/usr.sbin/relayd/ |
H A D | pfe_route.c | 127 struct sockaddr_storage dst, gw, mask, label; in pfe_route() local 146 gw = crt->host.ss; in pfe_route() 154 iov[iovcnt].iov_base = &gw; in pfe_route() 155 iov[iovcnt++].iov_len = ROUNDUP(gw.ss_len); in pfe_route() 156 hdr.rtm_msglen += ROUNDUP(gw.ss_len); in pfe_route()
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd_iface.c | 122 struct in_addr gw, assigned; in npppd_iface_setup_ip() local 196 gw.s_addr = htonl(INADDR_LOOPBACK); in npppd_iface_setup_ip() 197 in_host_route_delete(&assigned, &gw); in npppd_iface_setup_ip() 230 gw.s_addr = htonl(INADDR_LOOPBACK); in npppd_iface_setup_ip() 231 in_host_route_add(&_this->ip4addr, &gw, LOOPBACK_IFNAME, 0); in npppd_iface_setup_ip() 331 struct in_addr gw; in npppd_iface_stop() local 336 gw.s_addr = htonl(INADDR_LOOPBACK); in npppd_iface_stop() 337 in_host_route_delete(&_this->ip4addr, &gw); in npppd_iface_stop()
|
/openbsd/sbin/slaacd/ |
H A D | slaacd.c | 648 memcpy(&in6_addreq.ifra_dstaddr, &address->gw, in configure_interface() 722 struct sockaddr_in6 dst, gw, mask; in configure_gateway() local 756 memcpy(&gw, &dfr->addr, sizeof(gw)); in configure_gateway() 759 *(u_int16_t *)& gw.sin6_addr.s6_addr[2] = htons(gw.sin6_scope_id); in configure_gateway() 760 gw.sin6_scope_id = 0; in configure_gateway() 762 iov[iovcnt].iov_base = &gw; in configure_gateway() 763 iov[iovcnt++].iov_len = sizeof(gw); in configure_gateway() 764 rtm.rtm_msglen += sizeof(gw); in configure_gateway() 765 padlen = ROUNDUP(sizeof(gw)) - sizeof(gw); in configure_gateway()
|
H A D | engine.h | 22 struct sockaddr_in6 gw; member
|
H A D | frontend.c | 871 memcpy(&del_route.gw, rti_info[RTAX_GATEWAY], in handle_route_message() 872 sizeof(del_route.gw)); in handle_route_message() 873 in6 = &del_route.gw.sin6_addr; in handle_route_message() 879 del_route.gw.sin6_scope_id == 0) { in handle_route_message() 880 del_route.gw.sin6_scope_id = in handle_route_message()
|
H A D | slaacd.h | 186 struct sockaddr_in6 gw; member
|
/openbsd/gnu/usr.bin/perl/cpan/Unicode-Collate/t/ |
H A D | loc_ig.t | 45 ok($objIg->lt("gh","gw")); 46 ok($objIg->lt("ghz","gw")); 47 ok($objIg->gt("h", "gw")); 79 ok($objIg->eq("gw", "Gw")); 106 ok($objIg->lt("gw", "Gw")); 151 ok($objIg->gt("gw", "Gw"));
|
/openbsd/sys/netinet/ |
H A D | ip_spd.c | 768 ipsp_pending_acquire(struct ipsec_policy *ipo, union sockaddr_union *gw) in ipsp_pending_acquire() argument 776 if (!memcmp(gw, &ipa->ipa_addr, gw->sa.sa_len)) in ipsp_pending_acquire() 789 ipsp_acquire_sa(struct ipsec_policy *ipo, union sockaddr_union *gw, in ipsp_acquire_sa() argument 797 if (ipsp_pending_acquire(ipo, gw)) in ipsp_acquire_sa() 805 ipa->ipa_addr = *gw; in ipsp_acquire_sa() 900 return pfkeyv2_acquire(ipo, gw, laddr, &ipa->ipa_seq, ddst); in ipsp_acquire_sa()
|
H A D | ip_icmp.c | 628 char gw[INET_ADDRSTRLEN], dst[INET_ADDRSTRLEN]; in icmp_input_if() local 630 inet_ntop(AF_INET, &icp->icmp_gwaddr, gw, sizeof(gw)); in icmp_input_if() 634 printf("redirect dst %s to %s\n", dst, gw); in icmp_input_if()
|
/openbsd/usr.sbin/route6d/ |
H A D | route6d.c | 1727 const struct in6_addr *gw = NULL; in rt_del() local 1747 gw = &sgw->sin6_addr; in rt_del() 1776 gw = &in6addr_loopback; in rt_del() 1784 log_debug("gw %s", inet6_n2p(gw)); in rt_del() 1805 log_debug("%s", inet6_n2p(gw)); in rt_del() 2587 sin6->sin6_addr = *gw; in addroute() 2647 sin6->sin6_addr = *gw; in delroute() 2710 *gw = sin6->sin6_addr; in getroute() 2711 return gw; in getroute() 2863 struct in6_addr gw; in filterconfig() [all …]
|
/openbsd/regress/lib/libcrypto/x509/bettertls/certificates/ |
H A D | 1279.crt | 15 TQyshMIkC7qJYUni+gw+xy/LE2KKE2FIAY6EfhusV1Kedxdva5JrlyvFADOUdqEC
|
H A D | 3475.key | 21 5MFJoWXSCUeNq1Il27Qg4QKBgQCEJeZkSjEOGQ/P+zGWh2OnDpa/aEalN2dU/9gw
|
H A D | 425.key | 17 J7VXdlm5+gw+XqJciRLNeBqv17v9f9EJgYh1tAU5JLcR0y4HQHAwGL3D+YbvA/ID
|
H A D | 2943.key | 24 gw+uTQKBgQCNk0/WXriiNYq8PdwLcJYoiiCHFk4k/wcJaBMr5pHZgkMcTSvN/+BQ
|
H A D | 1330.chain | 36 Tj+gw/8avzGJ45pMsgWGeewQp7s2/ff9x0AGVuUXHOY3ZqkWXlJVZm6lf4jwddst
|
H A D | 2666.chain | 45 +gw/kr2Gwq6Aju6z5yKxuTbMC+FMlEzY8XXwrP91Re2AtCh4h/6k6NdR/LDMNVAX
|
H A D | 3204.chain | 35 LvaKfMEPbWEnVzOfTTgDaNc7R1tDHkrwiKArI+x+SLl/pddQ8zMI/LCatBcge/gw
|
H A D | 2465.chain | 10 NjUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDGva/gw+IlAmsFbaFZ
|
H A D | 655.chain | 46 gw==
|
/openbsd/usr.sbin/dhcpd/ |
H A D | dhcpd.conf | 29 option name-servers bb.home.vix.com, gw.home.vix.com;
|
/openbsd/sbin/dhcp6leased/ |
H A D | dhcp6leased.h | 141 struct in_addr gw; member
|