ГОСТ Р 56160—2014
Т а б л и ц а 1— Синтаксис и семантика datagram_section
СинтаксисКоличество битовМнемоника
datagram_section() {
tablejd
8uimsbf
section_syntax_indicator
1bslbf
privatejndicator
1bslbf
reserved.
2bslbf
sectionJerrgth:
12uimsbf
MAC_address_6
8uimsbf
MAC_address_5
8uimsbf
reserved:
2bslbf
paytoad_scrambiing_control
2bslbf
address_scrambling_control
2bslbf
LLC_SNAP_flag
1bslbf
current_next_indicator
1bslbf
section_number
8uimsbf
last_section_number
8uimsbf
MAC_address_4
8uimsbf
MAC_address_3
8uimsbf
MAC_address_2
8uimsbf
MAC_address_1
8uimsbf
if (LLC_SNAP_flag =="1"){
LLC_SNAP()
} else {
for (i=0;j<N1;j++}{
IP_datagram_data_byte
8bslbf
}
}
if (section_number == Iast_section_number) {
for (j=0:j<N2;j++) {
stuffing_byte:
8bslbf
}
}
32uimsbf
if (section_syntaxJndicatof =="0") {
checksum:
} else {
CRC_32:
32rpchof
}
}
11