/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 110 } ports; variable 405 ports.list[i]); in main() 447 free(ports.list); in main() 787 ports.numports = 0; in build_ports() 821 if (hi - lo + ports.numports + 1 >= ports.listsize) { in build_ports() 822 ports.listsize = ports.listsize * 2 + hi - lo; in build_ports() 823 ports.list = realloc(ports.list, in build_ports() 831 ports.list[ports.numports++] = i; in build_ports() 847 u = ports.list[i]; in build_ports() 848 ports.list[i] = ports.list[y]; in build_ports() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | tunables.c | 357 in_port_t *ports; in mod_set_extra_privports() local 383 ports = us->us_epriv_ports; in mod_set_extra_privports() 401 ports[i] = 0; in mod_set_extra_privports() 402 ports[0] = ULP_DEF_EPRIV_PORT1; in mod_set_extra_privports() 410 if (new_value == ports[i]) in mod_set_extra_privports() 420 ports[i] = 0; in mod_set_extra_privports() 429 if (ports[i] == 0) in mod_set_extra_privports() 448 ports[i] = 0; in mod_set_extra_privports() 472 in_port_t *ports; in mod_get_extra_privports() local 499 ports = us->us_epriv_ports; in mod_get_extra_privports() [all …]
|
H A D | ipclassifier.h | 570 #define IPCL_CONN_HASH(src, ports, ipst) \ argument 571 ((unsigned)(ntohl((src)) ^ ((ports) >> 24) ^ ((ports) >> 16) ^ \ 572 ((ports) >> 8) ^ (ports)) % (ipst)->ips_ipcl_conn_fanout_size) 574 #define IPCL_CONN_HASH_V6(src, ports, ipst) \ argument 575 IPCL_CONN_HASH(V4_PART_OF_V6((src)), (ports), (ipst)) 577 #define IPCL_CONN_MATCH(connp, proto, src, dst, ports) \ argument 579 (connp)->conn_ports == (ports) && \ 584 #define IPCL_CONN_MATCH_V6(connp, proto, src, dst, ports) \ argument 586 (connp)->conn_ports == (ports) && \
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | stpm.c | 58 for (port = this->ports; port; port = port->next) { in _stp_stpm_iterate_machines() 90 for (port = this->ports; port; port = port->next) { in _check_topoch() 107 for (port = this->ports; port; port = port->next) { in STP_stpm_one_second() 142 this->ports = NULL; in STP_stpm_create() 164 if (this->ports) in STP_stpm_enable() 192 for (port = this->ports; port; ) { in STP_stpm_delete() 195 this->ports = port = (PORT_T*) pv; in STP_stpm_delete() 237 for (port = this->ports; port; port = port->next) { in STP_stpm_start() 297 for (port = this->ports; port; port = port->next) { in STP_compute_bridge_id() 322 for (port = this->ports; port; port = port->next) { in STP_stpm_update_after_bridge_management() [all …]
|
H A D | rolesel.c | 131 for (port = this->ports; port; port = port->next) { in updtRoleDisableBridge() 141 for (port = this->ports; port; port = port->next) { in clearReselectBridge() 156 for (port = stpm->ports; port; port = port->next) { in updtRootPrio() 212 for (port = stpm->ports; port; port = port->next) { in updtRolesBridge() 246 for (port = stpm->ports; port; port = port->next) { in updtRolesBridge() 302 for (port = this->ports; port; port = port->next) { in setSelectedBridge() 311 for (port = this->ports; port; port = port->next) { in setSelectedBridge() 362 for (port = stpm->ports; port; port = port->next) { in STP_rolesel_check_conditions() 388 for (port = this->ports; port; port = port->next) { in STP_rolesel_update_stpm()
|
H A D | port.c | 53 for (this = stpm->ports; this; this = this->next) { in STP_port_create() 59 STP_NEW_IN_LIST(this, PORT_T, stpm->ports, "port create"); in STP_port_create() 182 for (tmp = stpm->ports; tmp; tmp = tmp->next) { in STP_port_delete() 187 stpm->ports = this->next; in STP_port_delete()
|
H A D | roletrns.c | 58 for (port = this->owner.port->owner->ports; port; port = port->next) { in setSyncBridge() 68 for (port = this->owner.port->owner->ports; port; port = port->next) { in setReRootBridge() 78 for (port = this->owner->ports; port; port = port->next) { in compute_all_synced() 93 for (port = this->owner->ports; port; port = port->next) { in compute_re_rooted()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_quirks.c | 67 uint32_t ports; in xhci_reroute_intel() local 69 ports = pci_config_get32(xhcip->xhci_cfg_handle, in xhci_reroute_intel() 72 ports); in xhci_reroute_intel() 74 ports = pci_config_get32(xhcip->xhci_cfg_handle, in xhci_reroute_intel() 77 ports); in xhci_reroute_intel()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_ioport.h | 64 void vm_inout_init(struct vm *vm, struct ioport_config *ports); 65 void vm_inout_cleanup(struct vm *vm, struct ioport_config *ports); 67 int vm_inout_attach(struct ioport_config *ports, uint16_t port, uint16_t flags, 69 int vm_inout_detach(struct ioport_config *ports, uint16_t port, bool drv_hook, 72 int vm_inout_access(struct ioport_config *ports, bool in, uint16_t port,
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_ctl.c | 90 laioc_port_t *ports = NULL; in aggr_ioc_create() local 109 ports = kmem_alloc(ports_size, KM_SLEEP); in aggr_ioc_create() 111 if (ddi_copyin((uchar_t *)arg + sizeof (*create_arg), ports, in aggr_ioc_create() 122 ports, policy, mac_fixed, force, mac_addr, lacp_mode, lacp_timer, in aggr_ioc_create() 126 kmem_free(ports, ports_size); in aggr_ioc_create() 219 laioc_port_t *ports = NULL; in aggr_ioc_add_remove() local 228 ports = kmem_alloc(ports_size, KM_SLEEP); in aggr_ioc_add_remove() 229 if (ddi_copyin((uchar_t *)arg + sizeof (*add_rem_arg), ports, in aggr_ioc_add_remove() 238 add_rem_arg->la_force, ports); in aggr_ioc_add_remove() 241 rc = aggr_grp_rem_ports(add_rem_arg->la_linkid, nports, ports); in aggr_ioc_add_remove() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | sil3xxx.c | 58 int ports, i; in sil3xxx_init_controller() local 108 ports = 4; in sil3xxx_init_controller() 110 ports = 2; in sil3xxx_init_controller() 117 for (i = 0; i < ports; i++) { in sil3xxx_init_controller()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_hash.c | 243 tf = &(sctps->sctps_conn_fanout[SCTP_CONN_HASH(sctps, ports)]); in sctp_conn_match() 249 if (ports != connp->conn_ports) in sctp_conn_match() 282 listen_match(in6_addr_t *laddr, uint32_t ports, zoneid_t zoneid, in listen_match() argument 290 lport = ((uint16_t *)&ports)[1]; in listen_match() 329 sctp = listen_match(dst, ports, zoneid, iraflags, sctps); in sctp_find_conn() 462 sctp = sctp_conn_match(addrbuf, nfaddr, dstp, ports, in sctp_lookup_by_faddrs() 484 sctp_fanout(in6_addr_t *src, in6_addr_t *dst, uint32_t ports, in sctp_fanout() argument 495 sctp = listen_match(dst, ports, zoneid, iraflags, sctps); in sctp_fanout() 566 connp = sctp_fanout(src, dst, ports, ira, mp, sctps, NULL); in ip_fanout_sctp() 568 ip_fanout_sctp_raw(mp, ipha, ip6h, ports, ira); in ip_fanout_sctp() [all …]
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.c | 464 ports[i].lp_linkid, size); in i_dladm_aggr_add_rmv() 491 if (ports[i].lp_linkid == portid) in i_dladm_aggr_add_rmv() 562 ioc_ports[i].lp_linkid = ports[i].lp_linkid; in i_dladm_aggr_add_rmv() 656 ioc_ports[i].lp_linkid = ports[i].lp_linkid; in i_dladm_aggr_create_sys() 682 dladm_aggr_port_attr_db_t *ports = NULL; in i_dladm_aggr_up() local 697 if (ports == NULL) { in i_dladm_aggr_up() 717 ports[j++].lp_linkid = portid; in i_dladm_aggr_up() 732 key, j, ports, attr.lg_policy, attr.lg_mac_fixed, in i_dladm_aggr_up() 747 free(ports); in i_dladm_aggr_up() 1433 dladm_aggr_port_attr_db_t *ports, uint32_t flags) in dladm_aggr_add() argument [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_sv.c | 220 u_short *ports; in sv_byport() local 222 ports = (u_short *)pvt->sv.line; in sv_byport() 223 ports[0] = 0; in sv_byport() 224 ports[1] = port; in sv_byport() 225 key.data = ports; in sv_byport() 228 strncpy((char *)ports + key.size, proto, in sv_byport() 230 key.size += strlen((char *)ports + key.size) + 1; in sv_byport()
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 244 hp_node_list_t connections, ports; in copy_hotplug() local 255 (void) memset(&ports, 0, sizeof (hp_node_list_t)); in copy_hotplug() 341 node_list_add(&ports, port_node); in copy_hotplug() 350 node->hp_child = ports.head; in copy_hotplug() 351 (void) memset(&ports, 0, sizeof (hp_node_list_t)); in copy_hotplug() 360 (void) hp_fini(ports.head); in copy_hotplug()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_cfg.txt | 60 # 4 ports * 147 tp_ntxch = 0 # 0 (auto) = equal number of ports 163 # NPORTS = 4 # ports 184 # NVI_OFLD = 0 # Offload uses NIC function to access ports 191 # NVI_RDMA = 0 # RDMA uses NIC function to access ports 265 # ports 0-3. 270 # storage applications across all four possible ports. 370 pmask = all # access to all four ports ... 398 pmask = all # access to all four ports ... 420 pmask = all # access to all four ports ... [all …]
|
H A D | t5fw_cfg.txt | 45 # 4 ports * 162 tp_ntxch = 0 # 0 (auto) = equal number of ports 198 # NPORTS = 4 # ports 219 # NVI_OFLD = 0 # Offload uses NIC function to access ports 226 # NVI_RDMA = 0 # RDMA uses NIC function to access ports 300 # ports 0-3. 305 # storage applications across all four possible ports. 411 pmask = all # access to all four ports ... 440 pmask = all # access to all four ports ... 463 pmask = all # access to all four ports ... [all …]
|
H A D | t6fw_cfg.txt | 45 # 2 ports * 151 tp_ntxch = 0 # 0 (auto) = equal number of ports 215 # NPORTS = 2 # ports 236 # NVI_OFLD = 0 # Offload uses NIC function to access ports 243 # NVI_RDMA = 0 # RDMA uses NIC function to access ports 317 # ports 0-3. 322 # storage applications across all four possible ports. 425 pmask = all # access to all four ports ... 457 pmask = all # access to all four ports ... 481 pmask = all # access to all four ports ... [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipclassifier.c | 1538 uint32_t ports; in ipcl_classify_v4() local 1551 ports, ipst)]; in ipcl_classify_v4() 1679 uint32_t ports; in ipcl_classify_v6() local 2384 uint32_t ports; in ipcl_conn_tcp_lookup_reversed_ipv4() local 2403 ports, ipst)]; in ipcl_conn_tcp_lookup_reversed_ipv4() 2434 uint32_t ports; in ipcl_conn_tcp_lookup_reversed_ipv6() local 2456 ports, ipst)]; in ipcl_conn_tcp_lookup_reversed_ipv6() 2487 uint32_t ports; in ipcl_tcp_lookup_reversed_ipv4() local 2497 ports, ipst)]; in ipcl_tcp_lookup_reversed_ipv4() 2527 uint32_t ports; in ipcl_tcp_lookup_reversed_ipv6() local [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | event_port.c | 137 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user) in port_sendn() argument 145 (uintptr_t)ports, (uintptr_t)errors, nent, events, in port_sendn() 159 (uintptr_t)&ports[offset], (uintptr_t)&errors[offset], in port_sendn()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | comconsole.c | 123 bool ports[COM_NPORTS]; in comc_ini() local 131 ports[0] = comc_port_is_present(COM1_IOADDR); in comc_ini() 132 ports[1] = comc_port_is_present(COM2_IOADDR); in comc_ini() 133 ports[2] = comc_port_is_present(COM3_IOADDR); in comc_ini() 134 ports[3] = comc_port_is_present(COM4_IOADDR); in comc_ini() 137 if (ports[i]) in comc_ini() 155 if (!ports[i]) in comc_ini()
|
/illumos-gate/usr/src/uts/common/io/fcoe/ |
H A D | fcoe.c | 128 static int fcoe_get_port_list(fcoe_port_instance_t *ports, int count); 805 count = fcoe_get_port_list(list->ports, list->numPorts); in fcoe_iocmd() 1281 fcoe_get_port_list(fcoe_port_instance_t *ports, int count) in fcoe_get_port_list() argument 1286 ASSERT(ports != NULL); in fcoe_get_port_list() 1293 ports[i].fpi_pwwn, 8); in fcoe_get_port_list() 1294 ports[i].fpi_mac_linkid = mac->fm_linkid; in fcoe_get_port_list() 1296 ports[i].fpi_mac_current_addr, ETHERADDRL); in fcoe_get_port_list() 1298 ports[i].fpi_mac_factory_addr, ETHERADDRL); in fcoe_get_port_list() 1299 ports[i].fpi_port_type = in fcoe_get_port_list() 1301 ports[i].fpi_mtu_size = in fcoe_get_port_list() [all …]
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | hypercall.c | 350 HYPERVISOR_poll(evtchn_port_t *ports, uint_t nr_ports, uint64_t timeout) in HYPERVISOR_poll() argument 355 set_xen_guest_handle(sched_poll.ports, ports); in HYPERVISOR_poll()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 602 struct addrinfo *cur, spinfo_t *ports, uint_t nport, int version) in get_addr() argument 639 canon, &ports[i]); in get_addr() 658 &ports[i]); in get_addr() 761 &ports[j]); in get_addr() 765 &ports[j]); in get_addr()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_intr.c | 277 pptr = pwp->ports[portid]; in pmcs_kill_port() 278 pwp->ports[portid] = NULL; in pmcs_kill_port() 352 rp = pwp->ports[portid]; in pmcs_process_sas_hw_event() 539 pwp->ports[portid] = pptr; in pmcs_process_sas_hw_event() 632 pwp->ports[pptr->portid] = pptr; in pmcs_process_sas_hw_event() 659 pptr = pwp->ports[portid]; in pmcs_process_sas_hw_event() 746 pwp->ports[portid] = pptr; in pmcs_process_sas_hw_event() 897 pptr = pwp->ports[portid]; in pmcs_process_sas_hw_event() 913 pptr = pwp->ports[portid]; in pmcs_process_sas_hw_event() 945 pptr = pwp->ports[portid]; in pmcs_process_sas_hw_event() [all …]
|