/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/ |
H A D | a2kbbc.c | 115 struct rtclock2000 *rt; local 118 rt = a2kclockaddr; 123 rt->control1 |= A2CONTROL1_HOLD; 125 while (rt->control1 & A2CONTROL1_BUSY && i--) 127 if (rt->control1 & A2CONTROL1_BUSY) 131 dt->dt_sec = rt->second1 * 10 + rt->second2; 132 dt->dt_min = rt->minute1 * 10 + rt->minute2; 133 dt->dt_hour = (rt 189 struct rtclock2000 *rt; local [all...] |
H A D | a34kbbc.c | 111 struct rtclock3000 *rt; local 113 rt = a34kclockaddr; 116 rt->control1 = A3CONTROL1_HOLD_CLOCK; 119 dt->dt_sec = rt->second1 * 10 + rt->second2; 120 dt->dt_min = rt->minute1 * 10 + rt->minute2; 121 dt->dt_hour = rt->hour1 * 10 + rt->hour2; 122 dt->dt_wday = rt 154 struct rtclock3000 *rt; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-runtime/doc/ |
H A D | Makefile.am | 25 EXTRA_DIST += rt-gettext.texi rt-ngettext.texi rt-envsubst.texi
|
/netbsd-6-1-5-RELEASE/usr.bin/rump_dhcpclient/ |
H A D | configure.c | 60 static struct rt *routes; 62 static struct rt * 63 find_route(struct rt *rts, const struct rt *r, struct rt **lrt, 64 const struct rt *srt) 66 struct rt *rt; local 70 for (rt = rts; rt; r 86 desc_route(const char *cmd, const struct rt *rt, const char *ifname) argument 109 route_deleted(const struct rt *rt) argument 126 n_route(struct rt *rt, const struct interface *iface) argument 173 d_route(struct rt *rt, const struct interface *iface, int metric) argument 189 struct rt *rt; local 207 add_subnet_route(struct rt *rt, const struct interface *iface) argument 229 struct rt *rt, *nrt = NULL, *r = NULL; local 258 massage_host_routes(struct rt *rt, const struct interface *iface) argument 270 add_destination_route(struct rt *rt, const struct interface *iface) argument 288 add_router_host_route(struct rt *rt, const struct interface *ifp) argument 340 struct rt *nrs = NULL, *dnr, *or, *rt, *rtn, *rtl, *lrt = NULL; local 421 struct rt *rt; local [all...] |
H A D | configure.h | 37 int route_deleted(const struct rt *);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20050826-2.c | 33 struct rtattr rt[2]; local 37 rt[0].rta_len = sizeof (struct rtattr) + 8; 38 rt[0].rta_type = 0; 39 rt[1] = rt[0]; 41 rta[i] = &rt[0]; 45 if (rta[i] != &rt[i != 7 && i != 8]) 48 rta[i] = &rt[0]; 50 rt[1].rta_len -= 8; 51 rta[5] = &rt[ [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20050826-2.c | 33 struct rtattr rt[2]; local 37 rt[0].rta_len = sizeof (struct rtattr) + 8; 38 rt[0].rta_type = 0; 39 rt[1] = rt[0]; 41 rta[i] = &rt[0]; 45 if (rta[i] != &rt[i != 7 && i != 8]) 48 rta[i] = &rt[0]; 50 rt[1].rta_len -= 8; 51 rta[5] = &rt[ [all...] |
/netbsd-6-1-5-RELEASE/sys/net/ |
H A D | route.c | 172 rt_get_ifa(struct rtentry *rt) argument 176 if ((ifa = rt->rt_ifa) == NULL) 181 else if (ifa->ifa_seqno != NULL && *ifa->ifa_seqno == rt->rt_ifa_seqno) 185 ifa = (*ifa->ifa_getifa)(ifa, rt_getkey(rt)); 186 rt_replace_ifa(rt, ifa); 192 rt_set_ifa1(struct rtentry *rt, struct ifaddr *ifa) argument 194 rt->rt_ifa = ifa; 196 rt->rt_ifa_seqno = *ifa->ifa_seqno; 203 rt_ifa_connected(const struct rtentry *rt, const struct ifaddr *ifa) argument 208 key = rt_getkey(rt); 224 rt_replace_ifa(struct rtentry *rt, struct ifaddr *ifa) argument 249 rt_set_ifa(struct rtentry *rt, struct ifaddr *ifa) argument 332 struct rtentry *rt; local 378 rtfree(struct rtentry *rt) argument 431 struct rtentry *rt; local 525 rtdeletemsg(struct rtentry *rt) argument 553 rtflushclone1(struct rtentry *rt, void *arg) argument 612 struct rtentry *rt = rtalloc1(dst, 0); local 688 struct rtentry *rt, *crt; local 858 rt_setgate(struct rtentry *rt, const struct sockaddr *gate) argument 931 struct rtentry *rt; local 1127 rt_timer_remove_all(struct rtentry *rt, int destroy) argument 1146 rt_timer_add(struct rtentry *rt, void (*func)(struct rtentry *, struct rttimer *), struct rttimer_queue *queue) argument 1254 struct rtentry *rt; local 1310 struct rtentry *rt = NULL; local 1373 rt_settag(struct rtentry *rt, const struct sockaddr *tag) argument 1384 rt_gettag(struct rtentry *rt) argument [all...] |
H A D | route.h | 121 rt_getkey(const struct rtentry *rt) argument 123 return rt->_rt_key; 408 rt_destroy(struct rtentry *rt) argument 410 if (rt->_rt_key != NULL) 411 sockaddr_free(rt->_rt_key); 412 if (rt->rt_gateway != NULL) 413 sockaddr_free(rt->rt_gateway); 414 if (rt_gettag(rt) != NULL) 415 sockaddr_free(rt_gettag(rt)); 416 rt 420 rt_setkey(struct rtentry *rt, const struct sockaddr *key, int flags) argument 487 struct rtentry *rt = ro->_ro_rt; local 501 RTFREE(struct rtentry *rt) argument [all...] |
H A D | if_hippisubr.c | 92 struct rtentry *rt; local 105 if ((rt = rt0) != NULL) { 106 if ((rt->rt_flags & RTF_UP) == 0) { 107 if ((rt0 = rt = rtalloc1(dst, 1)) != NULL) { 108 rt->rt_refcnt--; 109 if (rt->rt_ifp != ifp) 110 return (*rt->rt_ifp->if_output) 111 (ifp, m0, dst, rt); 115 if ((rt->rt_flags & RTF_GATEWAY) && dst->sa_family != AF_NS) { 116 if (rt [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/ |
H A D | ipv6.c | 57 struct rt6 *rt; local 59 while ((rt = TAILQ_FIRST(routes))) { 60 TAILQ_REMOVE(routes, rt, next); 61 free(rt); 196 struct rt6 *rt; local 198 TAILQ_FOREACH(rt, rts, next) { 199 if (IN6_ARE_ADDR_EQUAL(&rt->dest, &r->dest) && 201 rt->iface->metric == r->iface->metric && 203 IN6_ARE_ADDR_EQUAL(&rt->net, &r->net)) 204 return rt; 210 desc_route(const char *cmd, const struct rt6 *rt) argument 233 n_route(struct rt6 *rt) argument 275 d_route(struct rt6 *rt) argument 329 struct rt6 *rt; local 369 struct rt6 *rt, *rtn, *or; local [all...] |
H A D | net.h | 92 struct rt { struct 99 struct rt *next; 136 int if_route(const struct rt *rt, int); 137 #define add_route(rt) if_route(rt, 1) 138 #define change_route(rt) if_route(rt, 0) 139 #define del_route(rt) if_route(rt, [all...] |
H A D | configure.c | 55 static struct rt *routes; 411 static struct rt * 412 find_route(struct rt *rts, const struct rt *r, struct rt **lrt, 413 const struct rt *srt) 415 struct rt *rt; local 419 for (rt = rts; rt; r 435 desc_route(const char *cmd, const struct rt *rt) argument 459 route_deleted(const struct rt *rt) argument 476 n_route(struct rt *rt) argument 522 d_route(struct rt *rt) argument 538 struct rt *rt; local 556 add_subnet_route(struct rt *rt, const struct interface *iface) argument 578 struct rt *rt, *nrt = NULL, *r = NULL; local 607 massage_host_routes(struct rt *rt, const struct interface *iface) argument 619 add_destination_route(struct rt *rt, const struct interface *iface) argument 637 add_router_host_route(struct rt *rt, const struct interface *ifp) argument 689 struct rt *nrs = NULL, *dnr, *or, *rt, *rtn, *rtl, *lrt = NULL; local 777 struct rt *rt; local [all...] |
H A D | configure.h | 37 int route_deleted(const struct rt *);
|
/netbsd-6-1-5-RELEASE/sys/netinet/ |
H A D | if_atm.c | 69 * atm_rtrequest: handle ATM rt request (in support of generic code) 71 * "rt" = route entry 76 atm_rtrequest(int req, struct rtentry *rt, const struct rt_addrinfo *info) argument 78 struct sockaddr *gate = rt->rt_gateway; 85 const struct ifnet *ifp = rt->rt_ifp; 89 if (rt->rt_flags & RTF_GATEWAY) /* link level requests only */ 107 if ((rt->rt_flags & RTF_HOST) == 0) { 117 rt_setgate(rt, &u.sa); 118 gate = rt->rt_gateway; 122 if ((rt 225 atmresolve(struct rtentry *rt, struct mbuf *m, const struct sockaddr *dst, struct atm_pseudohdr *desten ) argument [all...] |
H A D | if_arp.c | 410 struct rtentry *rt = la->la_rt; local 413 if (rt->rt_expire == 0) 415 if ((rt->rt_expire - time_second) < arpt_refresh && 416 rt->rt_pksent > (time_second - arpt_keep)) { 421 arprequest(rt->rt_ifp, 422 &satocsin(rt->rt_ifa->ifa_addr)->sin_addr, 423 &satocsin(rt_getkey(rt))->sin_addr, 424 CLLADDR(rt->rt_ifp->if_sadl)); 425 } else if (rt->rt_expire <= time_second) 441 arp_setgate(struct rtentry *rt, struc argument 477 arp_rtrequest(int req, struct rtentry *rt, const struct rt_addrinfo *info) argument 772 arpresolve(struct ifnet *ifp, struct rtentry *rt, struct mbuf *m, const struct sockaddr *dst, u_char *desten) argument 936 struct rtentry *rt; local 1250 struct rtentry *rt = la->la_rt; local 1282 struct rtentry *rt; local 1584 db_show_rtentry(struct rtentry *rt, void *w) argument [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnd/ |
H A D | rates.c | 96 struct rates *rt, *ort; local 107 rt = ort = NULL; 168 rt = (struct rates *)malloc(sizeof (struct rates)); 169 if (rt == NULL) 174 rt->next = NULL; 175 rates[rateindx][indx] = rt; 200 ort = rt; 202 rt = (struct rates *)malloc(sizeof (struct rates)); 203 if (rt == NULL) 208 ort->next = rt; 388 int rt; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/virtual-time/ |
H A D | vtwrapper.c | 56 absolute_inflate(struct timeval *vt, struct timeval *rt) argument 60 rt->tv_sec = vt->tv_sec; 61 rt->tv_usec = vt->tv_usec; 67 rt->tv_sec -= epoch.tv_sec; 68 rt->tv_usec -= epoch.tv_usec; 69 while (rt->tv_usec < 0) { 70 rt->tv_sec -= 1; 71 rt->tv_usec += 1000000; 74 if (rt->tv_sec == 0) 77 d = (double) (rt 95 absolute_deflate(struct timeval *rt, struct timeval *vt) argument 134 interval_inflate(struct timeval *vt, struct timeval *rt) argument 160 interval_deflate(struct timeval *rt, struct timeval *vt) argument [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/netstat/ |
H A D | route.c | 245 p_krtentry(rt) 246 struct rtentry *rt; 252 if (Lflag && (rt->rt_flags & RTF_LLINFO)) 257 addr = sockcopy(kgetsa(rt_getkey(rt)), &addr_un); 258 if (rt_mask(rt)) 259 mask = sockcopy(kgetsa(rt_mask(rt)), &mask_un); 262 p_addr(addr, mask, rt->rt_flags); 263 p_gwaddr(kgetsa(rt->rt_gateway), kgetsa(rt->rt_gateway)->sa_family); 264 p_flags(rt [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/ |
H A D | pr46620.c | 28 struct rt struct 30 struct rt* d; 38 struct rt re; 44 rei(struct rt* const me, unsigned short anId, void *ad )
|
/netbsd-6-1-5-RELEASE/sys/netmpls/ |
H A D | mpls_var.h | 43 #define MPLS_GETSADDR(rt) ntohl(((struct sockaddr_mpls*)rt_gettag(rt))->smpls_addr.s_addr)
|
/netbsd-6-1-5-RELEASE/sys/arch/mips/mips/ |
H A D | db_disasm.c | 203 if (i.RType.func == OP_ADDU && i.RType.rt == 0) { 223 reg_name[i.RType.rt], 235 reg_name[i.RType.rt], 264 reg_name[i.RType.rt]); 273 db_printf("\t%d", (i.RType.rs << 5) | i.RType.rt); 280 reg_name[i.RType.rt]); 290 reg_name[i.RType.rt]); 295 reg_name[i.RType.rt]); 300 db_printf("%s\t%s,", regimm_name[i.IType.rt], 314 if (i.IType.rs == 0 && i.IType.rt [all...] |
/netbsd-6-1-5-RELEASE/sys/netinet6/ |
H A D | ip6_mroute.c | 240 #define MF6CFIND(o, g, rt) do { \ 242 rt = NULL; \ 248 rt = _rt; \ 253 if (rt == NULL) { \ 414 struct mf6c *rt; local 418 MF6CFIND(req->src.sin6_addr, req->grp.sin6_addr, rt); 420 if (rt != NULL) { 421 req->pktcnt = rt->mf6c_pkt_cnt; 422 req->bytecnt = rt->mf6c_byte_cnt; 423 req->wrong_if = rt 516 struct mf6c *rt; local 790 struct mf6c *rt; local 974 struct mf6c *rt; local 1044 struct mf6c *rt; local 1357 ip6_mdq(struct mbuf *m, struct ifnet *ifp, struct mf6c *rt) argument [all...] |
H A D | nd6.c | 426 struct rtentry *rt; local 443 if ((rt = ln->ln_rt) == NULL) 445 if ((ifp = rt->rt_ifp) == NULL) 448 dst = satocsin6(rt_getkey(rt)); 451 if (rt->rt_llinfo && (struct llinfo_nd6 *)rt->rt_llinfo != ln) 453 rt->rt_llinfo, ln); 475 ICMP6_DST_UNREACH_ADDR, 0, rt->rt_ifp); 480 (void)nd6_free(rt, 0); 494 (void)nd6_free(rt, 804 struct rtentry *rt; local 822 struct rtentry *rt; local 990 nd6_free(struct rtentry *rt, int gc) argument 1098 nd6_nud_hint(struct rtentry *rt, struct in6_addr *dst6, int force) argument 1143 nd6_rtrequest(int req, struct rtentry *rt, const struct rt_addrinfo *info) argument 1486 struct rtentry *rt; local 1702 nd6_llinfo_release_pkts(struct llinfo_nd6 *ln, struct ifnet *ifp, struct rtentry *rt) argument 1737 struct rtentry *rt = NULL; local 1990 struct rtentry *rt = rt0; local 2221 nd6_storelladdr(const struct ifnet *ifp, const struct rtentry *rt, struct mbuf *m, const struct sockaddr *dst, uint8_t *lldst, size_t dstsize) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/netiso/ |
H A D | iso_snpac.c | 181 llc_rtrequest(int req, struct rtentry *rt, const struct rt_addrinfo *info) argument 183 union sockunion *gate = (union sockunion *) rt->rt_gateway; 184 struct llinfo_llc *lc = (struct llinfo_llc *) rt->rt_llinfo; 185 struct ifnet *ifp = rt->rt_ifp; 191 printf("llc_rtrequest(%d, %p, %p)\n", req, rt, info); 194 if (rt->rt_flags & RTF_GATEWAY) 203 if (rt->rt_flags & RTF_CLONING) { 215 rt_setgate(rt, &u.sa); 231 rt->rt_llinfo = (void *) lc; 237 lc->lc_rt = rt; 389 struct rtentry *rt = lc->lc_rt; local 424 struct rtentry *rt; local 605 struct rtentry *rt; local 651 struct rtentry *rt; local [all...] |