/titanic_51/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 88 int rflag; /* Random ports flag */ 104 * Used to store a list of ports given by the user and maintaining 105 * information about the number of ports stored. 108 uint16_t *list; /* list containing the ports */ 110 uint_t numports; /* number of ports in the list */ 111 } ports; variable 404 for (i = 0; i < ports.numports; i++) { in main() 406 ports.list[i]); in main() 436 ntohs(ports.list[i]), in main() 448 free(ports in main() [all...] |
/titanic_51/usr/src/uts/common/inet/ |
H A D | tunables.c | 357 in_port_t *ports; in mod_set_extra_privports() local 377 ports = tcps->tcps_g_epriv_ports; in mod_set_extra_privports() 383 ports = us->us_epriv_ports; in mod_set_extra_privports() 389 ports = sctps->sctps_g_epriv_ports; in mod_set_extra_privports() 398 /* if MOD_PROP_DEFAULT is set then reset the ports list to default */ 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() 403 ports[1] = ULP_DEF_EPRIV_PORT2; in mod_set_extra_privports() 410 if (new_value == ports[i]) in mod_set_extra_privports() 420 ports[ in mod_set_extra_privports() 472 in_port_t *ports; mod_get_extra_privports() local [all...] |
H A D | ipclassifier.h | 526 * On a labeled system, we must treat bindings to ports 567 #define IPCL_CONN_HASH(src, ports, ipst) \ argument 568 ((unsigned)(ntohl((src)) ^ ((ports) >> 24) ^ ((ports) >> 16) ^ \ 569 ((ports) >> 8) ^ (ports)) % (ipst)->ips_ipcl_conn_fanout_size) 571 #define IPCL_CONN_HASH_V6(src, ports, ipst) \ argument 572 IPCL_CONN_HASH(V4_PART_OF_V6((src)), (ports), (ipst)) 574 #define IPCL_CONN_MATCH(connp, proto, src, dst, ports) \ argument 576 (connp)->conn_ports == (ports) 581 IPCL_CONN_MATCH_V6(connp,proto,src,dst,ports) global() argument [all...] |
/titanic_51/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() 221 if (! this->ports) { /* there are not any ports :( */ in STP_stpm_start() 237 for (port = this->ports; por in STP_stpm_start() [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()
|
H A D | stpm.h | 54 struct port_t* ports; member
|
/titanic_51/usr/src/uts/common/io/aggr/ |
H A D | aggr_ctl.c | 85 laioc_port_t *ports = NULL; in aggr_ioc_create() local 104 ports = kmem_alloc(ports_size, KM_SLEEP); in aggr_ioc_create() 106 if (ddi_copyin((uchar_t *)arg + sizeof (*create_arg), ports, in aggr_ioc_create() 117 ports, policy, mac_fixed, force, mac_addr, lacp_mode, lacp_timer, in aggr_ioc_create() 121 kmem_free(ports, ports_size); in aggr_ioc_create() 214 laioc_port_t *ports = NULL; in aggr_ioc_add_remove() local 223 ports = kmem_alloc(ports_size, KM_SLEEP); in aggr_ioc_add_remove() 224 if (ddi_copyin((uchar_t *)arg + sizeof (*add_rem_arg), ports, in aggr_ioc_add_remove() 233 add_rem_arg->la_force, ports); in aggr_ioc_add_remove() 236 rc = aggr_grp_rem_ports(add_rem_arg->la_linkid, nports, ports); in aggr_ioc_add_remove() [all...] |
/titanic_51/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | sil3xxx.c | 59 int ports, i; in sil3xxx_init_controller() local 110 ports = 4; in sil3xxx_init_controller() 112 ports = 2; in sil3xxx_init_controller() 119 for (i = 0; i < ports; i++) { in sil3xxx_init_controller()
|
/titanic_51/usr/src/uts/common/inet/sctp/ |
H A D | sctp_hash.c | 235 uint32_t ports, zoneid_t zoneid, iaflags_t iraflags, sctp_stack_t *sctps) in sctp_conn_match() argument 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() 321 sctp_find_conn(in6_addr_t *src, in6_addr_t *dst, uint32_t ports, in sctp_find_conn() argument 326 sctp = sctp_conn_match(&src, 1, dst, ports, zoneid, iraflags, sctps); in sctp_find_conn() 329 sctp = listen_match(dst, ports, zoneid, iraflags, sctps); in sctp_find_conn() 350 in6_addr_t *dstp, uint32_t ports, zoneid_t zoneid, sctp_stack_t *sctps, in sctp_lookup_by_faddrs() argument 368 if ((sctp = sctp_conn_match(&srcp, 1, dstp, ports, zonei in sctp_lookup_by_faddrs() 484 sctp_fanout(in6_addr_t * src,in6_addr_t * dst,uint32_t ports,ip_recv_attr_t * ira,mblk_t * mp,sctp_stack_t * sctps,sctp_hdr_t * sctph) sctp_fanout() argument 529 ip_fanout_sctp(mblk_t * mp,ipha_t * ipha,ip6_t * ip6h,uint32_t ports,ip_recv_attr_t * ira) ip_fanout_sctp() argument 855 sctp_lookup(sctp_t * sctp1,in6_addr_t * faddr,sctp_tf_t * tf,uint32_t * ports,int min_state) sctp_lookup() argument [all...] |
H A D | sctp_cookie.c | 1231 uint32_t ports; in sctp_process_cookie() local 1312 bcopy(insctph, &ports, sizeof (ports)); in sctp_process_cookie() 1313 if (sctp_secure_restart_check(cmp, initch, ports, KM_NOSLEEP, in sctp_process_cookie() 1448 uint32_t ports; in sctp_addrlist2sctp() local 1462 ports = *(uint32_t *)sctph; in sctp_addrlist2sctp() 1464 dprint(1, ("sctp_addrlist2sctp: ports=%u, dst = %x:%x:%x:%x\n", in sctp_addrlist2sctp() 1465 ports, SCTP_PRINTADDR(dst))); in sctp_addrlist2sctp() 1494 sctp = sctp_conn_match(&srcp, 1, &dst, ports, zoneid, in sctp_addrlist2sctp() 1507 sctp = sctp_conn_match(&srcp, 1, &dst, ports, zonei in sctp_addrlist2sctp() [all...] |
/titanic_51/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.c | 375 * Add or remove one or more ports to/from an existing link aggregation. 379 uint32_t nports, dladm_aggr_port_attr_db_t *ports, uint32_t flags, int cmd) in i_dladm_aggr_add_rmv() argument 400 if ((dladm_datalink_id2info(handle, ports[i].lp_linkid, NULL, in i_dladm_aggr_add_rmv() 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() 632 uint16_t key, uint32_t nports, dladm_aggr_port_attr_db_t *ports, in i_dladm_aggr_create_sys() argument 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 696 ports in i_dladm_aggr_up() 1011 dladm_aggr_persist_aggr_conf(dladm_handle_t handle,const char * link,datalink_id_t linkid,uint16_t key,uint32_t nports,dladm_aggr_port_attr_db_t * ports,uint32_t policy,boolean_t mac_addr_fixed,const uchar_t * mac_addr,aggr_lacp_mode_t lacp_mode,aggr_lacp_timer_t lacp_timer,boolean_t force) dladm_aggr_persist_aggr_conf() argument 1116 dladm_aggr_create(dladm_handle_t handle,const char * name,uint16_t key,uint32_t nports,dladm_aggr_port_attr_db_t * ports,uint32_t policy,boolean_t mac_addr_fixed,const uchar_t * mac_addr,aggr_lacp_mode_t lacp_mode,aggr_lacp_timer_t lacp_timer,uint32_t flags) dladm_aggr_create() argument 1433 dladm_aggr_add(dladm_handle_t handle,datalink_id_t linkid,uint32_t nports,dladm_aggr_port_attr_db_t * ports,uint32_t flags) dladm_aggr_add() argument 1444 dladm_aggr_remove(dladm_handle_t handle,datalink_id_t linkid,uint32_t nports,dladm_aggr_port_attr_db_t * ports,uint32_t flags) dladm_aggr_remove() argument [all...] |
/titanic_51/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_sv.c | 226 u_short *ports; in sv_byport() local 228 ports = (u_short *)pvt->sv.line; in sv_byport() 229 ports[0] = 0; in sv_byport() 230 ports[1] = port; in sv_byport() 231 key.data = ports; in sv_byport() 234 strncpy((char *)ports + key.size, proto, in sv_byport() 236 key.size += strlen((char *)ports + key.size) + 1; in sv_byport()
|
/titanic_51/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 244 hp_node_list_t connections, ports; in copy_hotplug() local 254 /* Clear lists of discovered ports and connections */ in copy_hotplug() 255 (void) memset(&ports, 0, sizeof (hp_node_list_t)); in copy_hotplug() 259 * Scan virtual ports. in copy_hotplug() 263 * Else, this will only build branches for virtual ports that in copy_hotplug() 273 * Ignore ports associated with connectors, unless in copy_hotplug() 279 /* If a connection is specified, ignore non-matching ports */ in copy_hotplug() 308 /* Ignore ports */ in copy_hotplug() 312 /* If a connection is specified, ignore non-matching ports */ in copy_hotplug() 341 node_list_add(&ports, port_nod in copy_hotplug() [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | event_port.c | 42 * number of the event ports framework. The version number is required to 140 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user) in port_sendn() argument 148 (uintptr_t)ports, (uintptr_t)errors, nent, events, in port_sendn() 162 (uintptr_t)&ports[offset], (uintptr_t)&errors[offset], in port_sendn()
|
/titanic_51/usr/src/uts/common/inet/ip/ |
H A D | ipclassifier.c | 35 * o local/remote address and ports 137 * multilevel ports, membership in the range or set. This part currently does 163 * ports are read from the IP and TCP header respectively. 1319 * The caller has already set conn_proto and the addresses/ports in the conn_t. 1535 uint32_t ports; in ipcl_classify_v4() local 1545 ports = *(uint32_t *)up; in ipcl_classify_v4() 1548 ports, ipst)]; in ipcl_classify_v4() 1553 ipha->ipha_src, ipha->ipha_dst, ports) && in ipcl_classify_v4() 1676 uint32_t ports; in ipcl_classify_v6() local 1687 ports in ipcl_classify_v6() 1821 ipcl_classify_raw(mblk_t * mp,uint8_t protocol,uint32_t ports,ipha_t * ipha,ip6_t * ip6h,ip_recv_attr_t * ira,ip_stack_t * ipst) ipcl_classify_raw() argument 2381 uint32_t ports; ipcl_conn_tcp_lookup_reversed_ipv4() local 2431 uint32_t ports; ipcl_conn_tcp_lookup_reversed_ipv6() local 2484 uint32_t ports; ipcl_tcp_lookup_reversed_ipv4() local 2524 uint32_t ports; ipcl_tcp_lookup_reversed_ipv6() local [all...] |
/titanic_51/usr/src/uts/common/io/fcoe/ |
H A D | fcoe.c | 66 * FCoE ports, doing MAC address discovery/managment, and FC frame 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[ in fcoe_get_port_list() [all...] |
/titanic_51/usr/src/uts/common/xen/os/ |
H A D | hypercall.c | 379 * Poll one or more event-channel ports, and return when pending. 385 HYPERVISOR_poll(evtchn_port_t *ports, uint_t nr_ports, uint64_t timeout) in HYPERVISOR_poll() argument 390 set_xen_guest_handle(sched_poll.ports, ports); in HYPERVISOR_poll()
|
/titanic_51/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_intr.c | 257 pmcs_phy_t *pptr = pwp->ports[portid]; in pmcs_kill_port() 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() 745 /* Update primary pptr in ports */ in pmcs_process_sas_hw_event() 746 pwp->ports[portid] = pptr; in pmcs_process_sas_hw_event() 897 pptr = pwp->ports[porti in pmcs_process_sas_hw_event() [all...] |
/titanic_51/usr/src/uts/common/xen/public/ |
H A D | sched.h | 74 * Poll a set of event-channel ports. Return when one or more are pending. An 80 XEN_GUEST_HANDLE(evtchn_port_t) ports;
|
/titanic_51/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_hca.c | 451 * Returns HCA port attributes for one of the HCA ports. 500 * Returns HCA port attributes for one of the HCA ports. 532 * Returns HCA port attributes for one of the HCA ports. 635 * ports_p - The number of hca ports on the specified HCA. 643 * Returns HCA port attributes for either "one", or "all" of the HCA ports. 672 * ports_p - The number of hca ports on the specified HCA. 680 * Returns HCA port attributes for either "one", or "all" of the HCA ports. 824 * else query all ports. in ibtl_query_hca_ports() 843 * Calculate how much memory we need for all ports, and allocate it. in ibtl_query_hca_ports() 1030 * Calculate how much memory we need for all ports, an in ibtl_init_hca_portinfo() 1341 uint_t ports; ibtl_pkey2index() local 1390 uint_t ports; ibtl_index2pkey() local [all...] |
/titanic_51/usr/src/boot/sys/boot/fdt/dts/arm/ |
H A D | armada-388.dtsi | 42 * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl 44 * the 2 other ports.
|
/titanic_51/usr/src/cmd/fcoesvc/ |
H A D | fcoeisvc.c | 48 port = &portlist->ports[i]; in main()
|
H A D | fcoetsvc.c | 48 port = &portlist->ports[i]; in main()
|