Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 2100) sorted by relevance

12345678910>>...84

/freebsd/contrib/unbound/smallapp/
H A Dunbound-checkconf.c107 print_option(struct config_file* cfg, const char* opt, int final) in print_option() argument
110 char *p = fname_after_chroot(cfg->pidfile, cfg, 1); in print_option()
117 struct config_strlist* s = cfg->auto_trust_anchor_file_list; in print_option()
119 char *p = fname_after_chroot(s->str, cfg, 1); in print_option()
126 if(!config_get_option(cfg, opt, config_print_func, stdout)) in print_option()
132 check_mod(struct config_file* cfg, struct module_func_block* fb) in check_mod() argument
136 env.cfg = cfg; in check_mod()
167 donotquerylocalhostcheck(struct config_file* cfg) in donotquerylocalhostcheck() argument
169 if(cfg->donotquery_localhost) { in donotquerylocalhostcheck()
172 for(p=cfg->forwards; p; p=p->next) { in donotquerylocalhostcheck()
[all …]
/freebsd/contrib/unbound/util/
H A Dconfig_file.c98 struct config_file* cfg; in config_create() local
99 cfg = (struct config_file*)calloc(1, sizeof(struct config_file)); in config_create()
100 if(!cfg) in config_create()
103 cfg->verbosity = 1; in config_create()
104 cfg->stat_interval = 0; in config_create()
105 cfg->stat_cumulative = 0; in config_create()
106 cfg->stat_extended = 0; in config_create()
107 cfg->stat_inhibit_zero = 1; in config_create()
108 cfg->num_threads = 1; in config_create()
109 cfg->port = UNBOUND_DNS_PORT; in config_create()
[all …]
H A Dconfigparser.y357 if(cfg_parser->cfg->stubs &&
358 !cfg_parser->cfg->stubs->name)
369 s->next = cfg_parser->cfg->stubs;
370 cfg_parser->cfg->stubs = s;
384 if(cfg_parser->cfg->forwards &&
385 !cfg_parser->cfg->forwards->name)
396 s->next = cfg_parser->cfg->forwards;
397 cfg_parser->cfg->forwards = s;
411 if(cfg_parser->cfg->views &&
412 !cfg_parser->cfg->views->name)
[all …]
/freebsd/contrib/unbound/daemon/
H A Dunbound.c174 checkrlimits(struct config_file* cfg) in checkrlimits() argument
179 int list = ((cfg->do_udp?1:0) + (cfg->do_tcp?1 + in checkrlimits()
180 (int)cfg->incoming_num_tcp:0)); in checkrlimits()
181 size_t listen_ifs = (size_t)(cfg->num_ifs==0? in checkrlimits()
182 ((cfg->do_ip4 && !cfg->if_automatic?1:0) + in checkrlimits()
183 (cfg->do_ip6?1:0)):cfg->num_ifs); in checkrlimits()
185 size_t outudpnum = (size_t)cfg->outgoing_num_ports; in checkrlimits()
186 size_t outtcpnum = cfg->outgoing_num_tcp; in checkrlimits()
195 int numthread = (cfg->num_threads?cfg->num_threads:1); in checkrlimits()
200 size_t memsize_expect = cfg->msg_cache_size + cfg->rrset_cache_size in checkrlimits()
[all …]
/freebsd/sbin/etherswitchcfg/
H A Detherswitchcfg.c66 struct cfg { struct
81 int (*f)(struct cfg *, int argc, char *argv[]); argument
121 read_register(struct cfg *cfg, int r) in read_register() argument
126 if (ioctl(cfg->fd, IOETHERSWITCHGETREG, &er) != 0) in read_register()
132 write_register(struct cfg *cfg, int r, int v) in write_register() argument
138 if (ioctl(cfg->fd, IOETHERSWITCHSETREG, &er) != 0) in write_register()
143 read_phyregister(struct cfg *cfg, int phy, int reg) in read_phyregister() argument
149 if (ioctl(cfg->fd, IOETHERSWITCHGETPHYREG, &er) != 0) in read_phyregister()
155 write_phyregister(struct cfg *cfg, int phy, int reg, int val) in write_phyregister() argument
162 if (ioctl(cfg->fd, IOETHERSWITCHSETPHYREG, &er) != 0) in write_phyregister()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/inheritance/
H A DMakefile11 ${PACKAGE}FILES+= config015.cfg
12 ${PACKAGE}FILES+= config012.cfg
13 ${PACKAGE}FILES+= state007.cfg
14 ${PACKAGE}FILES+= state009.cfg
15 ${PACKAGE}FILES+= config020.cfg
16 ${PACKAGE}FILES+= state024.cfg
17 ${PACKAGE}FILES+= state023.cfg
18 ${PACKAGE}FILES+= state018.cfg
19 ${PACKAGE}FILES+= state016.cfg
21 ${PACKAGE}FILES+= config003.cfg
[all …]
/freebsd/sys/cam/scsi/
H A Dscsi_enc_safte.c259 struct scfg *cfg; in safte_process_config() local
263 cfg = enc->enc_private; in safte_process_config()
264 if (cfg == NULL) in safte_process_config()
273 cfg->Nfans = buf[0]; in safte_process_config()
274 cfg->Npwr = buf[1]; in safte_process_config()
275 cfg->Nslots = buf[2]; in safte_process_config()
276 cfg->DoorLock = buf[3]; in safte_process_config()
277 cfg->Ntherm = buf[4]; in safte_process_config()
278 cfg->Nspkrs = buf[5]; in safte_process_config()
280 cfg->Ntstats = buf[6] & 0x0f; in safte_process_config()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dmisc_test.sh37 . $(atf_get_srcdir)/../../../include/default.cfg
38 . $(atf_get_srcdir)/misc.cfg
46 . $(atf_get_srcdir)/../../../include/default.cfg
47 . $(atf_get_srcdir)/misc.cfg
63 . $(atf_get_srcdir)/../../../include/default.cfg
64 . $(atf_get_srcdir)/misc.cfg
72 . $(atf_get_srcdir)/../../../include/default.cfg
73 . $(atf_get_srcdir)/misc.cfg
89 . $(atf_get_srcdir)/../../../include/default.cfg
90 . $(atf_get_srcdir)/misc.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dnontrivial_test.sh35 . $(atf_get_srcdir)/../../../include/default.cfg
36 . $(atf_get_srcdir)/../acl.cfg
44 . $(atf_get_srcdir)/../../../include/default.cfg
45 . $(atf_get_srcdir)/../acl.cfg
60 . $(atf_get_srcdir)/../../../include/default.cfg
61 . $(atf_get_srcdir)/../acl.cfg
69 . $(atf_get_srcdir)/../../../include/default.cfg
70 . $(atf_get_srcdir)/../acl.cfg
85 . $(atf_get_srcdir)/../../../include/default.cfg
86 . $(atf_get_srcdir)/../acl.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/snapshot/
H A Dsnapshot_test.sh35 . $(atf_get_srcdir)/../../include/default.cfg
36 . $(atf_get_srcdir)/snapshot.cfg
45 . $(atf_get_srcdir)/../../include/default.cfg
46 . $(atf_get_srcdir)/snapshot.cfg
60 . $(atf_get_srcdir)/../../include/default.cfg
61 . $(atf_get_srcdir)/snapshot.cfg
69 . $(atf_get_srcdir)/../../include/default.cfg
70 . $(atf_get_srcdir)/snapshot.cfg
84 . $(atf_get_srcdir)/../../include/default.cfg
85 . $(atf_get_srcdir)/snapshot.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/trivial/
H A Dtrivial_test.sh34 . $(atf_get_srcdir)/../../../include/default.cfg
35 . $(atf_get_srcdir)/../acl.cfg
43 . $(atf_get_srcdir)/../../../include/default.cfg
44 . $(atf_get_srcdir)/../acl.cfg
58 . $(atf_get_srcdir)/../../../include/default.cfg
59 . $(atf_get_srcdir)/../acl.cfg
67 . $(atf_get_srcdir)/../../../include/default.cfg
68 . $(atf_get_srcdir)/../acl.cfg
82 . $(atf_get_srcdir)/../../../include/default.cfg
83 . $(atf_get_srcdir)/../acl.cfg
[all …]
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64stl_control.c68 static void nat64stl_free_config(struct nat64stl_cfg *cfg);
75 struct nat64stl_cfg *cfg; in nat64stl_alloc_config() local
77 cfg = malloc(sizeof(struct nat64stl_cfg), M_IPFW, M_WAITOK | M_ZERO); in nat64stl_alloc_config()
78 COUNTER_ARRAY_ALLOC(cfg->base.stats.cnt, NAT64STATS, M_WAITOK); in nat64stl_alloc_config()
79 cfg->no.name = cfg->name; in nat64stl_alloc_config()
80 cfg->no.etlv = IPFW_TLV_NAT64STL_NAME; in nat64stl_alloc_config()
81 cfg->no.set = set; in nat64stl_alloc_config()
82 strlcpy(cfg->name, name, sizeof(cfg->name)); in nat64stl_alloc_config()
83 return (cfg); in nat64stl_alloc_config()
87 nat64stl_free_config(struct nat64stl_cfg *cfg) in nat64stl_free_config() argument
[all …]
H A Dnat64clat_control.c66 static void nat64clat_free_config(struct nat64clat_cfg *cfg);
73 struct nat64clat_cfg *cfg; in nat64clat_alloc_config() local
75 cfg = malloc(sizeof(struct nat64clat_cfg), M_IPFW, M_WAITOK | M_ZERO); in nat64clat_alloc_config()
76 COUNTER_ARRAY_ALLOC(cfg->base.stats.cnt, NAT64STATS, M_WAITOK); in nat64clat_alloc_config()
77 cfg->no.name = cfg->name; in nat64clat_alloc_config()
78 cfg->no.etlv = IPFW_TLV_NAT64CLAT_NAME; in nat64clat_alloc_config()
79 cfg->no.set = set; in nat64clat_alloc_config()
80 strlcpy(cfg->name, name, sizeof(cfg->name)); in nat64clat_alloc_config()
81 return (cfg); in nat64clat_alloc_config()
85 nat64clat_free_config(struct nat64clat_cfg *cfg) in nat64clat_free_config() argument
[all …]
H A Dnat64lsn_control.c63 struct nat64lsn_cfg *cfg; in nat64lsn_find() local
65 cfg = (struct nat64lsn_cfg *)ipfw_objhash_lookup_name_type(ni, set, in nat64lsn_find()
68 return (cfg); in nat64lsn_find()
115 struct nat64lsn_cfg *cfg; in nat64lsn_create() local
160 cfg = nat64lsn_init_instance(ch, addr4, uc->plen4); in nat64lsn_create()
161 strlcpy(cfg->name, uc->name, sizeof(cfg->name)); in nat64lsn_create()
162 cfg->no.name = cfg->name; in nat64lsn_create()
163 cfg->no.etlv = IPFW_TLV_NAT64LSN_NAME; in nat64lsn_create()
164 cfg->no.set = uc->set; in nat64lsn_create()
166 cfg->base.plat_prefix = uc->prefix6; in nat64lsn_create()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_test.sh35 . $(atf_get_srcdir)/../../include/default.cfg
37 . $(atf_get_srcdir)/hotspare.cfg
44 . $(atf_get_srcdir)/../../include/default.cfg
46 . $(atf_get_srcdir)/hotspare.cfg
61 . $(atf_get_srcdir)/../../include/default.cfg
63 . $(atf_get_srcdir)/hotspare.cfg
70 . $(atf_get_srcdir)/../../include/default.cfg
72 . $(atf_get_srcdir)/hotspare.cfg
87 . $(atf_get_srcdir)/../../include/default.cfg
89 . $(atf_get_srcdir)/hotspare.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_test.sh36 . $(atf_get_srcdir)/../../../include/default.cfg
37 . $(atf_get_srcdir)/zpool_import.cfg
45 . $(atf_get_srcdir)/../../../include/default.cfg
46 . $(atf_get_srcdir)/zpool_import.cfg
61 . $(atf_get_srcdir)/../../../include/default.cfg
62 . $(atf_get_srcdir)/zpool_import.cfg
70 . $(atf_get_srcdir)/../../../include/default.cfg
71 . $(atf_get_srcdir)/zpool_import.cfg
86 . $(atf_get_srcdir)/../../../include/default.cfg
87 . $(atf_get_srcdir)/zpool_import.cfg
[all …]
/freebsd/sys/netpfil/ipfw/nptv6/
H A Dnptv6.c70 static void nptv6_free_config(struct nptv6_cfg *cfg);
73 static int nptv6_rewrite_internal(struct nptv6_cfg *cfg, struct mbuf **mp,
75 static int nptv6_rewrite_external(struct nptv6_cfg *cfg, struct mbuf **mp,
111 nptv6_getlasthdr(struct nptv6_cfg *cfg, struct mbuf *m, int *offset) in nptv6_getlasthdr() argument
137 nptv6_translate_icmpv6(struct nptv6_cfg *cfg, struct mbuf **mp, int offset) in nptv6_translate_icmpv6() argument
179 &cfg->external, &cfg->mask)) in nptv6_translate_icmpv6()
180 return (nptv6_rewrite_external(cfg, mp, offset)); in nptv6_translate_icmpv6()
182 &cfg->internal, &cfg->mask)) in nptv6_translate_icmpv6()
183 return (nptv6_rewrite_internal(cfg, mp, offset)); in nptv6_translate_icmpv6()
192 nptv6_search_index(struct nptv6_cfg *cfg, struct in6_addr *a) in nptv6_search_index() argument
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_test.sh35 . $(atf_get_srcdir)/../../../include/default.cfg
37 . $(atf_get_srcdir)/zfs_set.cfg
45 . $(atf_get_srcdir)/../../../include/default.cfg
47 . $(atf_get_srcdir)/zfs_set.cfg
62 . $(atf_get_srcdir)/../../../include/default.cfg
64 . $(atf_get_srcdir)/zfs_set.cfg
72 . $(atf_get_srcdir)/../../../include/default.cfg
74 . $(atf_get_srcdir)/zfs_set.cfg
89 . $(atf_get_srcdir)/../../../include/default.cfg
91 . $(atf_get_srcdir)/zfs_set.cfg
[all …]
/freebsd/sys/dev/liquidio/base/
H A Dlio_config.h102 #define LIO_GET_IQ_CFG(cfg) ((cfg)->iq) argument
103 #define LIO_GET_IQ_MAX_Q_CFG(cfg) ((cfg)->iq.max_iqs) argument
104 #define LIO_GET_IQ_INSTR_TYPE_CFG(cfg) ((cfg)->iq.instr_type) argument
106 #define LIO_GET_IQ_INTR_PKT_CFG(cfg) ((cfg)->iq.iq_intr_pkt) argument
108 #define LIO_GET_OQ_MAX_Q_CFG(cfg) ((cfg)->oq.max_oqs) argument
109 #define LIO_GET_OQ_PKTS_PER_INTR_CFG(cfg) ((cfg)->oq.pkts_per_intr) argument
110 #define LIO_GET_OQ_REFILL_THRESHOLD_CFG(cfg) ((cfg)->oq.refill_threshold) argument
111 #define LIO_GET_OQ_INTR_PKT_CFG(cfg) ((cfg)->oq.oq_intr_pkt) argument
112 #define LIO_GET_OQ_INTR_TIME_CFG(cfg) ((cfg)->oq.oq_intr_time) argument
114 #define LIO_GET_NUM_NIC_PORTS_CFG(cfg) ((cfg)->num_nic_ports) argument
[all …]
/freebsd/tests/sys/cddl/zfs/tests/reservation/
H A Dreservation_test.sh35 . $(atf_get_srcdir)/../../include/default.cfg
37 . $(atf_get_srcdir)/reservation.cfg
45 . $(atf_get_srcdir)/../../include/default.cfg
47 . $(atf_get_srcdir)/reservation.cfg
61 . $(atf_get_srcdir)/../../include/default.cfg
63 . $(atf_get_srcdir)/reservation.cfg
71 . $(atf_get_srcdir)/../../include/default.cfg
73 . $(atf_get_srcdir)/reservation.cfg
87 . $(atf_get_srcdir)/../../include/default.cfg
89 . $(atf_get_srcdir)/reservation.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_share/
H A Dzfs_share_test.sh35 . $(atf_get_srcdir)/../../../include/default.cfg
36 . $(atf_get_srcdir)/zfs_share.cfg
43 . $(atf_get_srcdir)/../../../include/default.cfg
44 . $(atf_get_srcdir)/zfs_share.cfg
58 . $(atf_get_srcdir)/../../../include/default.cfg
59 . $(atf_get_srcdir)/zfs_share.cfg
66 . $(atf_get_srcdir)/../../../include/default.cfg
67 . $(atf_get_srcdir)/zfs_share.cfg
81 . $(atf_get_srcdir)/../../../include/default.cfg
82 . $(atf_get_srcdir)/zfs_share.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_test.sh36 . $(atf_get_srcdir)/../../../include/default.cfg
38 . $(atf_get_srcdir)/zpool_create.cfg
46 . $(atf_get_srcdir)/../../../include/default.cfg
48 . $(atf_get_srcdir)/zpool_create.cfg
63 . $(atf_get_srcdir)/../../../include/default.cfg
65 . $(atf_get_srcdir)/zpool_create.cfg
73 . $(atf_get_srcdir)/../../../include/default.cfg
75 . $(atf_get_srcdir)/zpool_create.cfg
90 . $(atf_get_srcdir)/../../../include/default.cfg
92 . $(atf_get_srcdir)/zpool_create.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/zfsd/
H A Dzfsd_test.sh36 . $(atf_get_srcdir)/../../include/default.cfg
38 . $(atf_get_srcdir)/../hotspare/hotspare.cfg
39 . $(atf_get_srcdir)/zfsd.cfg
52 . $(atf_get_srcdir)/../../include/default.cfg
53 . $(atf_get_srcdir)/zfsd.cfg
68 . $(atf_get_srcdir)/../../include/default.cfg
70 . $(atf_get_srcdir)/../hotspare/hotspare.cfg
71 . $(atf_get_srcdir)/zfsd.cfg
84 . $(atf_get_srcdir)/../../include/default.cfg
85 . $(atf_get_srcdir)/zfsd.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/xattr/
H A Dxattr_test.sh35 . $(atf_get_srcdir)/../../include/default.cfg
37 . $(atf_get_srcdir)/xattr.cfg
44 . $(atf_get_srcdir)/../../include/default.cfg
46 . $(atf_get_srcdir)/xattr.cfg
60 . $(atf_get_srcdir)/../../include/default.cfg
62 . $(atf_get_srcdir)/xattr.cfg
69 . $(atf_get_srcdir)/../../include/default.cfg
71 . $(atf_get_srcdir)/xattr.cfg
85 . $(atf_get_srcdir)/../../include/default.cfg
87 . $(atf_get_srcdir)/xattr.cfg
[all …]
/freebsd/tests/sys/cddl/zfs/tests/slog/
H A Dslog_test.sh36 . $(atf_get_srcdir)/../../include/default.cfg
38 . $(atf_get_srcdir)/slog.cfg
45 . $(atf_get_srcdir)/../../include/default.cfg
47 . $(atf_get_srcdir)/slog.cfg
62 . $(atf_get_srcdir)/../../include/default.cfg
64 . $(atf_get_srcdir)/slog.cfg
71 . $(atf_get_srcdir)/../../include/default.cfg
73 . $(atf_get_srcdir)/slog.cfg
88 . $(atf_get_srcdir)/../../include/default.cfg
90 . $(atf_get_srcdir)/slog.cfg
[all …]

12345678910>>...84