Re[4]: SCTP recv problems
От: ENP  
Дата: 06.02.14 16:15
Оценка:
Здравствуйте, Kernan, Вы писали:

K> Что там в пакетах-то?


Ну например:

Internet Protocol Version 4, Src: 10.10.10.1 (10.10.10.1), Dst: 10.10.10.2 (10.10.10.2)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x02 (DSCP 0x00: Default; ECN: 0x02: ECT(0) (ECN-Capable Transport))
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..10 = Explicit Congestion Notification: ECT(0) (ECN-Capable Transport) (0x02)
    Total Length: 72
    Identification: 0xae6e (44654)
    Flags: 0x00
        0... .... = Reserved bit: Not set
        .0.. .... = Don't fragment: Not set
        ..0. .... = More fragments: Not set
    Fragment offset: 0
    Time to live: 254
    Protocol: SCTP (132)
    Header checksum: 0xe277 [correct]
        [Good: True]
        [Bad: False]
    Source: 10.10.10.1 (10.10.10.1)
    Destination: 10.10.10.2 (10.10.10.2)
Stream Control Transmission Protocol, Src Port: 3034 (3034), Dst Port: 3034 (3034)
    Source port: 3034
    Destination port: 3034
    Verification tag: 0x00000000
    Checksum: 0xad4314e0 (not verified)
    INIT chunk (Outbound streams: 33, inbound streams: 33)
        Chunk type: INIT (1)
            0... .... = Bit: Stop processing of the packet
            .0.. .... = Bit: Do not report
        Chunk flags: 0x00
        Chunk length: 38
        Initiate tag: 0x00005b87
        Advertised receiver window credit (a_rwnd): 76500
        Number of outbound streams: 33
        Number of inbound streams: 33
        Initial TSN: 27117
        IPv4 address parameter (Address: 10.10.10.1)
            Parameter type: IPv4 address (0x0005)
                0... .... .... .... = Bit: Stop processing of chunk
                .0.. .... .... .... = Bit: Do not report
            Parameter length: 8
            IP Version 4 address: 10.10.10.1 (10.10.10.1)
        ECN parameter
            Parameter type: ECN (0x8000)
                1... .... .... .... = Bit: Skip parameter and continue processing of the chunk
                .0.. .... .... .... = Bit: Do not report
            Parameter length: 4
        Supported address types parameter (Supported types: IPv4)
            Parameter type: Supported address types (0x000c)
                0... .... .... .... = Bit: Stop processing of chunk
                .0.. .... .... .... = Bit: Do not report
            Parameter length: 6
            Supported address type: IPv4 address (5)
        Chunk padding: 0000
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.