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

/freebsd-current/contrib/unbound/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"
165 ecs_is_whitelisted(sn_env->whitelist,
168 /* Address on whitelist or client query contains ECS option, we
242 /* whitelist for edns subnet capable servers */
243 sn_env->whitelist = ecs_whitelist_create();
244 if(!sn_env->whitelist ||
245 !ecs_whitelist_apply_cfg(sn_env->whitelist, env->cfg)) {
246 log_err("subnetcache: could not create ECS whitelist");
261 ecs_whitelist_delete(sn_env->whitelist);
288 ecs_whitelist_delete(sn_env->whitelist);
[all...]
/freebsd-current/contrib/unbound/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);
/freebsd-current/tools/test/stress2/misc/
H A Duma_zalloc_arg.sh182 + const char *whitelist, const char *name)
188 + if (whitelist[0] == '\0')
191 + fail = str_in_list(whitelist, ',', name);
265 + "With debug.fail_point.malloc and with an empty whitelist, CSV list of "
272 + "With an empty whitelist, all zones but those on the blacklist"
278 + "With debug.fail_point.uma_zalloc_arg and with an empty whitelist, CSV "
285 + "affected. With an empty whitelist, all zones but those on the blacklist"
/freebsd-current/usr.bin/vtfontcvt/
H A Dvtfontcvt.c92 struct whitelist { struct
101 static struct whitelist c_list[] = {
121 static struct whitelist s_list[] = {
291 struct whitelist *w = NULL;
/freebsd-current/contrib/unbound/smallapp/
H A Dunbound-checkconf.c79 #include "edns-subnet/subnet-whitelist.h"
594 struct ecs_whitelist* whitelist = NULL; local
595 if(!(whitelist = ecs_whitelist_create()))
596 fatal_exit("Could not create ednssubnet whitelist: out of memory");
597 if(!ecs_whitelist_apply_cfg(whitelist, cfg))
598 fatal_exit("Could not setup ednssubnet whitelist");
599 ecs_whitelist_delete(whitelist);
/freebsd-current/contrib/lua/src/
H A Dlgc.c1154 static void whitelist (global_State *g, GCObject *p) { function
1344 whitelist(g, g->allgc);
1346 whitelist(g, g->finobj);
1347 whitelist(g, g->tobefnz);
/freebsd-current/contrib/unbound/
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 299 milliseconds