Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 25 of 116) sorted by relevance

12345

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c111 } 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.list); in main()
783 ports.list = malloc(PLIST_SZ * sizeof (uint16_t)); in build_ports()
784 if (ports.list == NULL) in build_ports()
786 ports.listsize = PLIST_SZ; in build_ports()
787 ports.numports = 0; in build_ports()
821 if (hi - lo + ports.numports + 1 >= ports.listsize) { in build_ports()
[all …]
/titanic_41/usr/src/uts/common/inet/
H A Dtunables.c357 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()
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[i] = 0; in mod_set_extra_privports()
429 if (ports[i] == 0) in mod_set_extra_privports()
[all …]
H A Dipclassifier.h564 #define IPCL_CONN_HASH(src, ports, ipst) \ argument
565 ((unsigned)(ntohl((src)) ^ ((ports) >> 24) ^ ((ports) >> 16) ^ \
566 ((ports) >> 8) ^ (ports)) % (ipst)->ips_ipcl_conn_fanout_size)
568 #define IPCL_CONN_HASH_V6(src, ports, ipst) \ argument
569 IPCL_CONN_HASH(V4_PART_OF_V6((src)), (ports), (ipst))
571 #define IPCL_CONN_MATCH(connp, proto, src, dst, ports) \ argument
573 (connp)->conn_ports == (ports) && \
578 #define IPCL_CONN_MATCH_V6(connp, proto, src, dst, ports) \ argument
580 (connp)->conn_ports == (ports) && \
/titanic_41/usr/src/lib/librstp/common/
H A Dstpm.c58 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; port; port = port->next) { in STP_stpm_start()
297 for (port = this->ports; port; port = port->next) { in STP_compute_bridge_id()
[all …]
H A Drolesel.c131 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 Dport.c53 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 Droletrns.c58 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 Dstpm.h54 struct port_t* ports; member
/titanic_41/usr/src/uts/common/io/aggr/
H A Daggr_ctl.c85 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_41/usr/src/uts/intel/io/dktp/controller/ata/
H A Dsil3xxx.c59 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_41/usr/src/uts/common/inet/sctp/
H A Dsctp_hash.c235 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, zoneid, iraflags, in sctp_lookup_by_faddrs()
[all …]
H A Dsctp_cookie.c1231 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()
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, zoneid, in sctp_addrlist2sctp()
/titanic_41/usr/src/lib/libdladm/common/
H A Dlibdlaggr.c379 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 = malloc(attr.lg_nports * sizeof (dladm_aggr_port_attr_db_t)); in i_dladm_aggr_up()
697 if (ports == NULL) { in i_dladm_aggr_up()
[all …]
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dlcl_sv.c226 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_41/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c244 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()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dipclassifier.c1535 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 = *(uint32_t *)up; in ipcl_classify_v6()
1691 ports, ipst)]; in ipcl_classify_v6()
1696 ip6h->ip6_src, ip6h->ip6_dst, ports) && in ipcl_classify_v6()
1821 ipcl_classify_raw(mblk_t *mp, uint8_t protocol, uint32_t ports, in ipcl_classify_raw() argument
1831 lport = ((uint16_t *)&ports)[1]; in ipcl_classify_raw()
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Devent_port.c140 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_41/usr/src/uts/common/io/fcoe/
H A Dfcoe.c128 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 …]
/titanic_41/usr/src/uts/common/xen/os/
H A Dhypercall.c385 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_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_intr.c257 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()
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()
[all …]
/titanic_41/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_hca.c1341 uint_t ports; in ibtl_pkey2index() local
1353 ports = hca_devp->hd_hca_attr->hca_nports; in ibtl_pkey2index()
1354 if ((port_num == 0) || (port_num > ports)) { in ibtl_pkey2index()
1356 "Invalid port_num %d, range is (1 to %d)", port_num, ports); in ibtl_pkey2index()
1390 uint_t ports; in ibtl_index2pkey() local
1397 ports = hca_devp->hd_hca_attr->hca_nports; in ibtl_index2pkey()
1398 if ((port_num == 0) || (port_num > ports)) { in ibtl_index2pkey()
1400 "Invalid port_num %d, range is (1 to %d)", port_num, ports); in ibtl_index2pkey()
/titanic_41/usr/src/uts/common/xen/public/
H A Dsched.h80 XEN_GUEST_HANDLE(evtchn_port_t) ports;
/titanic_41/usr/src/cmd/fcoesvc/
H A Dfcoeisvc.c48 port = &portlist->ports[i]; in main()
H A Dfcoetsvc.c48 port = &portlist->ports[i]; in main()
/titanic_41/usr/src/grub/grub-0.97/docs/
H A Dgrub.info-433 File: grub.info, Node: Bootstrap tricks, Next: I/O ports detection, Prev: Command interface, Up…
85 File: grub.info, Node: I/O ports detection, Next: Memory detection, Prev: Bootstrap tricks, Up:…
87 How to probe I/O ports used by INT 13H
94 File: grub.info, Node: Memory detection, Next: Low-level disk I/O, Prev: I/O ports detection, U…

12345