| /netbsd-src/external/bsd/ipf/dist/ |
| H A D | ip_sync.c | 378 ipf_sync_storder(way, ips) in ipf_sync_storder() argument 380 ipstate_t *ips; 382 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[0]); 383 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[1]); 386 ips->is_hv = htonl(ips->is_hv); 387 ips->is_die = htonl(ips->is_die); 388 ips->is_pass = htonl(ips->is_pass); 389 ips->is_flags = htonl(ips->is_flags); 390 ips->is_opt[0] = htonl(ips->is_opt[0]); 391 ips->is_opt[1] = htonl(ips->is_opt[1]); [all …]
|
| H A D | ip_htable.c | 1190 u_32_t msk, ips; local 1198 ips = addr->s_addr & msk; 1199 hv = IPE_V4_HASH_FN(ips, msk, iph->iph_size); 1203 (ipe->ipe_addr.in4_addr != ips)) { 1397 i6addr_t *msk, ips; local 1405 ips.i6[0] = addr->i6[0] & msk->i6[0]; 1406 ips.i6[1] = addr->i6[1] & msk->i6[1]; 1407 ips.i6[2] = addr->i6[2] & msk->i6[2]; 1408 ips.i6[3] = addr->i6[3] & msk->i6[3]; 1409 hv = IPE_V6_HASH_FN(ips.i6, msk->i6, iph->iph_size); [all …]
|
| H A D | ip_fil_compat.c | 3039 ipstate_save_t *ips = (ipstate_save_t *)current; local 3041 old->ips_next = ips->ips_next; 3042 ipstate_current_to_4_1_0(&ips->ips_is, &old->ips_is); 3043 frentry_current_to_4_1_16(&ips->ips_fr, &old->ips_fr); 3052 ipstate_save_t *ips = (ipstate_save_t *)current; local 3054 old->ips_next = ips->ips_next; 3055 ipstate_current_to_4_1_0(&ips->ips_is, &old->ips_is); 3056 frentry_current_to_4_1_0(&ips->ips_fr, &old->ips_fr);
|
| /netbsd-src/sys/external/bsd/ipf/netinet/ |
| H A D | ip_sync.c | 371 ipf_sync_storder(int way, ipstate_t *ips) in ipf_sync_storder() argument 373 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[0]); in ipf_sync_storder() 374 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[1]); in ipf_sync_storder() 377 ips->is_hv = htonl(ips->is_hv); in ipf_sync_storder() 378 ips->is_die = htonl(ips->is_die); in ipf_sync_storder() 379 ips->is_pass = htonl(ips->is_pass); in ipf_sync_storder() 380 ips->is_flags = htonl(ips->is_flags); in ipf_sync_storder() 381 ips->is_opt[0] = htonl(ips->is_opt[0]); in ipf_sync_storder() 382 ips->is_opt[1] = htonl(ips->is_opt[1]); in ipf_sync_storder() 383 ips->is_optmsk[0] = htonl(ips->is_optmsk[0]); in ipf_sync_storder() [all …]
|
| H A D | ip_htable.c | 1130 u_32_t msk, ips; in ipf_iphmfind() local 1138 ips = addr->s_addr & msk; in ipf_iphmfind() 1139 hv = IPE_V4_HASH_FN(ips, msk, iph->iph_size); in ipf_iphmfind() 1143 (ipe->ipe_addr.in4_addr != ips)) { in ipf_iphmfind() 1328 i6addr_t *msk, ips; in ipf_iphmfind6() local 1336 ips.i6[0] = addr->i6[0] & msk->i6[0]; in ipf_iphmfind6() 1337 ips.i6[1] = addr->i6[1] & msk->i6[1]; in ipf_iphmfind6() 1338 ips.i6[2] = addr->i6[2] & msk->i6[2]; in ipf_iphmfind6() 1339 ips.i6[3] = addr->i6[3] & msk->i6[3]; in ipf_iphmfind6() 1340 hv = IPE_V6_HASH_FN(ips.i6, msk->i6, iph->iph_size); in ipf_iphmfind6() [all …]
|
| H A D | ip_state.c | 845 ipstate_save_t ips; in ipf_state_getent() local 848 error = ipf_inobj(softc, data, NULL, &ips, IPFOBJ_STATESAVE); in ipf_state_getent() 853 isn = ips.ips_next; in ipf_state_getent() 857 if (ips.ips_next == NULL) { in ipf_state_getent() 879 ips.ips_next = isn->is_next; in ipf_state_getent() 880 bcopy((char *)isn, (char *)&ips.ips_is, sizeof(ips.ips_is)); in ipf_state_getent() 881 ips.ips_rule = isn->is_rule; in ipf_state_getent() 883 bcopy((char *)isn->is_rule, (char *)&ips.ips_fr, in ipf_state_getent() 884 sizeof(ips.ips_fr)); in ipf_state_getent() 886 error = ipf_outobj(softc, data, &ips, IPFOBJ_STATESAVE); in ipf_state_getent() [all …]
|
| /netbsd-src/sys/net/npf/ |
| H A D | npf_connkey.c | 88 const npf_addr_t * const *ips = ipv; in npf_connkey_setkey() local 106 k[2] = ips[isrc]->word32[0]; in npf_connkey_setkey() 107 k[3] = ips[idst]->word32[0]; in npf_connkey_setkey() 111 memcpy(&k[2], ips[isrc], alen); in npf_connkey_setkey() 112 memcpy(&k[2 + nwords], ips[idst], alen); in npf_connkey_setkey() 119 npf_addr_t *ips, uint16_t *id) in npf_connkey_getkey() argument 135 memcpy(&ips[NPF_SRC], &k[2], *alen); in npf_connkey_getkey() 136 memcpy(&ips[NPF_DST], &k[2 + ((unsigned)*alen >> 2)], *alen); in npf_connkey_getkey() 317 npf_addr_t ips[2]; in npf_connkey_export() local 323 npf_connkey_getkey(key, &alen, &proto, ips, ids); in npf_connkey_export() [all …]
|
| /netbsd-src/external/bsd/ipf/dist/tools/ |
| H A D | ipfs.c | 106 ipstate_save_t ips; local 116 if (nlen >= sizeof(ips.ips_is.is_ifname) || 117 olen >= sizeof(ips.ips_is.is_ifname)) 126 for (pos = 0; read(fd, &ips, sizeof(ips)) == sizeof(ips); ) { 128 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { 129 strcpy(ips.ips_is.is_ifname[0], s); 132 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { 133 strcpy(ips.ips_is.is_ifname[1], s); 136 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) { 137 strcpy(ips.ips_is.is_ifname[2], s); [all …]
|
| H A D | ipfstat.c | 1096 ipstate_t ips; local 1098 is = fetchstate(is, &ips); 1103 is = ips.is_next; 1105 (state_matcharray(&ips, filter) == 0)) { 1110 printstatefield(&ips, state_fields[i].w_value); 1116 printstate(&ips, opts, ipsp->iss_ticks); 1307 ipstate_t ips; local 1358 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) { 1360 ipsstp->iss_list = fetchstate(ipsstp->iss_list, &ips); 1364 if (ips.is_v != ver) [all …]
|
| /netbsd-src/external/bsd/ipf/dist/ipsd/ |
| H A D | ipsdr.c | 186 ipsd_t ipsd, *ips = &ipsd; local 198 if (read(fd, ips, sizeof(*ips)) != sizeof(*ips)) 200 sz = ips->sd_sz * sizeof(*hp); 204 for (i = 0; i < ips->sd_cnt; i++) 205 detect(hp[i].sh_ip, ips->sd_port, hp[i].sh_date); 269 ipsd_t *ips; in collectips() local 279 ips = iphits[i]; in collectips() 280 for (j = 0; j < ips->sd_cnt; j++) { in collectips() 282 if (!bcmp(&ss[k].ss_ip, &ips->sd_hit[j].sh_ip, in collectips() 289 ss[num].ss_ip = ips->sd_hit[j].sh_ip; in collectips()
|
| H A D | ipsd.c | 184 ipsd_t **ipsd, *ips; local 191 ips = *ipsd; 192 if (ips->sd_cnt) { 193 write(fd, ips, sizeof(ipsd_t)); 194 write(fd, ips->sd_hit, sizeof(sdhit_t) * ips->sd_sz);
|
| /netbsd-src/usr.bin/pr/ |
| H A D | pr.c | 177 int ips; in onecol() local 239 ips = 0; in onecol() 266 if (otln(obuf,cnt+off, &ips, &ops, mor)) in onecol() 268 } else if (otln(lbuf, cnt, &ips, &ops, mor)) in onecol() 285 ips = 0; in onecol() 349 int ips = 0; in vertcol() local 532 ips = 0; in vertcol() 534 if (offst&& otln(buf,offst,&ips,&ops,1)) { in vertcol() 560 if (otln(vc[tvc].pt, cnt, &ips, in vertcol() 570 if (otln(buf, 0, &ips, &ops, 0)) in vertcol() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| H A D | intel_rps.c | 181 rps->ips.m = cparams[i].m; in gen5_rps_init() 182 rps->ips.c = cparams[i].c; in gen5_rps_init() 205 __ips_chipset_val(struct intel_ips *ips) in __ips_chipset_val() argument 208 rps_to_uncore(container_of(ips, struct intel_rps, ips)); in __ips_chipset_val() 221 dt = now - ips->last_time1; in __ips_chipset_val() 223 return ips->chipset_power; in __ips_chipset_val() 230 delta = total - ips->last_count1; in __ips_chipset_val() 232 result = div_u64(div_u64(ips->m * delta, dt) + ips->c, 10); in __ips_chipset_val() 234 ips->last_count1 = total; in __ips_chipset_val() 235 ips->last_time1 = now; in __ips_chipset_val() [all …]
|
| H A D | intel_rps_types.h | 92 struct intel_ips ips; member
|
| /netbsd-src/sys/netinet/ |
| H A D | ip_flow.c | 371 net_stat_ref_t ips; in ipflow_addstats() local 379 ips = IP_STAT_GETREF(); in ipflow_addstats() 380 _NET_STATADD_REF(ips, IP_STAT_CANTFORWARD, in ipflow_addstats() 382 _NET_STATADD_REF(ips, IP_STAT_TOTAL, ipf->ipf_uses); in ipflow_addstats() 383 _NET_STATADD_REF(ips, IP_STAT_FORWARD, ipf->ipf_uses); in ipflow_addstats() 384 _NET_STATADD_REF(ips, IP_STAT_FASTFORWARD, ipf->ipf_uses); in ipflow_addstats() 480 net_stat_ref_t ips; in ipflow_slowtimo_work() local 496 ips = IP_STAT_GETREF(); in ipflow_slowtimo_work() 497 _NET_STATADD_REF(ips, IP_STAT_TOTAL, ipf->ipf_uses); in ipflow_slowtimo_work() 498 _NET_STATADD_REF(ips, IP_STAT_FORWARD, ipf->ipf_uses); in ipflow_slowtimo_work() [all …]
|
| H A D | raw_ip.c | 221 net_stat_ref_t ips; in rip_input() local 225 ips = IP_STAT_GETREF(); in rip_input() 226 _NET_STATINC_REF(ips, IP_STAT_NOPROTO); in rip_input() 227 _NET_STATDEC_REF(ips, IP_STAT_DELIVERED); in rip_input()
|
| H A D | ip_input.c | 1335 net_stat_ref_t ips; in ip_forward() local 1423 ips = IP_STAT_GETREF(); in ip_forward() 1424 _NET_STATINC_REF(ips, IP_STAT_FORWARD); in ip_forward() 1427 _NET_STATINC_REF(ips, IP_STAT_REDIRECTSENT); in ip_forward()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | evdns.c | 3739 evdns_nameserver_ip_add_line(struct evdns_base *base, const char *ips) { in evdns_nameserver_ip_add_line() argument 3744 while (*ips) { in evdns_nameserver_ip_add_line() 3745 while (isspace(*ips) || *ips == ',' || *ips == '\t') in evdns_nameserver_ip_add_line() 3746 ++ips; in evdns_nameserver_ip_add_line() 3747 addr = ips; in evdns_nameserver_ip_add_line() 3748 while (isdigit(*ips) || *ips == '.' || *ips == ':' || in evdns_nameserver_ip_add_line() 3749 *ips=='[' || *ips==']') in evdns_nameserver_ip_add_line() 3750 ++ips; in evdns_nameserver_ip_add_line() 3751 buf = mm_malloc(ips-addr+1); in evdns_nameserver_ip_add_line() 3753 memcpy(buf, addr, ips-addr); in evdns_nameserver_ip_add_line() [all …]
|
| /netbsd-src/sbin/nvmectl/ |
| H A D | power.c | 68 if (__SHIFTOUT(psd->ips, NVME_PSD_IPS_MASK) == 1) in power_list_one()
|
| /netbsd-src/tests/net/if_wg/ |
| H A D | common.sh | 165 --allowed-ips=$allowedips $pskopt
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| H A D | gtt.c | 532 struct intel_gvt_gtt_entry *entry, bool ips) in update_entry_type_for_real() argument 541 if (ips) in update_entry_type_for_real() 1055 u32 ips = vgpu_vreg_t(vgpu, GEN8_GAMW_ECO_DEV_RW_IA) & in vgpu_ips_enabled() local 1058 return ips == GAMW_ECO_ENABLE_64K_IPS_FIELD; in vgpu_ips_enabled() 1073 bool ips = false; in ppgtt_populate_spt_by_guest_entry() local 1079 ips = vgpu_ips_enabled(vgpu) && ops->test_ips(we); in ppgtt_populate_spt_by_guest_entry() 1085 if (ips != spt->guest_page.pde_ips) { in ppgtt_populate_spt_by_guest_entry() 1086 spt->guest_page.pde_ips = ips; in ppgtt_populate_spt_by_guest_entry() 1104 spt = ppgtt_alloc_spt_gfn(vgpu, type, ops->get_pfn(we), ips); in ppgtt_populate_spt_by_guest_entry()
|
| /netbsd-src/external/bsd/nsd/dist/ |
| 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()
|
| /netbsd-src/external/mpl/bind/dist/doc/arm/ |
| H A D | advanced.inc.rst | 264 acl externals { bastion-ips-go-here; }; 272 bastion-ips-go-here; 327 acl externals { bastion-ips-go-here; };
|
| H A D | config-resolve.inc.rst | 206 // recursive queries only allowed from these ips 322 // recursive queries only allowed from these ips 436 // recursive queries only allowed from these ips
|
| /netbsd-src/sys/dev/ic/ |
| H A D | nvmereg.h | 397 uint8_t ips; /* Idle Power Scale */ member
|