/openbsd/usr.sbin/rpki-client/ |
H A D | ip.c | 81 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 D | validate.c | 113 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 D | roa.c | 182 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 D | cert.c | 51 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 D | print.c | 227 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 D | rsc.c | 207 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 D | extern.h | 123 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 D | constraints.c | 602 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 D | pr.c | 185 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 D | intel_rps.c | 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() 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 D | intel_rps_types.h | 114 struct intel_ips ips; member
|
/openbsd/regress/usr.bin/dc/ |
H A D | t8.in | 13 0;ips. 14 1;ips.
|
H A D | t19.in | 414 l�ips.
|
/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | hsw_ips.c | 32 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 D | intel_display_core.h | 441 } ips; member
|
/openbsd/sys/dev/pci/drm/i915/gvt/ |
H A D | gtt.c | 527 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 D | handlers.c | 218 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 D | nsd.c | 454 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 D | files.pci | 102 device ips: scsi 103 attach ips at pci 104 file dev/pci/ips.c ips
|
/openbsd/share/man/man4/ |
H A D | Makefile | 51 ipmi.4 ips.4 ipsec.4 ipw.4 isa.4 isagpio.4 isapnp.4 islrtc.4 \
|
/openbsd/regress/usr.bin/bc/ |
H A D | t17.out | 414 l�ips.
|
/openbsd/regress/sys/netinet/ipsec/ |
H A D | Makefile | 956 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 D | RAMDISK_CD | 178 ips* at pci? # IBM ServeRAID controllers
|
H A D | GENERIC | 452 ips* at pci? # IBM ServeRAID controllers
|
/openbsd/sys/arch/i386/conf/ |
H A D | RAMDISK_CD | 152 ips* at pci? # IBM ServeRAID controllers
|