Searched refs:whitelist (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/bsd/unbound/dist/edns-subnet/
H A Dsubnet-whitelist.c2 * edns-subnet/subnet-whitelist.c - Hosts we actively try to send subnet option
47 #include "edns-subnet/subnet-whitelist.h"
59 struct ecs_whitelist* whitelist = local
62 if(!whitelist)
64 whitelist->region = regional_create();
65 if(!whitelist->region) {
66 ecs_whitelist_delete(whitelist);
69 return whitelist;
73 ecs_whitelist_delete(struct ecs_whitelist* whitelist) argument
75 if(!whitelist)
83 upstream_insert(struct ecs_whitelist* whitelist, struct sockaddr_storage* addr, socklen_t addrlen, int net) argument
99 upstream_str_cfg(struct ecs_whitelist* whitelist, const char* str) argument
118 read_upstream(struct ecs_whitelist* whitelist, struct config_file* cfg) argument
131 read_names(struct ecs_whitelist* whitelist, struct config_file* cfg) argument
171 ecs_whitelist_apply_cfg(struct ecs_whitelist* whitelist, struct config_file* cfg) argument
187 ecs_is_whitelisted(struct ecs_whitelist* whitelist, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* qname, size_t qname_len, uint16_t qclass) argument
201 ecs_whitelist_get_mem(struct ecs_whitelist* whitelist) argument
[all...]
H A Dsubnet-whitelist.h2 * edns-subnet/subnet-whitelist.h - Hosts we actively try to send subnet option
77 * @param whitelist: to delete.
79 void ecs_whitelist_delete(struct ecs_whitelist* whitelist);
83 * @param whitelist: where to store.
87 int ecs_whitelist_apply_cfg(struct ecs_whitelist* whitelist,
92 * @param whitelist: structure for address storage.
100 int ecs_is_whitelisted(struct ecs_whitelist* whitelist,
106 * @param whitelist: structure for address storage.
109 size_t ecs_whitelist_get_mem(struct ecs_whitelist* whitelist);
H A Dsubnetmod.h61 struct ecs_whitelist* whitelist; member in struct:subnet_env
H A Dsubnetmod.c48 #include "edns-subnet/subnet-whitelist.h"
162 ecs_is_whitelisted(sn_env->whitelist,
165 /* Address on whitelist or client query contains ECS option, we
239 /* whitelist for edns subnet capable servers */
240 sn_env->whitelist = ecs_whitelist_create();
241 if(!sn_env->whitelist ||
242 !ecs_whitelist_apply_cfg(sn_env->whitelist, env->cfg)) {
243 log_err("subnetcache: could not create ECS whitelist");
258 ecs_whitelist_delete(sn_env->whitelist);
285 ecs_whitelist_delete(sn_env->whitelist);
[all...]
/netbsd-current/external/bsd/unbound/dist/ipsecmod/
H A Dipsecmod-whitelist.c2 * ipsecmod/ipsecmod-whitelist.h - White listed domains for the ipsecmod to
46 #include "ipsecmod/ipsecmod-whitelist.h"
55 /** Apply ipsecmod-whitelist string. */
57 whitelist_str_cfg(rbtree_type* whitelist, const char* name) argument
63 log_err("ipsecmod: could not parse %s for whitelist.", name);
68 log_err("ipsecmod: out of memory while creating whitelist.");
77 if(!name_tree_insert(whitelist, n, nm, len, n->labs, n->dclass)) {
85 /** Read ipsecmod-whitelist config. */
87 read_whitelist(rbtree_type* whitelist, struct config_file* cfg) argument
92 if(!whitelist_str_cfg(whitelist,
131 ipsecmod_whitelist_delete(rbtree_type* whitelist) argument
149 ipsecmod_whitelist_get_mem(rbtree_type* whitelist) argument
[all...]
H A Dipsecmod-whitelist.h2 * ipsecmod/ipsecmod-whitelist.h - White listed domains for the ipsecmod to
59 * Delete the ipsecmod whitelist.
60 * @param whitelist: ipsecmod whitelist.
62 void ipsecmod_whitelist_delete(rbtree_type* whitelist);
76 * Get memory used by ipsecmod whitelist.
77 * @param whitelist: structure for domain storage.
80 size_t ipsecmod_whitelist_get_mem(rbtree_type* whitelist);
H A Dipsecmod.h55 rbtree_type* whitelist; member in struct:ipsecmod_env
67 /** NOTE: No whitelist means all qnames are whitelisted. */
H A Dipsecmod.c47 #include "ipsecmod/ipsecmod-whitelist.h"
79 ipsecmod_env->whitelist = NULL;
95 ipsecmod_whitelist_delete(ipsecmod_env->whitelist);
610 return sizeof(*ie) + ipsecmod_whitelist_get_mem(ie->whitelist);
/netbsd-current/external/bsd/unbound/dist/testdata/fwd_capsid_white.tdir/
H A Dfwd_capsid_white.conf13 caps-whitelist: "example.com"
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dselftest_workarounds.c187 i915_reg_t reg = i < engine->whitelist.count ?
188 engine->whitelist.list[i].reg :
308 engine->whitelist.count, engine->name, name);
320 pr_err("Invalid whitelist *before* %s reset!\n", name);
355 pr_err("Invalid whitelist *after* %s reset in fresh context!\n",
436 int count = engine->whitelist.count;
439 for (i = 0; i < engine->whitelist.count; i++) {
440 u32 reg = i915_mmio_reg_offset(engine->whitelist.list[i].reg);
493 for (i = 0; i < engine->whitelist.count; i++) {
494 u32 reg = i915_mmio_reg_offset(engine->whitelist
[all...]
H A Dintel_workarounds.c35 * - Workarounds that whitelist a privileged register, so that UMDs can manage
54 * display, register whitelist, batchbuffer). Then, inside each type, keep the
1121 struct i915_wa_list *w = &engine->whitelist;
1137 gen9_whitelist_build(&engine->whitelist);
1142 struct i915_wa_list *w = &engine->whitelist;
1155 struct i915_wa_list *w = &engine->whitelist;
1168 struct i915_wa_list *w = &engine->whitelist;
1191 struct i915_wa_list *w = &engine->whitelist;
1202 struct i915_wa_list *w = &engine->whitelist;
1248 struct i915_wa_list *w = &engine->whitelist;
[all...]
H A Dintel_engine_types.h408 struct i915_wa_list whitelist; member in struct:intel_engine_cs
H A Dintel_engine_cs.c831 intel_wa_list_free(&engine->whitelist);
/netbsd-current/usr.bin/rump_dhcpclient/
H A Dif-options.h112 in_addr_t *whitelist; member in struct:if_options
/netbsd-current/external/bsd/unbound/dist/smallapp/
H A Dunbound-checkconf.c79 #include "edns-subnet/subnet-whitelist.h"
593 struct ecs_whitelist* whitelist = NULL; local
594 if(!(whitelist = ecs_whitelist_create()))
595 fatal_exit("Could not create ednssubnet whitelist: out of memory");
596 if(!ecs_whitelist_apply_cfg(whitelist, cfg))
597 fatal_exit("Could not setup ednssubnet whitelist");
598 ecs_whitelist_delete(whitelist);
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dif-options.h273 in_addr_t *whitelist; member in struct:if_options
H A Dif-options.c116 {"whitelist", required_argument, NULL, 'W'},
1266 naddr = reallocarray(ifo->whitelist,
1272 ifo->whitelist = naddr;
1273 ifo->whitelist[ifo->whitelist_len++] = addr.s_addr;
1274 ifo->whitelist[ifo->whitelist_len++] = addr2.s_addr;
H A Ddhcp.c2877 if (ifo->whitelist[i] == (addr & ifo->whitelist[i + 1]))
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dattribs.c1905 const char* const whitelist[] = {
1910 for (unsigned j = 0; j != sizeof whitelist / sizeof *whitelist; ++j)
1911 if (lookup_attribute (whitelist[j], tmpl_attrs[i])
1912 || lookup_attribute (whitelist[j], decl_attrs[i]))
1903 const char* const whitelist[] = { local
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dattribs.cc2106 const char* const whitelist[] = {
2111 for (unsigned j = 0; j != sizeof whitelist / sizeof *whitelist; ++j)
2112 if (lookup_attribute (whitelist[j], tmpl_attrs[i])
2113 || lookup_attribute (whitelist[j], decl_attrs[i]))
2104 const char* const whitelist[] = { local
/netbsd-current/external/mit/lua/dist/src/
H A Dlgc.c1157 static void whitelist (global_State *g, GCObject *p) { function
1347 whitelist(g, g->allgc);
1349 whitelist(g, g->finobj);
1350 whitelist(g, g->tobefnz);
/netbsd-current/external/bsd/unbound/dist/
H A DMakefile.in110 SUBNET_SRC=edns-subnet/edns-subnet.c edns-subnet/subnetmod.c edns-subnet/addrtree.c edns-subnet/subnet-whitelist.c
113 IPSECMOD_SRC=ipsecmod/ipsecmod.c ipsecmod/ipsecmod-whitelist.c
140 edns-subnet/addrtree.c edns-subnet/subnet-whitelist.c \
686 -e 's?$$(srcdir)/edns-subnet/subnetmod.h $$(srcdir)/edns-subnet/subnet-whitelist.h $$(srcdir)/edns-subnet/edns-subnet.h $$(srcdir)/edns-subnet/addrtree.h?$$(SUBNET_HEADER)?g' \
687 -e 's?$$(srcdir)/ipsecmod/ipsecmod.h $$(srcdir)/ipsecmod/ipsecmod-whitelist.h?$$(IPSECMOD_HEADER)?g' \
1162 subnet-whitelist.lo subnet-whitelist.o: $(srcdir)/edns-subnet/subnet-whitelist.c config.h
1176 ipsecmod-whitelist.lo ipsecmod-whitelist
[all...]

Completed in 210 milliseconds