Home
last modified time | relevance | path

Searched refs:ips (Results 1 – 25 of 34) sorted by relevance

12

/openbsd-src/usr.sbin/rpki-client/
H A Dip.c72 * specified in the "ips" array.
81 const struct cert_ip *ips, size_t num_ips) in ip_addr_check_covered() argument
86 if (ips[i].afi != afi) in ip_addr_check_covered()
88 if (ips[i].type == CERT_IP_INHERIT) in ip_addr_check_covered()
90 if (memcmp(ips[i].min, min, sz) <= 0 && in ip_addr_check_covered()
91 memcmp(ips[i].max, max, sz) >= 0) in ip_addr_check_covered()
100 * does not overlap with any addresses or ranges in the "ips" array.
106 const struct cert_ip *ips, size_t num_ips, int quiet) in ip_addr_check_overlap() argument
118 if (ips[i].type == CERT_IP_INHERIT) { in ip_addr_check_overlap()
119 if (ips[ in ip_addr_check_overlap()
[all...]
H A Dvalidate.c72 c = ip_addr_check_covered(afi, min, max, a->cert->ips, in valid_ip()
114 if (cert->ips[i].type == CERT_IP_INHERIT) in valid_cert()
117 if (valid_ip(a, cert->ips[i].afi, cert->ips[i].min, in valid_cert()
118 cert->ips[i].max)) in valid_cert()
121 ip_warn(fn, "RFC 6487: uncovered resource", &cert->ips[i]); in valid_cert()
139 if (ip_addr_check_covered(roa->ips[i].afi, roa->ips[i].min, in valid_roa()
140 roa->ips[i].max, cert->ips, cer in valid_roa()
[all...]
H A Droa.c182 roa->ips = recallocarray(roa->ips, roa->num_ips, in roa_parse_econtent()
184 if (roa->ips == NULL) in roa_parse_econtent()
219 res = &roa->ips[roa->num_ips++]; in roa_parse_econtent()
330 free(p->ips);
347 io_simple_buffer(b, p->ips, p->num_ips * sizeof(p->ips[0])); in roa_buffer()
374 if ((p->ips = calloc(p->num_ips, sizeof(p->ips[0]))) == NULL) in roa_read()
376 io_read_buf(b, p->ips, in roa_read()
[all...]
H A Dcert.c51 append_ip(const char *fn, struct cert_ip *ips, size_t *num_ips, in append_ip() argument
54 if (!ip_addr_check_overlap(ip, fn, ips, *num_ips, 0)) in append_ip()
56 ips[(*num_ips)++] = *ip; in append_ip()
274 sbgp_addr(const char *fn, struct cert_ip *ips, size_t *num_ips, enum afi afi, in sbgp_addr()
296 return append_ip(fn, ips, num_ips, &ip); in sbgp_addr()
304 sbgp_addr_range(const char *fn, struct cert_ip *ips, size_t *num_ips, in sbgp_addr_range()
332 return append_ip(fn, ips, num_ips, &ip); in sbgp_addr_range()
336 sbgp_addr_inherit(const char *fn, struct cert_ip *ips, size_t *num_ips, in sbgp_addr_inherit()
346 return append_ip(fn, ips, num_ips, &ip); in sbgp_addr_inherit()
357 struct cert_ip *ips in sbgp_parse_ipaddrblk()
273 sbgp_addr(const char * fn,struct cert_ip * ips,size_t * ipsz,enum afi afi,const ASN1_BIT_STRING * bs) sbgp_addr() argument
303 sbgp_addr_range(const char * fn,struct cert_ip * ips,size_t * ipsz,enum afi afi,const IPAddressRange * range) sbgp_addr_range() argument
335 sbgp_addr_inherit(const char * fn,struct cert_ip * ips,size_t * ipsz,enum afi afi) sbgp_addr_inherit() argument
356 struct cert_ip *ips = NULL; sbgp_parse_ipaddrblk() local
[all...]
H A Dprint.c228 ip_resources_print(struct cert_ip *ips, size_t num_ips, size_t num_ases) in ip_resources_print()
237 switch (ips[i].type) { in ip_resources_print()
248 ip_addr_print(&ips[i].ip, ips[i].afi, buf1, in ip_resources_print()
259 sockt = (ips[i].afi == AFI_IPV4) ? in ip_resources_print()
261 inet_ntop(sockt, ips[i].min, buf1, sizeof(buf1)); in ip_resources_print()
262 inet_ntop(sockt, ips[i].max, buf2, sizeof(buf2)); in ip_resources_print()
340 ip_resources_print(p->ips, p->num_ips, p->num_ases); in cert_print()
547 ip_addr_print(&p->ips[i].addr, p->ips[ in roa_print()
227 ip_resources_print(struct cert_ip * ips,size_t ipsz,size_t asz) ip_resources_print() argument
[all...]
H A Drsc.c207 rsc->ips = recallocarray(rsc->ips, rsc->num_ips, num_ips, in rsc_parse_iplist()
209 if (rsc->ips == NULL) in rsc_parse_iplist()
221 if (!sbgp_addr(fn, rsc->ips, in rsc_parse_iplist()
226 if (!sbgp_addr_range(fn, rsc->ips, in rsc_parse_iplist()
467 free(p->ips); in rsc_free()
H A Dextern.h125 struct cert_ip *ips; /* list of IP address ranges */
246 struct roa_ip *ips; /* IP prefixes */
271 struct cert_ip *ips; /* IP prefixes */
123 struct cert_ip *ips; /* list of IP address ranges */ global() member
243 struct roa_ip *ips; /* IP prefixes */ global() member
268 struct cert_ip *ips; /* IP prefixes */ global() member
H A Dconstraints.c604 if (constraints_check_ips(fn, &cert->ips[i], allow_ips, in constraints_validate()
608 ip_warn(fn, tal_constraints[talid].warn, &cert->ips[i]); in constraints_validate()
/openbsd-src/usr.bin/pr/
H A Dpr.c185 int ips; in onecol() local
247 ips = 0; in onecol()
270 if (otln(obuf,cnt+off, &ips, &ops, mor)) in onecol()
273 if (otln(lbuf, cnt, &ips, &ops, mor)) in onecol()
288 ips = 0; in onecol()
372 int ips = 0; in vertcol() local
557 ips = 0; in vertcol()
559 if (offst && otln(buf,offst,&ips,&ops,1)) in vertcol()
584 if (otln(vc[tvc].pt, cnt, &ips, &ops, 1)) in vertcol()
593 if (otln(buf, 0, &ips, &ops, 0)) in vertcol()
[all …]
/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dintel_rps.c294 rps->ips.m = cparams[i].m; in gen5_rps_init()
295 rps->ips.c = cparams[i].c; in gen5_rps_init()
316 __ips_chipset_val(struct intel_ips *ips) in __ips_chipset_val() argument
319 rps_to_uncore(container_of(ips, struct intel_rps, ips)); in __ips_chipset_val()
332 dt = now - ips->last_time1; in __ips_chipset_val()
334 return ips->chipset_power; in __ips_chipset_val()
341 delta = total - ips->last_count1; in __ips_chipset_val()
343 result = div_u64(div_u64(ips->m * delta, dt) + ips->c, 10); in __ips_chipset_val()
345 ips->last_count1 = total; in __ips_chipset_val()
346 ips->last_time1 = now; in __ips_chipset_val()
[all …]
H A Dintel_rps_types.h114 struct intel_ips ips; member
/openbsd-src/regress/usr.bin/dc/
H A Dt8.in13 0;ips.
14 1;ips.
H A Dt19.in414 l�ips.
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dhsw_ips.c32 if (i915->display.ips.false_color) in hsw_ips_enable()
282 *val = i915->display.ips.false_color; in hsw_ips_debugfs_false_color_get()
298 i915->display.ips.false_color = val; in hsw_ips_debugfs_false_color_set()
H A Dintel_display_core.h443 } ips;
441 } ips; global() member
/openbsd-src/sys/dev/pci/drm/i915/gvt/
H A Dgtt.c527 struct intel_gvt_gtt_entry *entry, bool ips) in update_entry_type_for_real() argument
536 if (ips) in update_entry_type_for_real()
1056 u32 ips = vgpu_vreg_t(vgpu, GEN8_GAMW_ECO_DEV_RW_IA) & in vgpu_ips_enabled() local
1059 return ips == GAMW_ECO_ENABLE_64K_IPS_FIELD; in vgpu_ips_enabled()
1074 bool ips = false; in ppgtt_populate_spt_by_guest_entry() local
1080 ips = vgpu_ips_enabled(vgpu) && ops->test_ips(we); in ppgtt_populate_spt_by_guest_entry()
1086 if (ips != spt->guest_page.pde_ips) { in ppgtt_populate_spt_by_guest_entry()
1087 spt->guest_page.pde_ips = ips; in ppgtt_populate_spt_by_guest_entry()
1105 spt = ppgtt_alloc_spt_gfn(vgpu, type, ops->get_pfn(we), ips); in ppgtt_populate_spt_by_guest_entry()
H A Dhandlers.c218 u32 ips = (*(u32 *)p_data) & GAMW_ECO_ENABLE_64K_IPS_FIELD; in gamw_echo_dev_rw_ia_write() local
221 if (ips == GAMW_ECO_ENABLE_64K_IPS_FIELD) in gamw_echo_dev_rw_ia_write()
223 else if (!ips) in gamw_echo_dev_rw_ia_write()
231 ips); in gamw_echo_dev_rw_ia_write()
/openbsd-src/usr.sbin/nsd/
H A Dnsd.c454 struct ip_address_option *ips, in figure_sockets() argument
466 if(!ips) { in figure_sockets()
473 for(ip = ips; ip; ip = ip->next) { in figure_sockets()
490 for(ip = ips, i = 0; ip; ip = ip->next, i++) { in figure_sockets()
/openbsd-src/sys/dev/pci/
H A Dfiles.pci102 device ips: scsi
103 attach ips at pci
104 file dev/pci/ips.c ips
/openbsd-src/share/man/man4/
H A DMakefile52 ipmi.4 ips.4 ipsec.4 ipw.4 isa.4 isagpio.4 isapnp.4 islrtc.4 \
/openbsd-src/regress/usr.bin/bc/
H A Dt17.out414 l�ips.
/openbsd-src/regress/sys/netinet/ipsec/
H A DMakefile956 check-setup: check-setup-src check-setup-ips check-setup-rt check-setup-eco
998 check-setup-ips:
/openbsd-src/sys/arch/amd64/conf/
H A DRAMDISK_CD178 ips* at pci? # IBM ServeRAID controllers
H A DGENERIC454 ips* at pci? # IBM ServeRAID controllers
/openbsd-src/sys/arch/i386/conf/
H A DRAMDISK_CD152 ips* at pci? # IBM ServeRAID controllers

12