Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/openbsd/regress/lib/libcrypto/rc2/
H A Drc2_test.c547 RC2_set_key(&key, rt->key_len, rt->key, rt->key_bits); in rc2_ecb_test()
558 RC2_set_key(&key, rt->key_len, rt->key, rt->key_bits); in rc2_ecb_test()
579 memcpy(iv, rt->iv, rt->iv_len); in rc2_cbc_test()
580 RC2_set_key(&key, rt->key_len, rt->key, rt->key_bits); in rc2_cbc_test()
591 memcpy(iv, rt->iv, rt->iv_len); in rc2_cbc_test()
592 RC2_set_key(&key, rt->key_len, rt->key, rt->key_bits); in rc2_cbc_test()
614 memcpy(iv, rt->iv, rt->iv_len); in rc2_cfb64_test()
615 RC2_set_key(&key, rt->key_len, rt->key, rt->key_bits); in rc2_cfb64_test()
627 RC2_set_key(&key, rt->key_len, rt->key, rt->key_bits); in rc2_cfb64_test()
650 RC2_set_key(&key, rt->key_len, rt->key, rt->key_bits); in rc2_ofb64_test()
[all …]
/openbsd/sys/net/
H A Droute.c392 *rtp = rt; in rt_clone()
636 free(rt_key(rt), M_RTABLE, rt_key(rt)->sa_len); in rtfree()
687 rt = NULL; in rtredirect()
699 if (rt != NULL && (!equal(src, rt->rt_gateway) || rt->rt_ifa != ifa)) in rtredirect()
755 if (rt) { in rtredirect()
1069 rt->rt_priority, rt); in rtrequest()
1085 rt->rt_priority, rt); in rtrequest()
1929 rt->rt_priority & RTP_MASK, rt); in rt_if_linkstate_change()
1947 rt->rt_priority | RTP_DOWN, rt); in rt_if_linkstate_change()
2054 rt->rt_flags, rt->rt_refcnt.r_refs, rt->rt_use, rt->rt_expire); in db_show_rtentry()
[all …]
H A Drtable.c465 rtref(rt); in rtable_lookup()
471 return (rt); in rtable_lookup()
499 rtref(rt); in rtable_match()
538 rt = mrt; in rtable_match()
544 return (rt); in rtable_match()
649 rtfree(rt); in rtable_insert()
714 rtfree(rt); in rtable_delete()
743 rtref(rt); in rtable_walk_helper()
781 rtref(rt); in rtable_iterate()
890 rtref(rt); in rtentry_ref()
[all …]
H A Drtsock.c876 rtfree(rt); in route_output()
930 rt = NULL; in rtm_output()
939 if ((rt != NULL) && ISSET(rt->rt_flags, RTF_CACHED)) { in rtm_output()
951 rtfree(rt); in rtm_output()
952 rt = NULL; in rtm_output()
987 rt = NULL; in rtm_output()
1017 rt = NULL; in rtm_output()
1031 if ((rt != NULL) && ISSET(rt->rt_flags, RTF_MPATH) && in rtm_output()
1201 *prt = rt; in rtm_output()
1355 if (rt == NULL || !ISSET(rt->rt_flags, RTF_LLINFO)) in route_arp_conflict()
[all …]
/openbsd/gnu/usr.bin/binutils/cpu/
H A Diq2000m.cpu32 (set rt-rs (and rt-rs (or (sll hi16 16) #xFFFF)))
38 (set rt-rs (or rt-rs (sll hi16 16)))
276 "lulck $rt"
318 "luulck $rt"
390 "rb $rd,$rt"
414 "rx $rd,$rt"
438 "srrd $rt"
444 "srrdl $rt"
450 "srulck $rt"
486 "wb $rd,$rt"
[all …]
H A Diq10.cpu35 (set rt-rs (and rt-rs (or (sll hi16 16) #xFFFF)))
47 (set rt-rs (or rt-rs (sll hi16 16)))
833 "cm32rd $rt"
838 "cm32ri $rt"
853 "cm32sd $rt"
858 "cm32si $rt"
883 "cm64rd $rt"
888 "cm64ri $rt"
968 "dbd $rt"
988 "lock $rt"
[all …]
H A Diq2000.cpu177 (set (ifield f-rt) (ifield f-rd-rt))
191 (set (ifield f-rt) (ifield f-rt-rs))
466 (set rt-rs (add rt-rs (ext SI (trunc HI lo16))))
478 (set rt-rs (add rt-rs (ext SI (trunc HI lo16))))
532 (set rt-rs (and rt-rs (zext SI lo16)))
580 (set rt-rs (or rt-rs (zext SI lo16)))
607 (set rd-rt (sll rd-rt (and rs #x1F)))
695 (set rd-rt (sra rd-rt shamt))
707 (set rd-rt (sra rd-rt (and rs #x1F)))
725 (set rd-rt (srl rd-rt (and rs #x1F)))
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/cpu/
H A Diq2000m.cpu32 (set rt-rs (and rt-rs (or (sll hi16 16) #xFFFF)))
38 (set rt-rs (or rt-rs (sll hi16 16)))
276 "lulck $rt"
318 "luulck $rt"
390 "rb $rd,$rt"
414 "rx $rd,$rt"
438 "srrd $rt"
444 "srrdl $rt"
450 "srulck $rt"
486 "wb $rd,$rt"
[all …]
H A Diq10.cpu35 (set rt-rs (and rt-rs (or (sll hi16 16) #xFFFF)))
47 (set rt-rs (or rt-rs (sll hi16 16)))
833 "cm32rd $rt"
838 "cm32ri $rt"
853 "cm32sd $rt"
858 "cm32si $rt"
883 "cm64rd $rt"
888 "cm64ri $rt"
968 "dbd $rt"
988 "lock $rt"
[all …]
H A Diq2000.cpu160 (set (ifield f-rt) (ifield f-rd-rt))
174 (set (ifield f-rt) (ifield f-rt-rs))
449 (set rt-rs (add rt-rs (ext SI (trunc HI lo16))))
461 (set rt-rs (add rt-rs (ext SI (trunc HI lo16))))
515 (set rt-rs (and rt-rs (zext SI lo16)))
563 (set rt-rs (or rt-rs (zext SI lo16)))
590 (set rd-rt (sll rd-rt (and rs #x1F)))
678 (set rd-rt (sra rd-rt shamt))
690 (set rd-rt (sra rd-rt (and rs #x1F)))
708 (set rd-rt (srl rd-rt (and rs #x1F)))
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsMTInstrInfo.td45 dag OutOperandList = (outs GPR32Opnd:$rt);
70 dag InOperandList = (ins GPR32Opnd:$rt);
71 string AsmString = "fork\t$rd, $rs, $rt";
190 def : MipsInstAlias<"mftc0 $rd, $rt", (MFTC0 GPR32Opnd:$rd, COP0Opnd:$rt, 0),
193 def : MipsInstAlias<"mftlo $rt", (MFTLO GPR32Opnd:$rt, AC0), 1>, ASE_MT;
195 def : MipsInstAlias<"mfthi $rt", (MFTHI GPR32Opnd:$rt, AC0), 1>, ASE_MT;
197 def : MipsInstAlias<"mftacx $rt", (MFTACX GPR32Opnd:$rt, AC0), 1>, ASE_MT;
199 def : MipsInstAlias<"mttc0 $rd, $rt", (MTTC0 COP0Opnd:$rt, GPR32Opnd:$rd, 0),
202 def : MipsInstAlias<"mttlo $rt", (MTTLO AC0, GPR32Opnd:$rt), 1>, ASE_MT;
204 def : MipsInstAlias<"mtthi $rt", (MTTHI AC0, GPR32Opnd:$rt), 1>, ASE_MT;
[all …]
H A DMicroMips32r6InstrFormats.td68 bits<5> rt;
81 bits<5> rt;
104 bits<2> rt;
117 bits<5> rt;
144 bits<5> rt;
172 bits<5> rt;
186 bits<5> rt;
199 bits<5> rt;
211 bits<5> rt;
225 bits<5> rt;
[all …]
H A DMicroMipsDSPInstrFormats.td27 bits<5> rt;
37 bits<5> rt;
48 bits<5> rt;
63 bits<5> rt;
74 bits<5> rt;
86 bits<5> rt;
99 bits<5> rt;
112 bits<5> rt;
125 bits<5> rt;
138 bits<5> rt;
[all …]
/openbsd/sys/netinet/
H A Dif_ether.c138 if (rt->rt_expire && rt->rt_expire < uptime) in arptimer()
177 if ((rt->rt_flags & RTF_LOCAL) && rt->rt_llinfo == NULL) in arp_rtrequest()
358 (rt->rt_expire == 0 || rt->rt_expire > uptime)) { in arpresolve()
383 if ((rt->rt_expire == 0 || rt->rt_expire > uptime) && in arpresolve()
589 if (rtisvalid(rt) && ISSET(rt->rt_flags, RTF_LOCAL) && in in_arpinput()
592 rtfree(rt); in in_arpinput()
593 rt = NULL; in in_arpinput()
605 if (rtisvalid(rt) && ISSET(rt->rt_flags, RTF_LOCAL) && in in_arpinput()
639 rtfree(rt); in in_arpinput()
792 while ((rt = rtable_iterate(rt)) != NULL) { in arplookup()
[all …]
H A Dip_mroute.c161 rtfree(rt); in mfc_find()
170 return (rt); in mfc_find()
172 return (rt); in mfc_find()
173 } while ((rt = rtable_iterate(rt)) != NULL); in mfc_find()
320 } while ((rt = rtable_iterate(rt)) != NULL); in get_sg_cnt()
561 rtfree(rt); in ip_mrouter_done()
827 rtfree(rt); in mfc_add_route()
850 rtfree(rt); in mfc_add_route()
940 rtfree(rt); in update_mfc_params()
1043 rtfree(rt); in del_mfc()
[all …]
/openbsd/regress/lib/libcrypto/rc4/
H A Drc4_test.c337 rt = &rc4_tests[i]; in rc4_test()
341 RC4_set_key(&key, rt->key_len, rt->key); in rc4_test()
342 RC4(&key, rt->len, rt->in, out); in rc4_test()
344 if (memcmp(rt->out, out, rt->len) != 0) { in rc4_test()
351 RC4_set_key(&key, rt->key_len, rt->key); in rc4_test()
352 RC4(&key, rt->len, rt->out, out); in rc4_test()
354 if (memcmp(rt->in, out, rt->len) != 0) { in rc4_test()
362 if (rt->key_len == 5) { in rc4_test()
382 in_len = rt->len - j; in rc4_test()
412 if (memcmp(rt->out, out, rt->len) != 0) { in rc4_test()
[all …]
/openbsd/sys/netinet6/
H A Dnd6.c278 if (rt->rt_expire && rt->rt_expire <= uptime) in nd6_timer()
282 if (rt->rt_expire && rt->rt_expire < expire) in nd6_timer()
491 if (rt != NULL && rt->rt_gateway != NULL && in nd6_purge()
515 if (rt != NULL && (rt->rt_flags & RTF_LLINFO) == 0) { in nd6_lookup()
524 rt = NULL; in nd6_lookup()
585 rtfree(rt); in nd6_lookup()
718 rt->rt_llinfo == NULL || rt->rt_gateway == NULL || in nd6_nud_hint()
1079 if (!rt) in nd6_cache_lladdr()
1161 rt_key(rt), rt); in nd6_cache_lladdr()
1233 rtfree(rt); in nd6_cache_lladdr()
[all …]
H A Dip6_mroute.c297 } while ((rt = rtable_iterate(rt)) != NULL); in get_sg6_cnt()
535 rtfree(rt); in ip6_mrouter_done()
679 rtfree(rt); in mf6c_add_route()
686 rtfree(rt); in mf6c_add_route()
783 rtfree(rt); in mf6c_update()
848 rtfree(rt); in del_m6fc()
932 if (rt) { in ip6_mforward()
1037 rtfree(rt); in ip6_mdq()
1049 rtfree(rt); in ip6_mdq()
1118 } while ((rt = rtable_iterate(rt)) != NULL); in ip6_mdq()
[all …]
/openbsd/regress/sys/net/rtable/
H A Dutil.c116 rt = calloc(1, sizeof(*rt)); in route_insert()
117 if (rt == NULL) in route_insert()
136 if (nrt != rt) { in route_insert()
140 rtfree(rt); in route_insert()
162 if (rt == NULL) { in route_delete()
183 rtfree(rt); in route_delete()
186 free(rt_key(rt)); in route_delete()
187 free(rt); in route_delete()
215 rtfree(rt); in route_lookup()
248 inet_net_satop(af, rt_key(rt), rt_plen(rt), dest, sizeof(dest)); in rtentry_dump()
[all …]
/openbsd/usr.sbin/eigrpctl/
H A Deigrpctl.c495 struct ctl_rt *rt; in show_topology_msg() local
503 rt = imsg->data; in show_topology_msg()
519 if (asprintf(&dstnet, "%s/%d", log_addr(rt->af, &rt->prefix), in show_topology_msg()
523 if (connected_check(rt->af, &rt->nexthop)) { in show_topology_msg()
536 printf("%c %-4s %-5u %-18s", flag, af_name(rt->af), rt->as, in show_topology_msg()
543 printf(" %-12s %u/%s\n", rt->ifname, rt->distance, rdistance); in show_topology_msg()
569 rt = imsg->data; in show_topology_detail_msg()
578 &rt->prefix), rt->prefixlen) == -1) in show_topology_detail_msg()
598 if (connected_check(rt->af, &rt->nexthop)) { in show_topology_detail_msg()
610 rt->as, af_name(rt->af)); in show_topology_detail_msg()
[all …]
/openbsd/gnu/llvm/clang/runtime/
H A DCMakeLists.txt38 # Add compiler-rt as an external project.
44 add_custom_target(compiler-rt-clear
69 ExternalProject_Add(compiler-rt
105 ExternalProject_Add_Step(compiler-rt clean
107 COMMENT "Cleaning compiler-rt..."
115 COMPONENT compiler-rt)
117 add_llvm_install_targets(install-compiler-rt
118 DEPENDS compiler-rt
127 DEPENDS compiler-rt-configure
154 add_custom_target(check-compiler-rt
[all …]
/openbsd/sys/netmpls/
H A Dmpls_input.c55 struct rtentry *rt; in mpls_input() local
168 if (!rtisvalid(rt)) { in mpls_input()
229 (*ifp->if_output)(ifp, m, rt->rt_gateway, rt); in mpls_input()
231 (*ifp->if_ll_output)(ifp, m, rt->rt_gateway, rt); in mpls_input()
277 rtfree(rt); in mpls_input()
293 (*ifp->if_output)(ifp, m, rt->rt_gateway, rt); in mpls_input_local()
295 (*ifp->if_ll_output)(ifp, m, rt->rt_gateway, rt); in mpls_input_local()
392 if (!rtisvalid(rt)) { in mpls_do_error()
393 rtfree(rt); in mpls_do_error()
405 rtfree(rt); in mpls_do_error()
[all …]
/openbsd/usr.sbin/nsd/
H A Dradtree.h77 void radix_tree_init(struct radtree* rt);
83 void radix_tree_clear(struct radtree* rt);
89 void radix_tree_delete(struct radtree* rt);
102 struct radnode* radix_insert(struct radtree* rt, uint8_t* k,
111 void radix_delete(struct radtree* rt, struct radnode* n);
120 struct radnode* radix_search(struct radtree* rt, uint8_t* k,
141 struct radnode* radix_first(struct radtree* rt);
148 struct radnode* radix_last(struct radtree* rt);
198 struct radnode* radname_search(struct radtree* rt, const uint8_t* d,
227 struct radnode* radname_insert(struct radtree* rt, const uint8_t* d,
[all …]
/openbsd/regress/lib/libcrypto/rmd/
H A Drmd_test.c119 const struct rmd_test *rt; in rmd_test() local
132 rt = &rmd_tests[i]; in rmd_test()
136 RIPEMD160(rt->in, rt->in_len, out); in rmd_test()
137 if (memcmp(rt->out, out, RIPEMD160_DIGEST_LENGTH) != 0) { in rmd_test()
144 if (!EVP_Digest(rt->in, rt->in_len, out, NULL, EVP_ripemd160(), NULL)) { in rmd_test()
149 if (memcmp(rt->out, out, RIPEMD160_DIGEST_LENGTH) != 0) { in rmd_test()
161 in_len = rt->in_len / 2; in rmd_test()
162 if (!EVP_DigestUpdate(hash, rt->in, in_len)) { in rmd_test()
168 if (!EVP_DigestUpdate(hash, rt->in + in_len, in rmd_test()
169 rt->in_len - in_len)) { in rmd_test()
[all …]
/openbsd/gnu/llvm/compiler-rt/include/
H A DCMakeLists.txt60 # Copy compiler-rt headers to the build tree.
68 COMMENT "Copying compiler-rt's ${f}...")
73 add_dependencies(compiler-rt compiler-rt-headers)
78 COMPONENT compiler-rt-headers
83 COMPONENT compiler-rt-headers
89 COMPONENT compiler-rt-headers
95 COMPONENT compiler-rt-headers
100 COMPONENT compiler-rt-headers
105 COMPONENT compiler-rt-headers
110 add_custom_target(install-compiler-rt-headers
[all …]

12345678910>>...22