| /onnv/onnv-gate/usr/src/uts/common/inet/sctp/ |
| sctp_timer.c | 91 sctp_timer(sctp_t *sctp, mblk_t *mp, clock_t tim) 96 ASSERT(sctp != NULL && mp != NULL); 122 SCTP_REFHOLD(sctp); 141 * sctp timer. 148 sctp_timer_alloc(sctp_t *sctp, pfv_t func, int sleep) 153 sctp_stack_t *sctps = sctp->sctp_sctps; 170 sctpt->sctpt_sctp = sctp; 190 sctp_t *sctp; local 198 sctp = sctpt->sctpt_sctp; 199 ASSERT(sctp != NULL) [all...] |
| sctp_hash.c | 132 * Exported routine for extracting active SCTP associations. 160 sctp_t *sctp; local 168 sctp = list_head(&sctps->sctps_g_list); 169 while (sctp != NULL) { 173 mutex_enter(&sctp->sctp_reflock); 174 if (sctp->sctp_condemned || sctp->sctp_state <= SCTPS_LISTEN) { 175 mutex_exit(&sctp->sctp_reflock); 176 sctp = list_next(&sctps->sctps_g_list, sctp); 238 sctp_t *sctp; local 284 sctp_t *sctp; local 323 sctp_t *sctp; local 344 sctp_t *sctp; local 386 sctp_t *sctp; local 712 sctp_t *sctp; local [all...] |
| sctp_snmp.c | 47 static int sctp_snmp_state(sctp_t *sctp); 54 sctp_t *sctp, *sctp_prev; local 83 sctp = list_head(&sctps->sctps_g_list); 84 while (sctp != NULL) { 85 mutex_enter(&sctp->sctp_reflock); 86 if (sctp->sctp_condemned) { 87 mutex_exit(&sctp->sctp_reflock); 88 sctp = list_next(&sctps->sctps_g_list, sctp); 91 sctp->sctp_refcnt++ 417 sctp_t *sctp, *sctp_prev = NULL; local [all...] |
| sctp.c | 54 #include <netinet/sctp.h> 79 static void sctp_closei_local(sctp_t *sctp); 81 static void sctp_icmp_error_ipv6(sctp_t *sctp, mblk_t *mp); 97 * SCTP receive queue taskq 99 * At SCTP initialization time, a default taskq is created for 105 * that SCTP recvq taskq is not tied to any specific CPU or ill. 125 #define SCTP_CONDEMNED(sctp) \ 126 mutex_enter(&(sctp)->sctp_reflock); \ 127 ((sctp)->sctp_condemned = B_TRUE); \ 128 mutex_exit(&(sctp)->sctp_reflock) 173 sctp_t *sctp; local 613 sctp_t *sctp = CONN2SCTP(connp); local 1098 sctp_t *sctp = (sctp_t *)arg; local 1368 sctp_t *sctp, *psctp; local 1861 sctp_t *sctp = (sctp_t *)arg; local 1934 sctp_t *sctp = (sctp_t *)&connp[1]; local 1967 sctp_t *sctp = (sctp_t *)&connp[1]; local [all...] |
| sctp_cookie.c | 130 * If inmp is non-NULL, and we need to abort, it will use the IP/SCTP 158 validate_init_params(sctp_t *sctp, sctp_chunk_hdr_t *ch, 172 conn_t *connp = sctp->sctp_connp; 245 dprint(1, ("sctp:validate_init_params: host addr\n")); 295 *errmp = sctp_make_err(sctp, 343 sctp->sctp_connp->conn_ipv6_v6only))) { 344 dprint(1, ("sctp:validate_init_params: supp addr\n")); 357 sctp_send_abort(sctp, sctp_init2vtag(ch), SCTP_ERR_MISSING_PARM, 369 sctp_send_abort(sctp, sctp_init2vtag(ch), serror, details, 379 sctp_initialize_params(sctp_t *sctp, sctp_init_chunk_t *init 1443 sctp_t *sctp = NULL; local [all...] |
| sctp_addr.c | 39 #include <netinet/sctp.h> 95 #define SCTP_IPIF_ZONE_MATCH(sctp, ipif) \ 96 IPCL_ZONE_MATCH((sctp)->sctp_connp, (ipif)->sctp_ipif_zoneid) 102 * SCTP Interface list manipulation functions, locking used. 106 * Delete an SCTP IPIF from the list if the refcount goes to 0 and it is 159 * Lookup an SCTP IPIF given an IP address. Increments sctp_ipif refcnt. 162 * address given an SCTP. In the former case we always check the zoneid, 164 * for the sctp has conn_all_zones set. When looking for an address we 227 * Populate the list with all the SCTP ipifs for a given ipversion. 232 sctp_get_all_ipifs(sctp_t *sctp, int sleep 873 sctp_t *sctp; local 1503 sctp_t *sctp = (sctp_t *)conn; local [all...] |
| sctp_common.c | 41 #include <netinet/sctp.h> 64 sctp_set_saddr(sctp_t *sctp, sctp_faddr_t *fp) 69 fp->saddr = sctp_get_valid_addr(sctp, v6, &addr_set); 87 sctp_get_dest(sctp_t *sctp, sctp_faddr_t *fp) 93 sctp_stack_t *sctps = sctp->sctp_sctps; 94 conn_t *connp = sctp->sctp_connp; 137 * this sctp has bound to all addrs. So if the dest 139 * list, unless the sctp has bound to all addrs, in 149 sctp_set_saddr(sctp, fp); 157 if (!sctp->sctp_loopback 1488 sctp_t *sctp; local [all...] |
| sctp_input.c | 41 #include <netinet/sctp.h> 60 * PR-SCTP comments. 314 * Attach ancillary data to a received SCTP segments. 321 sctp_input_add_ancillary(sctp_t *sctp, mblk_t **mp, sctp_data_hdr_t *dcp, 334 conn_t *connp = sctp->sctp_connp; 357 if (sctp->sctp_recvsndrcvinfo) 364 ira->ira_ruifindex != sctp->sctp_recvifindex) { 372 ipp->ipp_hoplimit != sctp->sctp_recvhops) { 380 ipp->ipp_tclass != sctp->sctp_recvtclass) { 388 ip_cmpbuf(sctp->sctp_hopopts, sctp->sctp_hopoptslen 3227 sctp_t *sctp; local 3347 sctp_t *sctp = CONN2SCTP(connp); local [all...] |
| sctp_impl.h | 37 #include <netinet/sctp.h> 46 #define SCTP_DEV_IDINFO "SCTP Streams device 1.0" 57 /* SCTP Timer control structure */ 77 * SCTP parameters 147 * sctp_wroff_xtra is the extra space in front of SCTP/IP header for link 155 #define SCTP_FADDR_TIMER_RESTART(sctp, fp, intvl) \ 159 sctp_timer((sctp), (fp)->timer_mp, (intvl)); \ 171 #define SCTP_MAX_RTO(sctp, fp) { \ 177 (sctp)->sctp_maxrto = \ 178 MAX((sctp)->sctp_maxrto, (fp)->rto); 399 struct sctp_s *sctp; member in struct:sctp_instr_s [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ip/ |
| ip_attr.c | 62 #include <netinet/sctp.h> 91 #include <inet/sctp/sctp_impl.h> 1128 * for TCP, SCTP, and others. 1243 sctp_t *sctp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/sctp/ |
| sctp.c | 38 #include <netinet/sctp.h> 45 #include <sctp/sctp_impl.h> 46 #include <sctp/sctp_addr.h> 341 sctp_t sctp; local 346 if (mdb_vread(&sctp, sizeof (sctp), addr) == -1) 350 if (sctp_sent_list(sctp.sctp_xmit_head) < 0) 354 if (sctp_unsent_list(sctp.sctp_xmit_unsent) < 0) 545 state2str(sctp_t *sctp) 547 switch (sctp->sctp_state) 683 sctp(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function 685 sctp_t sctps, *sctp; local 992 uintptr_t sctp; member in struct:fanout_walk_data 1055 sctp_t sctp; local 1124 sctp_t sctp; local 1204 sctp_t sctp; local 1247 sctp_t sctp; member in struct:__anon18 1255 sctp_t *sctp; local 1296 sctp_t *sctp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/nfs/ |
| nfs_server.c | 416 SVC_CALLOUT_TABLE *sctp = NULL; local 467 nfs_srv_set_sc_versions(fp, &sctp, nfs_versmin, nfs_versmax)) { 479 sctp, NULL, NFS_SVCPOOL_ID, TRUE); [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
| netstat.c | 478 } else if (strcmp(optarg, "sctp") == 0) { 1860 mib2_sctp_t *sctp = (mib2_sctp_t *)item->valp; local 2040 mib2_sctp_t *sctp = (mib2_sctp_t *)item->valp; local [all...] |