/openbsd-current/sbin/dhcpleased/ |
H A D | engine.h | 28 struct dhcp_route routes[MAX_DHCP_ROUTES]; member in struct:imsg_configure_interface
|
H A D | engine.c | 113 struct dhcp_route routes[MAX_DHCP_ROUTES]; member in struct:dhcpleased_iface 598 memcpy(cei.routes, iface->routes, sizeof(cei.routes)); 731 struct dhcp_route routes[MAX_DHCP_ROUTES]; local 893 memset(&routes, 0, sizeof(routes)); 973 if (dho_len < sizeof(routes[routes_len].gw)) 975 if (dho_len % sizeof(routes[routes_len].gw) != 0) 979 * Ignore routers option if classless static routes [all...] |
H A D | dhcpleased.h | 40 /* A 1500 bytes packet can hold less than 300 classless static routes */ 243 struct dhcp_route routes[MAX_DHCP_ROUTES]; member in struct:ctl_engine_info
|
H A D | dhcpleased.c | 553 fatalx("%s: too many routes in imsg", __func__); 566 fatalx("%s: too many routes in imsg", __func__); 582 fatalx("%s: too many routes in imsg", __func__); 923 * When two default routes have the same gateway the kernel always 926 * all routes pointing out that interface and we end up with no 984 dst.sin_addr = imsg->routes[i].dst; 985 mask.sin_addr = imsg->routes[i].mask; 986 gw.sin_addr = imsg->routes[i].gw; 1007 mask.sin_addr = imsg->routes[i].mask;
|
/openbsd-current/sbin/dhclient/ |
H A D | kroute.c | 190 * get_routes() returns all relevant routes currently configured, and the 212 errmsg = "sysctl size of routes:"; 220 errmsg = "routes buf realloc:"; 227 errmsg = "sysctl retrieval of routes:"; 264 * routes. 266 * If the *rtm route is not in routes, return routes_len. 269 route_pos(struct rt_msghdr *rtm, uint8_t *routes, unsigned int routes_len, argument 301 len = extract_route(&routes[i], routes_len - i, &routesdstaddr, 306 /* Direct route in routes: 332 flush_routes(int index, int routefd, int rdomain, uint8_t *routes, argument 382 discard_route(uint8_t *routes, unsigned int routes_len) argument 458 set_routes(char *name, int index, int rdomain, int routefd, struct in_addr addr, struct in_addr addrmask, uint8_t *routes, unsigned int routes_len) argument 768 extract_route(uint8_t *routes, unsigned int routes_len, in_addr_t *dest, in_addr_t *netmask, in_addr_t *gateway) argument 921 uint8_t *dns, *domains, *routes; local [all...] |
H A D | dhclient.c | 2003 uint8_t *ns, *p, *routes, *domains; local 2024 routes = opt->data; 2064 memcpy(p, routes, routes_len); 2826 * 2) Unconfigure address/routes/etc.
|
/openbsd-current/usr.sbin/dhcpleasectl/ |
H A D | dhcpleasectl.c | 249 if (inet_ntop(AF_INET, &cei->routes[i].dst, ipbuf, 252 if (inet_ntop(AF_INET, &cei->routes[i].mask, maskbuf, 255 if (inet_ntop(AF_INET, &cei->routes[i].gw, 259 if (cei->routes[i].dst.s_addr == INADDR_ANY 260 && cei->routes[i].mask.s_addr == INADDR_ANY) 265 ffs(ntohl(cei->routes[i].mask.s_addr)),
|
/openbsd-current/usr.sbin/pppd/ |
H A D | sys-bsd.c | 1046 * cifaddr - Clear the interface IP addresses, and delete routes 1101 int routes; local 1109 if ((routes = socket(AF_ROUTE, SOCK_RAW, AF_INET)) == -1) { 1130 if (write(routes, &rtmsg, sizeof(rtmsg)) == -1) { 1133 close(routes); 1137 close(routes); 1161 int routes; local 1173 if ((routes = socket(AF_ROUTE, SOCK_RAW, AF_INET)) == -1) { 1191 if (write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) == -1) { 1193 close(routes); 1211 int routes; local [all...] |
/openbsd-current/regress/usr.sbin/bgpd/integrationtests/ |
H A D | network_statement.sh | 77 echo add routes 107 echo delete routes 127 echo add routes
|
H A D | ovs.sh | 77 echo add routes
|
/openbsd-current/usr.sbin/eigrpd/ |
H A D | rde.h | 39 * configured. This way we can inject local routes into the DUAL FSM 42 * inject redistributed and summarized routes. 83 TAILQ_HEAD(,eigrp_route) routes; member in struct:rt_node
|
H A D | rde_dual.c | 213 TAILQ_INIT(&rn->routes); 238 while ((route = TAILQ_FIRST(&rn->routes)) != NULL) 249 TAILQ_FOREACH(route, &rn->routes, entry) 274 TAILQ_FOREACH(tmp, &rn->routes, entry) 281 TAILQ_INSERT_TAIL(&rn->routes, route, entry); 301 TAILQ_REMOVE(&rn->routes, route, entry); 627 TAILQ_FOREACH(route, &rn->routes, entry) { 628 /* skip redistributed routes */ 660 TAILQ_FOREACH(route, &rn->routes, entry) 706 TAILQ_FOREACH(route, &rn->routes, entr [all...] |
H A D | rde.c | 798 TAILQ_FOREACH(route, &rn->routes, entry) {
|
/openbsd-current/regress/sys/net/rdomains/ |
H A D | ifalocal.sh | 36 expected $4 routes to $1 with ifp $2 in rtable $3, found $matches
|
/openbsd-current/regress/usr.sbin/ospf6d/ |
H A D | network_statement.sh | 84 echo add routes
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | mta.c | 138 static struct mta_route_tree routes; variable in typeref:struct:mta_route_tree 316 log_debug("resuming all routes"); 317 SPLAY_FOREACH(route, mta_route_tree, &routes) { 367 SPLAY_FOREACH(route, mta_route_tree, &routes) { 547 SPLAY_INIT(&routes); 1213 relay->failstr = "All routes to destination blocked"; 2434 r = SPLAY_FIND(mta_route_tree, &routes, &key); 2442 SPLAY_INSERT(mta_route_tree, &routes, r); 2514 SPLAY_REMOVE(mta_route_tree, &routes, r);
|
/openbsd-current/gnu/usr.bin/perl/dist/Math-Complex/lib/Math/ |
H A D | Trig.pm | 644 circles quite often do not look like the shortest routes -- but for 645 example the shortest possible routes from Europe or North America to
|