Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handshake Extension Message: Packet Filter #55

Open
maxsharabayko opened this issue Aug 25, 2020 · 1 comment
Open

Handshake Extension Message: Packet Filter #55

maxsharabayko opened this issue Aug 25, 2020 · 1 comment
Assignees

Comments

@maxsharabayko
Copy link
Collaborator

The Packet Filter Handshake Extension section is missing.
Please fill using the following format:

#### Packet Filter Extension
~~~
0                   1                   2                   3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           Field01                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Field    |     Field     |             Field              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~~~
{: #fig-hsext-packet-filter title="Packet Filter Extension Message"}

Field01 (32 bits):
: This field ...

@maxsharabayko maxsharabayko added this to the v1.5.0 - Sprint 22 milestone Aug 25, 2020
@ethouris
Copy link
Collaborator

Let me try to consolidate the minimum text required for the Packet Filter and FEC.

  1. Field network syntax: identical as for Socket ID.

  2. Packet Filter configuration syntax (string formatting):

There are two levels:

A. Packet Filter configuration syntax in general

How this string is interpreted depends on the filter itself. However, there is an obligatory
general syntax:

<filter-type>,<key>:<value>[,...]

The parts of this syntax are separated by commas. The first part is the name of
the filter. This is followed by one or more key:value pairs, the interpretation
of which depends on the filter type.

B. Keys used for "fec" filter type

  • cols: The number of columns in your FEC matrix (which is the equivalent of
    the size of each row). This parameter is obligatory and must be a positive
    number >=2.

  • rows: The number of rows in your FEC matrix (which is the equivalent of
    the size of each column). This parameter is optional and defaults to 1. If the
    value is >=2, this corresponds to the exact number of rows. Beside this, two
    other special cases are allowed:

    • 1: in this case you have a row-only configuration (no columns)

    • -N (where N >= 2): column-only configuration. In this case N designates
      the exact size of a column, but the FEC control packet for rows will not be
      generated (in other words, the cols parameter designates in this case only
      a number of columns in one series)

  • layout: The format of the FEC matrix. The possible values are:

    • even: block aligned (default) - columns are arranged in a solid matrix;
      the first sequence numbers (SNbase) are all contained in one row.

    • staircase: non-block aligned - column starting points are staggered;
      the first sequence numbers (SNbase) have an offset equivalent to R+1.

  • arq: Optional use of the Automatic Repeat Request (ARQ) protocol. The
    possible values are:

    • always: ARQ is done in parallel with FEC (a loss is always reported
      immediately once detected in SRT).

    • onreq: ARQ is allowed, but a loss is only reported when FEC fails to
      rebuild, at the moment when an incoming packet has a sequence number that
      exceeds the last in one of the column groups; such a packet, if still lacking
      at that moment, is considered no longer recoverable by FEC.

    • never: ARQ is not done at all. Packets not recovered by FEC undergo
      TLPKTDROP, just like those that fail ARQ recovery in a conventional SRT
      exchange.

@mbakholdina mbakholdina changed the title Handshake Extension Message: Packet Filter [RFC] Handshake Extension Message: Packet Filter Aug 26, 2020
@maxsharabayko maxsharabayko modified the milestones: v1.5.0 - Sprint 22, v1.5.0 - Sprint 23 Sep 8, 2020
@maxsharabayko maxsharabayko modified the milestones: v1.5.0 - Sprint 23, v1.5.0 Sep 17, 2020
@mbakholdina mbakholdina removed this from the v1.5.0 milestone Oct 14, 2020
@mbakholdina mbakholdina changed the title [RFC] Handshake Extension Message: Packet Filter Handshake Extension Message: Packet Filter Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants