Home
last modified time | relevance | path

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

12

/openbsd/usr.sbin/rpki-client/
H A Dip.c81 const struct cert_ip *ips, size_t ipsz) 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()
118 if (ips[i].type == CERT_IP_INHERIT) { in ip_addr_check_overlap()
119 if (ips[i].afi == AFI_IPV4) in ip_addr_check_overlap()
124 if (ips[i].afi == AFI_IPV4) in ip_addr_check_overlap()
149 if (ips[i].afi != ip->afi) in ip_addr_check_overlap()
152 memcmp(ips[i].min, ip->max, sz) >= 0) in ip_addr_check_overlap()
[all …]
H A Dvalidate.c113 if (cert->ips[i].type == CERT_IP_INHERIT) in valid_cert()
116 if (valid_ip(a, cert->ips[i].afi, cert->ips[i].min, in valid_cert()
117 cert->ips[i].max)) in valid_cert()
120 ip_warn(fn, "RFC 6487: uncovered resource", &cert->ips[i]); in valid_cert()
138 if (ip_addr_check_covered(roa->ips[i].afi, roa->ips[i].min, in valid_roa()
139 roa->ips[i].max, cert->ips, cert->ipsz) > 0) in valid_roa()
142 ip_addr_print(&roa->ips[i].addr, roa->ips[i].afi, buf, in valid_roa()
461 if (ip_addr_check_covered(rsc->ips[i].afi, rsc->ips[i].min, in valid_rsc()
462 rsc->ips[i].max, cert->ips, cert->ipsz) > 0) in valid_rsc()
465 ip_warn(fn, "RSC ResourceBlock uncovered", &rsc->ips[i]); in valid_rsc()
[all …]
H A Droa.c182 roa->ips = recallocarray(roa->ips, roa->ipsz, in roa_parse_econtent()
184 if (roa->ips == NULL) in roa_parse_econtent()
219 res = &roa->ips[roa->ipsz++]; in roa_parse_econtent()
325 free(p->ips); in roa_free()
342 io_simple_buffer(b, p->ips, p->ipsz * sizeof(p->ips[0])); in roa_buffer()
368 if ((p->ips = calloc(p->ipsz, sizeof(struct roa_ip))) == NULL) in roa_read()
370 io_read_buf(b, p->ips, p->ipsz * sizeof(p->ips[0])); in roa_read()
394 v->afi = roa->ips[i].afi; in roa_insert_vrps()
395 v->addr = roa->ips[i].addr; in roa_insert_vrps()
396 v->maxlength = roa->ips[i].maxlength; in roa_insert_vrps()
H A Dcert.c51 append_ip(const char *fn, struct cert_ip *ips, size_t *ipsz, in append_ip() argument
54 if (!ip_addr_check_overlap(ip, fn, ips, *ipsz, 0)) in append_ip()
56 ips[(*ipsz)++] = *ip; in append_ip()
273 sbgp_addr(const char *fn, struct cert_ip *ips, size_t *ipsz, enum afi afi, in sbgp_addr() argument
295 return append_ip(fn, ips, ipsz, &ip); in sbgp_addr()
303 sbgp_addr_range(const char *fn, struct cert_ip *ips, size_t *ipsz, in sbgp_addr_range() argument
331 return append_ip(fn, ips, ipsz, &ip); in sbgp_addr_range()
335 sbgp_addr_inherit(const char *fn, struct cert_ip *ips, size_t *ipsz, in sbgp_addr_inherit() argument
345 return append_ip(fn, ips, ipsz, &ip); in sbgp_addr_inherit()
356 struct cert_ip *ips in sbgp_parse_ipaddrblk() local
[all...]
H A Dprint.c227 ip_resources_print(struct cert_ip *ips, size_t ipsz, size_t asz) in ip_resources_print()
236 switch (ips[i].type) { in ip_resources_print()
247 ip_addr_print(&ips[i].ip, ips[i].afi, buf1, in ip_resources_print()
258 sockt = (ips[i].afi == AFI_IPV4) ? in ip_resources_print()
260 inet_ntop(sockt, ips[i].min, buf1, sizeof(buf1)); in ip_resources_print()
261 inet_ntop(sockt, ips[i].max, buf2, sizeof(buf2));
339 ip_resources_print(p->ips, p->ipsz, p->asz); in crl_parse_number()
558 ip_addr_print(&p->ips[i].addr,
559 p->ips[
208 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->ipsz, ipsz, 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.h123 struct cert_ip *ips; /* list of IP address ranges */
124 size_t ipsz; /* length of "ips" */
243 struct roa_ip *ips; /* IP prefixes */
268 struct cert_ip *ips; /* IP prefixes */
121 struct cert_ip *ips; /* list of IP address ranges */ global() member
241 struct roa_ip *ips; /* IP prefixes */ global() member
266 struct cert_ip *ips; /* IP prefixes */ global() member
H A Dconstraints.c602 if (constraints_check_ips(fn, &cert->ips[i], allow_ips, in constraints_validate()
606 ip_warn(fn, tal_constraints[talid].warn, &cert->ips[i]); in constraints_validate()
/openbsd/usr.bin/pr/
H A Dpr.c185 int ips; in onecol() local
247 ips = 0; in onecol()
288 ips = 0; in onecol()
372 int ips = 0; in vertcol() local
557 ips = 0; in vertcol()
616 ips = 0; in vertcol()
693 int ips = 0; in horzcol() local
1274 ips = *svips; in otln()
1280 ++ips; in otln()
1289 ips += gap - (ips % gap); in otln()
[all …]
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_rps.c319 rps_to_uncore(container_of(ips, struct intel_rps, ips)); in __ips_chipset_val()
332 dt = now - ips->last_time1; 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()
391 rps_to_uncore(container_of(ips, struct intel_rps, ips)); in __gen5_ips_update()
408 ips->last_count2 = count; in __gen5_ips_update()
409 ips->last_time2 = now; in __gen5_ips_update()
1480 struct intel_rps *rps = container_of(ips, typeof(*rps), ips); in __ips_gfx_val()
1511 __gen5_ips_update(ips); in __ips_gfx_val()
[all …]
H A Dintel_rps_types.h114 struct intel_ips ips; member
/openbsd/regress/usr.bin/dc/
H A Dt8.in13 0;ips.
14 1;ips.
H A Dt19.in414 l�ips.
/openbsd/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.h441 } ips; member
/openbsd/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/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/sys/dev/pci/
H A Dfiles.pci102 device ips: scsi
103 attach ips at pci
104 file dev/pci/ips.c ips
/openbsd/share/man/man4/
H A DMakefile51 ipmi.4 ips.4 ipsec.4 ipw.4 isa.4 isagpio.4 isapnp.4 islrtc.4 \
/openbsd/regress/usr.bin/bc/
H A Dt17.out414 l�ips.
/openbsd/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/sys/arch/amd64/conf/
H A DRAMDISK_CD178 ips* at pci? # IBM ServeRAID controllers
H A DGENERIC452 ips* at pci? # IBM ServeRAID controllers
/openbsd/sys/arch/i386/conf/
H A DRAMDISK_CD152 ips* at pci? # IBM ServeRAID controllers

12