[P4] Header field bit-order
Brunner Márton
brmarci at caesar.elte.hu
Sun Jul 17 01:41:07 CEST 2016
Sziasztok,
A P4 specifikációt böngészve találtam az alábbi sorokat a header típusra
vonatkozóan:
"Bits are ordered within bytes by most-significant-bit first. Thus, if
the first field listed in a header has a bit width of 1, it is the high
order bit of the first byte in that header."
Ennek a mi szintünkön nem így kéne működni? Csak mert mi egy 1 bites
field extract-olásakor a legalacsonyabb helyi értékű bitet használjuk
fel, nem a legmagasabbat.
Marci
More information about the P4
mailing list