Searched refs:stream_type (Results 1 – 3 of 3) sorted by relevance
| /mOS-networking-stack/core/src/ |
| H A D | tcp.c | 113 uint32_t stream_type, unsigned int *hash) in CreateMonitorStream() argument 118 stream = CreateDualTCPStream(mtcp, NULL, stream_type, pctx->p.iph->daddr, in CreateMonitorStream() 199 uint32_t stream_type; in CreateStream() local 206 stream_type = DetectStreamType(mtcp, pctx, iph->daddr, tcph->dest); in CreateStream() 207 if (!stream_type) { in CreateStream() 216 if (stream_type == STREAM_TYPE(MOS_SOCK_STREAM)) { in CreateStream() 217 cur_stream = CreateServerStream(mtcp, stream_type, pctx); in CreateStream() 224 } else if (stream_type & STREAM_TYPE(MOS_SOCK_MONITOR_STREAM_ACTIVE)) { in CreateStream() 230 cur_stream = CreateClientTCPStream(mtcp, NULL, stream_type, in CreateStream() 235 cur_stream = CreateMonitorStream(mtcp, pctx, stream_type, hash); in CreateStream() [all …]
|
| H A D | tcp_stream.c | 510 stream->stream_type = type; 609 paired_stream->stream_type = STREAM_TYPE(MOS_SOCK_MONITOR_STREAM_ACTIVE); 670 ss->stream_type = STREAM_TYPE(MOS_SOCK_MONITOR_STREAM_ACTIVE); 910 stream->id, stream->stream_type,
|
| /mOS-networking-stack/core/src/include/ |
| H A D | tcp_stream.h | 19 #define HAS_STREAM_TYPE(str, type) (str->stream_type & (1 << type)) 20 #define IS_STREAM_TYPE(str, type) (str->stream_type == (1 << type)) 237 uint32_t stream_type; /* to identify sock_stream/mon_stream */ member
|