/freebsd-10.0-release/contrib/ldns/ |
H A D | linktest.c | 8 ldns_rr *rr = ldns_rr_new(); local 10 ldns_rr_free(rr);
|
H A D | wire2host.c | 156 ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos) argument 165 const ldns_rr_descriptor *descriptor = ldns_rr_descript(ldns_rr_get_type(rr)); 248 * Read to end of rr rdata 270 ldns_rr_push_rdf(rr, cur_rdf); 289 ldns_rr *rr = ldns_rr_new(); local 295 ldns_rr_set_owner(rr, owner); 302 ldns_rr_set_type(rr, ldns_read_uint16(&wire[*pos])); 305 ldns_rr_set_class(rr, ldns_read_uint16(&wire[*pos])); 313 ldns_rr_set_ttl(rr, ldns_read_uint32(&wire[*pos])); 316 status = ldns_wire2rdf(rr, wir 374 ldns_rr *rr; local [all...] |
H A D | host2wire.c | 69 /* convert a rr list to wireformat */ 86 const ldns_rr *rr, 92 switch (ldns_rr_get_type(rr)) { 123 if (ldns_rr_owner(rr)) { 124 (void) ldns_rdf2buffer_wire_canonical(buffer, ldns_rr_owner(rr)); 128 (void) ldns_buffer_write_u16(buffer, ldns_rr_get_type(rr)); 129 (void) ldns_buffer_write_u16(buffer, ldns_rr_get_class(rr)); 134 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, 85 ldns_rr2buffer_wire_canonical(ldns_buffer *buffer, const ldns_rr *rr, int section) argument 160 ldns_rr2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr, int section) argument 197 ldns_rrsig2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr) argument 216 ldns_rr_rdata2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr) argument 359 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, 58 rr); 62 return ldns_dnssec_rrs_add_rr(rrs->next, rr); 65 new_rrs->rr = rr; 69 /* put the current old rr i 168 ldns_dnssec_rrsets_new_frm_rr(ldns_rr *rr) argument 194 ldns_dnssec_rrsets_add_rr(ldns_dnssec_rrsets *rrsets, ldns_rr *rr) argument 343 ldns_dnssec_name_new_frm_rr(ldns_rr *rr) argument 449 ldns_dnssec_name_add_rr(ldns_dnssec_name *name, ldns_rr *rr) argument 601 rr_is_rrsig_covering(ldns_rr* rr, ldns_rr_type t) argument 807 ldns_dnssec_zone_find_nsec3_original(ldns_dnssec_zone *zone, ldns_rr *rr) argument 834 ldns_dnssec_zone_add_rr(ldns_dnssec_zone *zone, ldns_rr *rr) argument [all...] |
/freebsd-10.0-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.0-release/tools/KSE/rr/ |
H A D | Makefile | 3 PROG= rr 6 SRCS= kse_asm.S rr.c
|
/freebsd-10.0-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.0-release/crypto/openssl/crypto/cms/ |
H A D | cms_ess.c | 73 CMS_ReceiptRequest *rr = NULL; local 82 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); 83 if (!rr) 86 *prr = rr; 88 CMS_ReceiptRequest_free(rr); 97 CMS_ReceiptRequest *rr = NULL; local 99 rr = CMS_ReceiptRequest_new(); 100 if (!rr) 103 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen); 106 if (!ASN1_STRING_set(rr 140 CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr) argument 166 CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, ASN1_STRING **pcid, int *pallorfirst, STACK_OF(GENERAL_NAMES) **plist, STACK_OF(GENERAL_NAMES) **prto) argument 232 CMS_ReceiptRequest *rr = NULL; local 380 CMS_ReceiptRequest *rr = NULL; local [all...] |
/freebsd-10.0-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.0-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 */ 293 /** question rr [it would be nicer if thous is after _rd_count] 303 * Contains a list of rr's <br> 317 * This structure contains, for all rr types, the rdata fields that are defined. 329 /** Wireformat specification for the rr, i.e. the types of rdata fields in their respective order. */ 341 * creates a new rr structure. 347 * creates a new rr structure, based on the given type. 354 * \param[in] *rr the RR to be freed 357 void ldns_rr_free(ldns_rr *rr); [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.0-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...] |
H A D | runetype.c | 52 _RuneRange *rr = &(XLOCALE_CTYPE(locale)->runes->__runetype_ext); local 59 base = rr->__ranges; 60 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
|
/freebsd-10.0-release/crypto/openssl/ssl/ |
H A D | d1_pkt.c | 173 static DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, 176 static int dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr, 387 SSL3_RECORD *rr; local 391 rr= &(s->s3->rrec); 394 /* At this point, s->packet_length == SSL3_RT_HEADER_LNGTH + rr->length, 397 rr->input= &(s->packet[DTLS1_RT_HEADER_LENGTH]); 399 /* ok, we can now read from 's->packet' data into 'rr' 400 * rr->input points at rr->length bytes, which 401 * need to be copied into rr 560 SSL3_RECORD *rr; local 760 SSL3_RECORD *rr; local 1805 dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, unsigned int *is_next_epoch) argument [all...] |
H A D | s3_pkt.c | 297 SSL3_RECORD *rr; local 306 rr= &(s->s3->rrec); 333 rr->type= *(p++); 337 n2s(p,rr->length); 339 fprintf(stderr, "Record type=%d, Length=%d\n", rr->type, rr->length); 362 if (rr->length > s->s3->rbuf.len - SSL3_RT_HEADER_LENGTH) 374 if (rr->length > s->packet_length-SSL3_RT_HEADER_LENGTH) 377 i=rr->length; 380 /* now n == rr 563 SSL3_RECORD *rr; local 982 SSL3_RECORD *rr; local [all...] |
/freebsd-10.0-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.0-release/crypto/openssl/crypto/bn/ |
H A D | bn_sqr.c | 69 BIGNUM *tmp,*rr; local 85 rr=(a != r) ? r : BN_CTX_get(ctx); 87 if (!rr || !tmp) goto err; 90 if (bn_wexpand(rr,max) == NULL) goto err; 96 bn_sqr_normal(rr->d,a->d,4,t); 98 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); 116 bn_sqr_normal(rr->d,a->d,al,t); 128 bn_sqr_recursive(rr [all...] |
/freebsd-10.0-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.0-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.0-release/contrib/unbound/iterator/ |
H A D | iter_priv.c | 224 struct rr_parse* rr; local 233 for(rr = rrset->rr_first; rr; rr = rr->next) { 234 if(ldns_read_uint16(rr->ttl_data+4) 237 memmove(&sa.sin_addr, rr->ttl_data+4+2, 250 for(rr = rrset->rr_first; rr; rr [all...] |
/freebsd-10.0-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...] |