/freebsd-10.1-release/contrib/ldns/ |
H A D | linktest.c | 8 ldns_rr *rr = ldns_rr_new(); local 10 ldns_rr_free(rr);
|
H A D | host2wire.c | 69 /* convert a rr list to wireformat */ 87 const ldns_rr *rr, 93 switch (ldns_rr_get_type(rr)) { 124 if (ldns_rr_owner(rr)) { 125 (void) ldns_rdf2buffer_wire_canonical(buffer, ldns_rr_owner(rr)); 129 (void) ldns_buffer_write_u16(buffer, ldns_rr_get_type(rr)); 130 (void) ldns_buffer_write_u16(buffer, ldns_rr_get_class(rr)); 135 ldns_buffer_write_u32(buffer, ldns_rr_ttl(rr)); 140 for (i = 0; i < ldns_rr_rd_count(rr); i++) { 143 buffer, ldns_rr_rdf(rr, 86 ldns_rr2buffer_wire_canonical(ldns_buffer *buffer, const ldns_rr *rr, int section) argument 159 ldns_rr2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr, int section) argument 194 ldns_rrsig2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr) argument 214 ldns_rr_rdata2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr) argument 357 ldns_rr2wire(uint8_t **dest, const ldns_rr *rr, int section, size_t *result_size) argument [all...] |
H A D | dnssec_zone.c | 15 new_rrs->rr = NULL; 27 ldns_rr_free(rrs->rr); 47 ldns_dnssec_rrs_add_rr(ldns_dnssec_rrs *rrs, ldns_rr *rr) argument 51 if (!rrs || !rr) { 57 cmp = ldns_rr_compare(rrs->rr, rr); 60 return ldns_dnssec_rrs_add_rr(rrs->next, rr); 63 new_rrs->rr = rr; 67 /* put the current old rr i 167 ldns_dnssec_rrsets_new_frm_rr(ldns_rr *rr) argument 193 ldns_dnssec_rrsets_add_rr(ldns_dnssec_rrsets *rrsets, ldns_rr *rr) argument 342 ldns_dnssec_name_new_frm_rr(ldns_rr *rr) argument 448 ldns_dnssec_name_add_rr(ldns_dnssec_name *name, ldns_rr *rr) argument 582 rr_is_rrsig_covering(ldns_rr* rr, ldns_rr_type t) argument 861 ldns_dnssec_zone_find_nsec3_original(ldns_dnssec_zone *zone, ldns_rr *rr) argument 880 ldns_dnssec_zone_add_rr(ldns_dnssec_zone *zone, ldns_rr *rr) argument [all...] |
H A D | wire2host.c | 158 ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos) argument 170 assert(rr != NULL); 172 descriptor = ldns_rr_descript(ldns_rr_get_type(rr)); 274 * Read to end of rr rdata 297 ldns_rr_push_rdf(rr, cur_rdf); 320 ldns_rr *rr = ldns_rr_new(); local 326 ldns_rr_set_owner(rr, owner); 333 ldns_rr_set_type(rr, ldns_read_uint16(&wire[*pos])); 336 ldns_rr_set_class(rr, ldns_read_uint16(&wire[*pos])); 344 ldns_rr_set_ttl(rr, ldns_read_uint3 405 ldns_rr *rr; local [all...] |
/freebsd-10.1-release/contrib/binutils/include/opcode/ |
H A D | convex.h | 22 #define rr 2 macro 226 {28,5,rr,A,A,0}, /* cvtw.b */ 227 {28,6,rr,A,A,0}, /* cvtw.h */ 228 {29,7,rr,A,A,0}, /* cvtb.w */ 229 {30,7,rr,A,A,0}, /* cvth.w */ 230 {28,5,rr,S,S,0}, /* cvtw.b */ 231 {28,6,rr,S,S,0}, /* cvtw.h */ 232 {29,7,rr,S,S,0}, /* cvtb.w */ 233 {30,7,rr,S,S,0}, /* cvth.w */ 234 {28,3,rr, [all...] |
/freebsd-10.1-release/tools/KSE/rr/ |
H A D | Makefile | 3 PROG= rr 6 SRCS= kse_asm.S rr.c
|
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | resolve.c | 104 dns_free_rr(struct rk_resource_record *rr) argument 106 if(rr->domain) 107 free(rr->domain); 108 if(rr->u.data) 109 free(rr->u.data); 110 free(rr); 116 struct rk_resource_record *rr; local 119 for(rr = r->head; rr;){ 120 struct rk_resource_record *tmp = rr; 133 struct rk_resource_record *rr; local 416 struct rk_resource_record **rr; local 630 struct rk_resource_record *rr; local 711 struct rk_resource_record * rr; local [all...] |
H A D | resolve-test.c | 74 struct rk_resource_record *rr; local 107 for(rr = r->head; rr;rr=rr->next){ 108 printf("%-30s %-5s %-6d ", rr->domain, rk_dns_type_to_string(rr->type), rr->ttl); 109 switch(rr->type){ 113 printf("%s\n", (char*)rr [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/cms/ |
H A D | cms_ess.c | 74 CMS_ReceiptRequest *rr = NULL; local 84 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); 85 if (!rr) 88 *prr = rr; 90 CMS_ReceiptRequest_free(rr); 100 CMS_ReceiptRequest *rr = NULL; local 102 rr = CMS_ReceiptRequest_new(); 103 if (!rr) 106 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen); 108 if (!ASN1_STRING_set(rr 139 CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr) argument 165 CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, ASN1_STRING **pcid, int *pallorfirst, STACK_OF(GENERAL_NAMES) **plist, STACK_OF(GENERAL_NAMES) **prto) argument 226 CMS_ReceiptRequest *rr = NULL; local 359 CMS_ReceiptRequest *rr = NULL; local [all...] |
/freebsd-10.1-release/contrib/sendmail/src/ |
H A D | sm_resolve.c | 139 RESOURCE_RECORD_T *rr; local 143 for (rr = r->dns_r_head; rr != NULL; ) 145 RESOURCE_RECORD_T *tmp = rr; 147 if (rr->rr_domain != NULL) 148 sm_free(rr->rr_domain); 149 if (rr->rr_u.rr_data != NULL) 150 sm_free(rr->rr_u.rr_data); 151 rr = rr 180 RESOURCE_RECORD_T **rr; local [all...] |
/freebsd-10.1-release/contrib/ldns/ldns/ |
H A D | rr.h | 2 * rr.h - resource record definitions 36 /** The bytes TTL, CLASS and length use up in an rr */ 314 /** question rr [it would be nicer if thous is after _rd_count] 324 * Contains a list of rr's <br> 338 * This structure contains, for all rr types, the rdata fields that are defined. 350 /** Wireformat specification for the rr, i.e. the types of rdata fields in their respective order. */ 363 * Create a rr type bitmap rdf providing enough space to set all 364 * known (to ldns) rr types. 371 * Create a rr type bitmap rdf with at least all known (to ldns) rr type [all...] |
H A D | host2wire.h | 22 #include <ldns/rr.h> 62 * Copies the rr data to the buffer in wire format 64 * \param[in] *rr resource record to convert 65 * \param[in] section the section in the packet this rr is supposed to be in 70 const ldns_rr *rr, 74 * Copies the rr data to the buffer in wire format, in canonical format 78 * \param[in] *rr resource record to convert 79 * \param[in] section the section in the packet this rr is supposed to be in 84 const ldns_rr *rr, 92 * \param[in] sigrr signature rr t [all...] |
/freebsd-10.1-release/lib/libc/locale/ |
H A D | nextwctype.c | 46 _RuneRange *rr = &runes->__runetype_ext; local 60 if (rr->__ranges != NULL && wc < rr->__ranges[0].__min) { 61 wc = rr->__ranges[0].__min; 66 base = rr->__ranges; 67 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 88 while (++re < rr->__ranges + rr->__nranges) {
|
H A D | tolower.c | 54 _RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__maplower_ext; local 61 base = rr->__ranges; 62 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
|
H A D | toupper.c | 54 _RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__mapupper_ext; local 61 base = rr->__ranges; 62 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
|
H A D | rune.c | 62 _RuneEntry *rr; local 191 runetype_ext_len * sizeof(*rr->__types) + 232 rr = rl->__runetype_ext.__ranges; 236 rr[x].__min = frr[x].min; 237 rr[x].__max = frr[x].max; 238 rr[x].__map = frr[x].map; 239 if (rr[x].__map == 0) { 240 int len = rr[x].__max - rr[x].__min + 1; 243 rr[ [all...] |
/freebsd-10.1-release/contrib/unbound/iterator/ |
H A D | iter_priv.c | 213 struct rr_parse* prev, struct rr_parse** rr, struct sockaddr_storage* addr, socklen_t addrlen) 221 prev->next = (*rr)->next; 222 else rrset->rr_first = (*rr)->next; 223 if(rrset->rr_last == *rr) 226 rrset->size -= (*rr)->size; 227 /* rr struct still exists, but is unlinked, so that in the for loop 228 * the rr->next works fine to continue. */ 245 struct rr_parse* rr, *prev = NULL; local 254 for(rr = rrset->rr_first; rr; r 212 remove_rr(const char* str, sldns_buffer* pkt, struct rrset_parse* rrset, struct rr_parse* prev, struct rr_parse** rr, struct sockaddr_storage* addr, socklen_t addrlen) argument [all...] |
/freebsd-10.1-release/crypto/openssl/ssl/ |
H A D | d1_pkt.c | 188 static DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, 191 static int dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr, 323 SSL3_RECORD *rr; local 334 rr = &s->s3->rrec; 351 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); 378 rr->length = 0; 448 SSL3_RECORD *rr; local 452 rr = &(s->s3->rrec); 456 * At this point, s->packet_length == SSL3_RT_HEADER_LNGTH + rr->length, 459 rr 629 SSL3_RECORD *rr; local 821 SSL3_RECORD *rr; local 1872 dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, unsigned int *is_next_epoch) argument [all...] |
H A D | s3_pkt.c | 299 SSL3_RECORD *rr; local 308 rr = &(s->s3->rrec); 336 rr->type = *(p++); 340 n2s(p, rr->length); 342 fprintf(stderr, "Record type=%d, Length=%d\n", rr->type, rr->length); 351 if (rr->type == SSL3_RT_ALERT) { 376 if (rr->length > s->s3->rbuf.len - SSL3_RT_HEADER_LENGTH) { 387 if (rr->length > s->packet_length - SSL3_RT_HEADER_LENGTH) { 389 i = rr 582 SSL3_RECORD *rr; local 992 SSL3_RECORD *rr; local [all...] |
/freebsd-10.1-release/lib/libc/nameser/ |
H A D | ns_parse.c | 142 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { argument 172 handle->_msg_ptr, rr->name, NS_MAXDNAME); 178 NS_GET16(rr->type, handle->_msg_ptr); 179 NS_GET16(rr->rr_class, handle->_msg_ptr); 181 rr->ttl = 0; 182 rr->rdlength = 0; 183 rr->rdata = NULL; 187 NS_GET32(rr->ttl, handle->_msg_ptr); 188 NS_GET16(rr->rdlength, handle->_msg_ptr); 189 if (handle->_msg_ptr + rr 205 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/krb5/ |
H A D | get_host_realm.c | 55 struct rk_resource_record *rr; local 58 for(n = 0, rr = head; rr; rr = rr->next) 59 if (rr->type == rk_ns_t_txt) 72 for (i = 0, rr = head; rr; rr = rr [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/bn/ |
H A D | bn_sqr.c | 71 BIGNUM *tmp, *rr; local 86 rr = (a != r) ? r : BN_CTX_get(ctx); 88 if (!rr || !tmp) 92 if (bn_wexpand(rr, max) == NULL) 98 bn_sqr_normal(rr->d, a->d, 4, t); 100 bn_sqr_comba4(rr->d, a->d); 105 bn_sqr_normal(rr->d, a->d, 8, t); 107 bn_sqr_comba8(rr->d, a->d); 113 bn_sqr_normal(rr->d, a->d, al, t); 123 bn_sqr_recursive(rr [all...] |
/freebsd-10.1-release/usr.sbin/rtadvd/ |
H A D | rrenum.c | 256 do_pco(struct icmp6_router_renum *rr, int len, struct rr_pco_match *rpm) argument 291 if ((rr->rr_flags & ICMP6_RR_FLAGS_FORCEAPPLY) == 0 && 313 do_rr(int len, struct icmp6_router_renum *rr) argument 318 lim = (char *)rr + len; 319 cp = (char *)(rr + 1); 338 if (do_pco(rr, rpmlen, rpm)) { 356 rr_command_check(int len, struct icmp6_router_renum *rr, struct in6_addr *from, argument 361 /* omit rr minimal length check. hope kernel have done it. */ 380 if (rro.rro_seqnum > rr->rr_seqnum) { 383 __func__, (u_int32_t)ntohl(rr 412 rr_command_input(int len, struct icmp6_router_renum *rr, struct in6_addr *from, struct in6_addr *dst) argument 437 rr_input(int len, struct icmp6_router_renum *rr, struct in6_pktinfo *pi, struct sockaddr_in6 *from, struct in6_addr *dst) argument [all...] |
/freebsd-10.1-release/contrib/amd/fsinfo/ |
H A D | fsi_lex.l | 128 } rr[] = { 158 #define NRES_WORDS (sizeof(rr)/sizeof(rr[0])-1) 213 while ((l <= h) && (rc = FSTRCMP(s, rr[m].rw))) { 222 tok = rr[m].tok;
|
/freebsd-10.1-release/lib/libc/resolv/ |
H A D | res_findzonecut.c | 328 ns_rr rr; local 330 if (ns_parserr(&msg, sect, i, &rr) < 0) { 335 if (ns_rr_type(rr) == ns_t_cname || 336 ns_rr_type(rr) == ns_t_dname) 338 if (ns_rr_type(rr) != ns_t_soa || 339 ns_rr_class(rr) != class) 341 t = ns_rr_name(rr); 375 rdata = ns_rr_rdata(rr); 532 ns_rr rr; local 534 if (ns_parserr(msg, sect, i, &rr) < 588 ns_rr rr; local 703 ns_rr rr; local [all...] |