Searched refs:current (Results 1 - 25 of 47) sorted by relevance

12

/bind-9.11.3/lib/isc/unix/
H A Difiter_getifaddrs.c34 struct ifaddrs *pos; /*%< Ptr to current ifaddr */
35 isc_interface_t current; /*%< Current interface data. */ member in struct:isc_interfaceiter
110 * Get information about the current interface to iter->current.
146 memset(&iter->current, 0, sizeof(iter->current));
149 if (namelen > sizeof(iter->current.name) - 1)
150 namelen = sizeof(iter->current.name) - 1;
152 memset(iter->current.name, 0, sizeof(iter->current
[all...]
H A Difiter_sysctl.c47 isc_interface_t current; /* Current interface data. */ member in struct:isc_interfaceiter
138 * Get information about the current interface to iter->current.
160 memset(&iter->current, 0, sizeof(iter->current));
163 if (namelen > sizeof(iter->current.name) - 1)
164 namelen = sizeof(iter->current.name) - 1;
166 memset(iter->current.name, 0, sizeof(iter->current.name));
167 memmove(iter->current
[all...]
H A Difiter_ioctl.c76 isc_interface_t current; /* Current interface data. */ member in struct:isc_interfaceiter
402 memset(&iter->current, 0, sizeof(iter->current));
403 iter->current.af = iter->clua_sa.sa_family;
404 memset(iter->current.name, 0, sizeof(iter->current.name));
405 snprintf(iter->current.name, sizeof(iter->current.name),
407 iter->current.flags = INTERFACE_F_UP;
408 get_inaddr(&iter->current
[all...]
H A Dinterfaceiter.c215 iter->current.af = AF_INET6;
216 iter->current.flags = INTERFACE_F_UP;
217 isc_netaddr_fromin6(&iter->current.address, &addr6);
218 if (isc_netaddr_islinklocal(&iter->current.address)) {
219 isc_netaddr_setzone(&iter->current.address,
231 isc_netaddr_fromin6(&iter->current.netmask, &addr6);
232 strlcpy(iter->current.name, name, sizeof(iter->current.name));
246 memmove(ifdata, &iter->current, sizeof(*ifdata));
/bind-9.11.3/lib/lwres/
H A Dlwbuffer.c29 * beginning of the used region to the byte before the current offset (if
30 * any). The remaining region the current pointer to the end of the used
35 * It extends from the current offset to an offset in the remaining
36 * region. Initially, the active region is empty. If the current offset
50 * b == current pointer. Can be anywhere between a and d.
76 * used , current and active to zero.
79 * setting current to zero (the start of the buffer).
124 b->current = 0;
139 b->current = 0;
163 if (b->current >
[all...]
H A Dlwres_noop.c239 req->data = b->base + b->current;
287 req->data = b->base + b->current;
/bind-9.11.3/lib/isc/win32/
H A Dinterfaceiter.c66 isc_interface_t current; /* Current interface data. */ member in struct:isc_interfaceiter
301 * Get information about the current interface to iter->current.
316 memset(&iter->current, 0, sizeof(iter->current));
317 iter->current.af = AF_INET;
319 get_addr(AF_INET, &iter->current.address,
326 iter->current.flags = 0;
330 iter->current.flags |= INTERFACE_F_UP;
333 iter->current
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Daliaslist.c106 aliasitem_t current; local
113 current = list->first_item;
114 while (current != NULL) {
115 if (current->pattern != NULL) {
116 free(current->pattern);
118 if (current->encoding != NULL) {
119 free(current->encoding);
121 next = current->next;
122 free(current);
123 current
246 aliasitem_t current; local
[all...]
/bind-9.11.3/lib/dns/
H A Drbt.c446 addonlevel(dns_rbtnode_t *node, dns_rbtnode_t *current, int order,
660 /* Reserve space for current node. */
695 /* Serialize the current node. */
1141 dns_rbtnode_t **root, *parent, *child, *current, *new_current; local
1220 current = NULL;
1229 current = child;
1231 NODENAME(current, &current_name);
1236 *nodep = current;
1245 parent = current;
1246 child = LEFT(current);
1490 dns_rbtnode_t *current, *last_compared; local
2184 dns_name_t current; local
2482 addonlevel(dns_rbtnode_t *node, dns_rbtnode_t *current, int order, dns_rbtnode_t **rootp) argument
3244 dns_rbtnode_t *current, *previous, *predecessor; local
3361 dns_rbtnode_t *current, *successor; local
3423 dns_rbtnode_t *current, *previous, *successor; local
3468 dns_rbtnode_t *current, *previous, *successor; local
[all...]
H A Drdatasetiter.c63 * Return the current rdataset.
70 iterator->methods->current(iterator, rdataset);
H A Drdataslab.c497 unsigned char *current; local
501 current = slab + reservelen;
502 count = *current++ * 256;
503 count += *current++;
505 current += (4 * count);
509 length = *current++ * 256;
510 length += *current++;
512 current += length + 2;
514 current += length;
518 return ((unsigned int)(current
524 unsigned char *current; local
541 rdata_from_slab(unsigned char **current, dns_rdataclass_t rdclass, dns_rdatatype_t type, dns_rdata_t *rdata) argument
582 unsigned char *current; local
[all...]
H A Dsdb.c82 dns_sdbnode_t *current; member in struct:dns_sdballnodes
90 dns_rdatalist_t *current; member in struct:sdb_rdatasetiter
878 * Look for a DNAME at the current label, unless this is
892 * Look for an NS at the current label, unless this is the
917 * If the current name is not the qname, add another label
1089 sdbiter->current = NULL;
1474 sdbiter->current = ISC_LIST_HEAD(sdbiter->nodelist);
1475 if (sdbiter->current == NULL)
1485 sdbiter->current = ISC_LIST_TAIL(sdbiter->nodelist);
1486 if (sdbiter->current
[all...]
H A Ddbiterator.c94 * Return the current node.
101 return (iterator->methods->current(iterator, nodep, name));
H A Dsdlz.c125 dns_sdlznode_t *current; member in struct:dns_sdlzallnodes
133 dns_rdatalist_t *current; member in struct:sdlz_rdatasetiter
278 sdlziterator->current = ISC_LIST_HEAD(sdlznode->lists);
286 sdlziterator->current = ISC_LIST_NEXT(sdlziterator->current, link);
287 if (sdlziterator->current == NULL)
297 list_tordataset(sdlziterator->current, iterator->db, iterator->node,
820 sdlziter->current = NULL;
945 * Look for a DNAME at the current label, unless this is
959 * Look for an NS at the current labe
[all...]
H A Drbtdb.c868 rdatasetheader_t * current; member in struct:rbtdb_rdatasetiter
876 * successor to the former in lexical order. The "current" field always holds
921 dns_rbtnodechain_t *current; member in struct:rbtdb_dbiterator
1813 rdatasetheader_t *current, *top_prev, *top_next; local
1821 for (current = node->data; current != NULL; current = top_next) {
1822 top_next = current->next;
1823 clean_stale_headers(rbtdb, mctx, current);
1825 * If current i
1844 rdatasetheader_t *current, *dcurrent, *down_next, *dparent; local
5683 rdatasetheader_t *current, *top_next; local
7964 rdatasetheader_t *current, *next; local
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dbuffer.h31 * of the used region to the byte before the 'current' offset (if any). The
32 * 'remaining' region the current pointer to the end of the used
37 * It extends from the current offset to an offset in the remaining region
39 * is empty. If the current offset advances beyond the chosen offset, the
51 * b == current pointer. Can be anywhere between a and d.
72 * 0 <= current <= used
75 * (although active < current implies empty active region)
143 ((void *)((unsigned char *)(b)->base + (b)->current)) /*b*/
156 #define isc_buffer_consumedlength(b) ((b)->current) /* b-a */
157 #define isc_buffer_remaininglength(b) ((b)->used - (b)->current) /*
175 unsigned int current; member in struct:isc_buffer
[all...]
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlwbuffer.h27 * of the used region to the byte before the 'current' offset (if any). The
28 * 'remaining' region the current pointer to the end of the used
33 * It extends from the current offset to an offset in the remaining region
35 * region is empty. If the current offset advances beyond the chosen offset,
46 * b == current pointer. Can be anywhere between a and d.
67 * 0 <= current <= used
70 * (although active < current implies empty active region)
127 #define LWRES_BUFFER_REMAINING(b) ((b)->used - (b)->current)
145 unsigned int current; member in struct:lwres_buffer
232 * current
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Drdatasetiter.h71 void (*current)(dns_rdatasetiter_t *iterator, member in struct:dns_rdatasetitermethods
148 * Return the current rdataset.
H A Ddbiterator.h73 isc_result_t (*current)(dns_dbiterator_t *iterator, member in struct:dns_dbiteratormethods
202 * Return the current node.
/bind-9.11.3/bin/tests/dst/
H A Ddst_test.c32 char *current; variable
137 ret = dst_key_fromfile(name, id, alg, type, current, mctx, &key);
160 ret = dst_key_fromfile(name1, id1, alg, type, current, mctx, &key1);
164 ret = dst_key_fromfile(name2, id2, alg, type, current, mctx, &key2);
240 current = isc_mem_get(mctx, 256);
241 if (current == NULL)
243 if (getcwd(current, 256) == NULL) {
287 isc_mem_put(mctx, current, 256);
H A Dt_dst.c169 char current[PATH_MAX + 1]; local
180 p = getcwd(current, PATH_MAX);;
187 ret = dst_key_fromfile(name1, id1, alg, type, current, mctx, &key1);
195 ret = dst_key_fromfile(name2, id2, alg, type, current, mctx, &key2);
281 char current[PATH_MAX + 1]; local
285 p = getcwd(current, PATH_MAX);;
292 ret = dst_key_fromfile(name, id, alg, type, current, mctx, &key);
554 len = buf->used - buf->current;
556 t_info("buf: current %d used %d len %d\n",
557 buf->current, bu
[all...]
/bind-9.11.3/contrib/dlz/example/
H A Ddlz_example.c59 struct record current[MAX_RECORDS]; member in struct:dlz_example_data
278 add_name(state, &state->current[0], state->zone_name,
280 add_name(state, &state->current[0], state->zone_name,
282 add_name(state, &state->current[0], state->zone_name,
461 if (strcasecmp(state->current[i].name, full_name) == 0) {
463 result = state->putrr(lookup, state->current[i].type,
464 state->current[i].ttl,
465 state->current[i].data);
504 if (strlen(state->current[i].name) == 0U) {
507 result = state->putnamedrr(allnodes, state->current[
[all...]
/bind-9.11.3/bin/tests/system/dlzexternal/
H A Ddriver.c62 struct record current[MAX_RECORDS]; member in struct:dlz_example_data
281 add_name(state, &state->current[0], state->zone_name,
283 add_name(state, &state->current[0], state->zone_name,
285 add_name(state, &state->current[0], state->zone_name,
507 /* Answer from current records */
509 if (strcasecmp(state->current[i].name, full_name) == 0) {
511 result = state->putrr(lookup, state->current[i].type,
512 state->current[i].ttl,
513 state->current[i].data);
552 if (strlen(state->current[
[all...]
/bind-9.11.3/lib/isc/
H A Dbuffer.c192 * Sets the end of the active region 'n' bytes after current.
196 REQUIRE(b->current + n <= b->used);
219 REQUIRE(b->current + n <= b->used);
231 REQUIRE(n <= b->current);
253 if (b->active > b->current)
254 b->active -= b->current;
257 b->current = 0;
271 REQUIRE(b->used - b->current >= 1);
274 b->current += 1;
304 REQUIRE(b->used - b->current >
[all...]
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddatafile.c178 /* Get the current line */
183 * If the current line contains the rest of the buffer,
224 const char *current; local
253 current = isc_buffer_used(lines);
260 strcasecmp(current, "send") == 0)

Completed in 271 milliseconds

12