/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | printstate.c | 18 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 [all...] |
/illumos-gate/usr/src/uts/common/inet/ipnet/ |
H A D | ipnet_bpf.c | 193 ipnet_stack_t *ips; local 195 VERIFY((ips = ipnet_find_by_zoneid(zoneid)) != NULL); 198 mutex_enter(&ips->ips_event_lock); 200 mutex_exit(&ips->ips_event_lock); 203 ipnet_rele(ips);
|
H A D | ipnet.c | 244 ipnet_stack_t *ips; local 249 ips = ns->netstack_ipnet; 250 if ((ret = ipnet_populate_if(ips->ips_ndv4, ips, B_FALSE)) == 0) 251 ret = ipnet_populate_if(ips->ips_ndv6, ips, B_TRUE); 328 ipnet_register_netihook(ipnet_stack_t *ips) argument 334 HOOK_INIT(ips->ips_nicevents, ipnet_nicevent_cb, "ipnet_nicevents", 335 ips); 342 zoneid = netstackid_to_zoneid(ips 391 ipnet_populate_if(net_handle_t nd, ipnet_stack_t *ips, boolean_t isv6) argument 512 ipnet_stack_t *ips; local 594 ipnet_stack_t *ips = ipnet->ipnet_ns->netstack_ipnet; local 917 ipnet_join_allmulti(ipnetif_t *ipnetif, ipnet_stack_t *ips) argument 952 ipnet_leave_allmulti(ipnetif_t *ipnetif, ipnet_stack_t *ips) argument 1178 ipnet_stack_t *ips; local 1247 ipnet_stack_t *ips; local 1261 ipnet_alloc_if(ipnet_stack_t *ips) argument 1286 ipnetif_create(const char *name, uint64_t index, ipnet_stack_t *ips, uint64_t ifflags) argument 1325 ipnetif_remove(ipnetif_t *ipnetif, ipnet_stack_t *ips) argument 1456 ipnet_plumb_ev(ipnet_nicevent_t *ipne, ipnet_stack_t *ips, boolean_t isv6) argument 1492 ipnet_unplumb_ev(uint64_t ifindex, ipnet_stack_t *ips, boolean_t isv6) argument 1516 ipnet_lifup_ev(uint64_t ifindex, uint64_t lifindex, net_handle_t nd, ipnet_stack_t *ips, boolean_t isv6) argument 1537 ipnet_lifdown_ev(uint64_t ifindex, uint64_t lifindex, ipnet_stack_t *ips, boolean_t isv6) argument 1563 ipnet_stack_t *ips = arg; local 1588 ipnet_stack_t *ips; local 1626 ipnet_stack_t *ips; local 1648 ipnetif_getby_index(uint64_t id, ipnet_stack_t *ips) argument 1660 ipnetif_getby_dev(dev_t dev, ipnet_stack_t *ips) argument 1699 ipnet_stack_t *ips; local 1722 ipnet_stack_t *ips = arg; local 1774 ipnetif_in_zone(ipnetif_t *ipnetif, zoneid_t zoneid, ipnet_stack_t *ips) argument 1806 ipnetif_zonecheck(ipnetif_t *ipnetif, ipnet_stack_t *ips) argument 1829 ipnet_stack_t *ips; local 1919 ipnet_walkers_inc(ipnet_stack_t *ips) argument 1927 ipnet_walkers_dec(ipnet_stack_t *ips) argument 1952 ipnet_stack_t *ips = ns->netstack_ipnet; local 2028 ipnet_rele(ipnet_stack_t *ips) argument 2049 ipnet_stack_t *ips; local 2107 ipnet_stack_t *ips; local 2289 ipnet_stack_t *ips; local 2339 ipnet_stack_t *ips = ifp->if_stackp; local 2376 ipnet_stack_t *ips = ipnetif->if_stackp; local [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 79 char **ips = NULL, **dns = NULL; local 145 ips = __ns_ldap_getAttr(entry, _H_ADDR); 146 if (ips == NULL || ips[0] == NULL || strlen(ips[0]) < 1) { 152 (inet_addr(_strip_quotes(ips[0])) == (in_addr_t)-1)) 159 len = snprintf(buf1, buflen1, "%s", ips[0]); 162 len = snprintf(buf2, buflen2, "\n%s ", ips[0]);
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfs.c | 114 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 408 ipstate_save_t ips, *ipsp; local 460 ipstate_save_t ips, *is, *ipshead = NULL, *is1, *ipstail = NULL; local [all...] |
H A D | ipftest.c | 659 ipstate_t *ips; local 662 for (ips = ifs->ifs_ips_list; ips != NULL; ) 663 ips = printstate(ips, opts & (OPT_DEBUG|OPT_VERBOSE),
|
H A D | ipfstat.c | 1181 ipstate_t ips; local 1232 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) { 1234 if (kmemcpy((char *)&ips, (u_long)ipsstp->iss_list, 1235 sizeof(ips))) 1238 if (ips.is_v != ver) 1242 if (ips.is_v == 4) { 1244 saddr.in4.s_addr != ips.is_saddr) || 1246 daddr.in4.s_addr != ips.is_daddr)) 1251 if (ips.is_v == 6) { 1253 IP6_NEQ(&saddr, &ips [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_htable.c | 523 u_32_t hmsk, msk, ips; local 530 ips = ntohl(addr->s_addr) & msk; 531 hv = IPE_HASH_FN(ips, msk, iph->iph_size); 534 ipe->ipe_addr.in4_addr != ips) { 562 u_32_t hmsk[4], msk[4], ips[4], *and; local 577 ips[0] = *and & msk[0]; 578 ips[1] = *(and + 1) & msk[1]; 579 ips[2] = *(and + 2) & msk[2]; 580 ips[3] = *(and + 3) & msk[3]; 586 bcmp((void *)&ipe->ipe_addr.in6, (void *)ips, 1 [all...] |
H A D | ip_state.c | 615 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 671 ipstate_save_t ips; local 1118 ipstate_t *is, ips; local [all...] |
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_stats.c | 304 i40e_pf_stats_t *ips; local 310 ips = &i40e->i40e_pf_stat; 317 &ipk->ipk_rx_bytes, &ips->ips_rx_bytes, init); 319 &ipk->ipk_rx_unicast, &ips->ips_rx_unicast, init); 321 &ipk->ipk_rx_multicast, &ips->ips_rx_multicast, init); 323 &ipk->ipk_rx_broadcast, &ips->ips_rx_broadcast, init); 325 &ipk->ipk_tx_bytes, &ips->ips_tx_bytes, init); 327 &ipk->ipk_tx_unicast, &ips->ips_tx_unicast, init); 329 &ipk->ipk_tx_multicast, &ips->ips_tx_multicast, init); 331 &ipk->ipk_tx_broadcast, &ips 703 i40e_pf_stats_t *ips; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_info.c | 642 smb_get_nameservers(smb_inaddr_t *ips, int sz) argument 649 if (ips == NULL) 660 ips[i].a_family = AF_INET; 661 bcopy(&set[i].sin.sin_addr, &ips[i].a_ipv4, NS_INADDRSZ); 662 if (inet_ntop(AF_INET, &ips[i].a_ipv4, ipstr, 667 ips[i].a_family = AF_INET6; 668 bcopy(&set[i].sin.sin_addr, &ips[i].a_ipv6, NS_IN6ADDRSZ); 669 if (inet_ntop(AF_INET6, &ips[i].a_ipv6, ipstr,
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsid.c | 1458 iscsi_param_set_t ips; local 1473 bzero(&ips, sizeof (ips)); 1476 ips.s_vers = ISCSI_INTERFACE_VERSION; 1477 ips.s_param = ISCSI_LOGIN_PARAM_INITIATOR_NAME; 1483 (void) strncpy((char *)ips.s_value.v_name, 1485 sizeof (ips.s_value.v_name)); 1486 (void) iscsi_set_params(&ips, ihp, B_TRUE); 1497 (void) strncpy((char *)ips.s_value.v_name, 1498 initiatorName, sizeof (ips 1598 iscsi_param_set_t ips; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 3500 ip_grpsrc_t *ips; local 3587 for (ips = (ip_grpsrc_t *)v4src->valp; 3588 (char *)ips < (char *)v4src->valp + v4src->length; 3590 ips = (ip_grpsrc_t *)((char *)ips + 3599 ips->ipGroupSourceGroup) || 3601 &ips->ipGroupSourceIfIndex))) { 3611 pr_addr(ips->ipGroupSourceAddress, 3618 pr_addr(ips->ipGroupSourceAddress, abuf,
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip.c | 10353 ip_grpsrc_t ips; local 10398 ips.ipGroupSourceIfIndex.o_bytes, 10402 ips.ipGroupSourceIfIndex.o_bytes, 10405 ips.ipGroupSourceIfIndex.o_length = 10406 mi_strlen(ips.ipGroupSourceIfIndex.o_bytes); 10408 ips.ipGroupSourceGroup = ilm->ilm_addr; 10413 ips.ipGroupSourceAddress); 10415 (char *)&ips, (int)sizeof (ips)) == 0) { 10418 (uint_t)sizeof (ips))); [all...] |