Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintstate.c18 ipstate_t ips; local
23 if (kmemcpy((char *)&ips, (u_long)sp, sizeof(ips)))
26 PRINTF("%s -> ", hostname(ips.is_v, &ips.is_src.in4));
28 hostname(ips.is_v, &ips.is_dst.in4), ips.is_pass, ips.is_p,
29 ips.is_state[0], ips.is_state[1], ips.is_hv);
30 PRINTF("\ttag %u ttl %lu", ips.is_tag, ips.is_die - now);
32 if (ips.is_p == IPPROTO_TCP) {
34 ntohs(ips.is_sport), ntohs(ips.is_dport),
35 ips.is_send, ips.is_dend,
36 ips.is_maxswin, ips.is_swinscale,
[all …]
/illumos-gate/usr/src/uts/common/inet/ipnet/
H A Dipnet.c245 ipnet_stack_t *ips; in ipnetif_init() local
250 ips = ns->netstack_ipnet; in ipnetif_init()
251 if ((ret = ipnet_populate_if(ips->ips_ndv4, ips, B_FALSE)) == 0) in ipnetif_init()
252 ret = ipnet_populate_if(ips->ips_ndv6, ips, B_TRUE); in ipnetif_init()
329 ipnet_register_netihook(ipnet_stack_t *ips) in ipnet_register_netihook() argument
335 HOOK_INIT(ips->ips_nicevents, ipnet_nicevent_cb, "ipnet_nicevents", in ipnet_register_netihook()
336 ips); in ipnet_register_netihook()
343 zoneid = netstackid_to_zoneid(ips->ips_netstack->netstack_stackid); in ipnet_register_netihook()
347 if ((ips->ips_ndv4 = net_protocol_lookup(netid, NHF_INET)) != NULL) { in ipnet_register_netihook()
348 if ((ret = net_hook_register(ips->ips_ndv4, NH_NIC_EVENTS, in ipnet_register_netihook()
[all …]
H A Dipnet_bpf.c193 ipnet_stack_t *ips; in ipnet_bpf_getlinkid() local
195 VERIFY((ips = ipnet_find_by_zoneid(zoneid)) != NULL); in ipnet_bpf_getlinkid()
198 mutex_enter(&ips->ips_event_lock); in ipnet_bpf_getlinkid()
200 mutex_exit(&ips->ips_event_lock); in ipnet_bpf_getlinkid()
203 ipnet_rele(ips); in ipnet_bpf_getlinkid()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_stats.c302 i40e_pf_stats_t *ips; in i40e_stat_pf_update() local
308 ips = &i40e->i40e_pf_stat; in i40e_stat_pf_update()
315 &ipk->ipk_rx_bytes, &ips->ips_rx_bytes, init); in i40e_stat_pf_update()
317 &ipk->ipk_rx_unicast, &ips->ips_rx_unicast, init); in i40e_stat_pf_update()
319 &ipk->ipk_rx_multicast, &ips->ips_rx_multicast, init); in i40e_stat_pf_update()
321 &ipk->ipk_rx_broadcast, &ips->ips_rx_broadcast, init); in i40e_stat_pf_update()
323 &ipk->ipk_tx_bytes, &ips->ips_tx_bytes, init); in i40e_stat_pf_update()
325 &ipk->ipk_tx_unicast, &ips->ips_tx_unicast, init); in i40e_stat_pf_update()
327 &ipk->ipk_tx_multicast, &ips->ips_tx_multicast, init); in i40e_stat_pf_update()
329 &ipk->ipk_tx_broadcast, &ips->ips_tx_broadcast, init); in i40e_stat_pf_update()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c114 ipstate_save_t ips; local
124 if (nlen >= sizeof(ips.ips_is.is_ifname) ||
125 olen >= sizeof(ips.ips_is.is_ifname))
134 for (pos = 0; read(fd, &ips, sizeof(ips)) == sizeof(ips); ) {
136 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) {
137 strcpy(ips.ips_is.is_ifname[0], s);
140 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) {
141 strcpy(ips.ips_is.is_ifname[1], s);
149 if (write(fd, &ips, sizeof(ips)) != sizeof(ips)) {
408 ipstate_save_t ips, *ipsp; local
[all …]
H A Dipfstat.c1180 ipstate_t ips; local
1231 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) {
1233 if (kmemcpy((char *)&ips, (u_long)ipsstp->iss_list,
1234 sizeof(ips)))
1237 if (ips.is_v != ver)
1241 if (ips.is_v == 4) {
1243 saddr.in4.s_addr != ips.is_saddr) ||
1245 daddr.in4.s_addr != ips.is_daddr))
1250 if (ips.is_v == 6) {
1252 IP6_NEQ(&saddr, &ips.is_src)) ||
[all …]
H A Dipftest.c654 ipstate_t *ips; local
657 for (ips = ifs->ifs_ips_list; ips != NULL; )
658 ips = printstate(ips, opts & (OPT_DEBUG|OPT_VERBOSE),
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsid.c1472 iscsi_param_set_t ips; in iscsid_init_config() local
1487 bzero(&ips, sizeof (ips)); in iscsid_init_config()
1490 ips.s_vers = ISCSI_INTERFACE_VERSION; in iscsid_init_config()
1491 ips.s_param = ISCSI_LOGIN_PARAM_INITIATOR_NAME; in iscsid_init_config()
1497 (void) strncpy((char *)ips.s_value.v_name, in iscsid_init_config()
1499 sizeof (ips.s_value.v_name)); in iscsid_init_config()
1500 (void) iscsi_set_params(&ips, ihp, B_TRUE); in iscsid_init_config()
1511 (void) strncpy((char *)ips.s_value.v_name, in iscsid_init_config()
1512 initiatorName, sizeof (ips.s_value.v_name)); in iscsid_init_config()
1514 (void) iscsi_set_params(&ips, ihp, B_FALSE); in iscsid_init_config()
[all …]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c77 char **ips = NULL, **dns = NULL; in _nss_ldap_hosts2str_int() local
143 ips = __ns_ldap_getAttr(entry, _H_ADDR); in _nss_ldap_hosts2str_int()
144 if (ips == NULL || ips[0] == NULL || strlen(ips[0]) < 1) { in _nss_ldap_hosts2str_int()
150 (inet_addr(_strip_quotes(ips[0])) == (in_addr_t)-1)) in _nss_ldap_hosts2str_int()
157 len = snprintf(buf1, buflen1, "%s", ips[0]); in _nss_ldap_hosts2str_int()
160 len = snprintf(buf2, buflen2, "\n%s ", ips[0]); in _nss_ldap_hosts2str_int()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c649 smb_get_nameservers(smb_inaddr_t *ips, int sz) in smb_get_nameservers() argument
656 if (ips == NULL) in smb_get_nameservers()
667 ips[i].a_family = AF_INET; in smb_get_nameservers()
668 bcopy(&set[i].sin.sin_addr, &ips[i].a_ipv4, NS_INADDRSZ); in smb_get_nameservers()
669 if (inet_ntop(AF_INET, &ips[i].a_ipv4, ipstr, in smb_get_nameservers()
674 ips[i].a_family = AF_INET6; in smb_get_nameservers()
675 bcopy(&set[i].sin.sin_addr, &ips[i].a_ipv6, NS_IN6ADDRSZ); in smb_get_nameservers()
676 if (inet_ntop(AF_INET6, &ips[i].a_ipv6, ipstr, in smb_get_nameservers()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_htable.c522 u_32_t hmsk, msk, ips; local
529 ips = ntohl(addr->s_addr) & msk;
530 hv = IPE_HASH_FN(ips, msk, iph->iph_size);
533 ipe->ipe_addr.in4_addr != ips) {
561 u_32_t hmsk[4], msk[4], ips[4], *and; local
576 ips[0] = *and & msk[0];
577 ips[1] = *(and + 1) & msk[1];
578 ips[2] = *(and + 2) & msk[2];
579 ips[3] = *(and + 3) & msk[3];
585 bcmp((void *)&ipe->ipe_addr.in6, (void *)ips, 16))
H A Dip_state.c615 ipstate_save_t ips; local
618 error = fr_inobj(data, &ips, IPFOBJ_STATESAVE);
622 isn = ips.ips_next;
626 if (ips.ips_next == NULL)
642 ips.ips_next = isn->is_next;
643 bcopy((char *)isn, (char *)&ips.ips_is, sizeof(ips.ips_is));
644 ips.ips_rule = isn->is_rule;
646 bcopy((char *)isn->is_rule, (char *)&ips.ips_fr,
647 sizeof(ips.ips_fr));
648 error = fr_outobj(data, &ips, IPFOBJ_STATESAVE);
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dladm/
H A DMakefile20 PROG = allowed-ips set-linkprop show-overlay-exit show-class-confusion
H A Dallowed-ips.ksh43 dladm set-linkprop -p allowed-ips="$@" $ai_vnic 2>/dev/null
/illumos-gate/usr/src/test/util-tests/runfiles/
H A Ddefault.run30 [/opt/util-tests/tests/allowed-ips]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c3897 ip_grpsrc_t *ips; in group_report() local
3980 for (ips = (ip_grpsrc_t *)v4src->valp; in group_report()
3981 (char *)ips < (char *)v4src->valp + v4src->length; in group_report()
3982 ips = (ip_grpsrc_t *)((char *)ips + in group_report()
3991 ips->ipGroupSourceGroup) || in group_report()
3993 &ips->ipGroupSourceIfIndex))) { in group_report()
4003 pr_addr(ips->ipGroupSourceAddress, in group_report()
4010 pr_addr(ips->ipGroupSourceAddress, abuf, in group_report()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c10417 ip_grpsrc_t ips; in ip_snmp_get_mib2_ip_group_src() local
10462 ips.ipGroupSourceIfIndex.o_bytes, in ip_snmp_get_mib2_ip_group_src()
10466 ips.ipGroupSourceIfIndex.o_bytes, in ip_snmp_get_mib2_ip_group_src()
10469 ips.ipGroupSourceIfIndex.o_length = in ip_snmp_get_mib2_ip_group_src()
10470 mi_strlen(ips.ipGroupSourceIfIndex.o_bytes); in ip_snmp_get_mib2_ip_group_src()
10472 ips.ipGroupSourceGroup = ilm->ilm_addr; in ip_snmp_get_mib2_ip_group_src()
10477 ips.ipGroupSourceAddress); in ip_snmp_get_mib2_ip_group_src()
10479 (char *)&ips, (int)sizeof (ips)) == 0) { in ip_snmp_get_mib2_ip_group_src()
10482 (uint_t)sizeof (ips))); in ip_snmp_get_mib2_ip_group_src()
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/
H A Dnvme.h1149 uint8_t ips; /* Idle Power Scale */ member
/illumos-gate/usr/src/data/zoneinfo/
H A Deurope713 # http://pravo.gov.ru/proxy/ips/?docbody=&nd=102014034&rdk=0
2906 # http://pravo.gov.ru/proxy/ips/?docbody=&nd=102075743
H A Dasia2292 # http://pravo.gov.ru/proxy/ips/?docbody=&nd=102010545
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-utiltest.p5m36 file path=opt/util-tests/tests/allowed-ips mode=0555
H A Dsystem-data-terminfo.p5m1245 hardlink path=usr/share/lib/terminfo/i/ips target=../c/citoh-prop
/illumos-gate/usr/src/data/terminfo/
H A Dtermcap.src10681 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
H A Dterminfo.src12077 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode,