Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pal_tcpstate.h « System.Native « Unix « Native « libraries « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b9bd7d3bde39c8ebe07a713b84b5b660f3188388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma once

#include "pal_compiler.h"
#include "pal_config.h"

typedef enum
{
    TcpState_Unknown,
    TcpState_Closed,
    TcpState_Listen,
    TcpState_SynSent,
    TcpState_SynReceived,
    TcpState_Established,
    TcpState_FinWait1,
    TcpState_FinWait2,
    TcpState_CloseWait,
    TcpState_Closing,
    TcpState_LastAck,
    TcpState_TimeWait,
    TcpState_DeleteTcb
} TcpState;

PALEXPORT int32_t SystemNative_MapTcpState(int32_t tcpState);