FIELD: data processing.
SUBSTANCE: descriptor is formed that includes the sizes of headers, data fields and the entire packet. The descriptor is stored in the descriptor buffer, and the packet is stored in the packet buffer. The descriptors from the descriptor buffer are passed to the data field deletion block, in which the packet size without the data field is recalculated and the resulting value is written in the descriptor buffer. When reading a packet from the packet buffer, the packet size information from its descriptor is used. If it is determined in the packet analysis block that the packet does not have an IP header, then the size of the packet in the descriptor is set in the data field deletion block as equal to the size of the Ethernet header. If it is determined in the packet analysis block that the packet has an IP header, then the size of the packet in the descriptor is set in the data field deletion block as the sum of the sizes of the Ethernet header and the IP header. If, as a result of removing the data field from the transmitted packet, the packet size becomes less than the minimum specified size of 60 bytes delivered to the recipient as part of one packet, then the packet is padded with zero bytes up to 60 bytes in the padding block and transferred to the FCS correction block. If the packet size is greater than or equal to the minimum specified size of 60 bytes, then the packet is immediately transferred to the FCS correction block. The checksum is recalculated in the FCS correction block, and 4 bytes of the checksum are added to the packet, after which it is transmitted to the output interface.
EFFECT: packet is transmitted to the output interface.
1 cl, 4 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD FOR DETECTING DUPLICATE PACKETS IN A NETWORK TRAFFIC FLOW | 2022 |
|
RU2790636C1 |
METHOD FOR DYNAMIC FILTERING OF NETWORK PACKETS BY SESSIONS | 2022 |
|
RU2779135C1 |
A WAY TO TRACK FRAGMENTS OF PACKETS IN NETWORK TRAFFIC | 2022 |
|
RU2778462C1 |
METHOD FOR ENSURING BALANCING IDENTITY FOR BIDIRECTIONAL NETWORK SESSION DATA FLOW | 2022 |
|
RU2786629C1 |
METHOD FOR TRACKING SESSIONS IN NETWORK TRAFFIC | 2022 |
|
RU2786178C1 |
METHOD FOR FILTERING NETWORK TRAFFIC BASED ON RULES WITH A MASK DURING PACKET SWITCHING | 2022 |
|
RU2795295C1 |
METHOD FOR FILTERING A PART OF PACKETS IN A NETWORK SESSION | 2022 |
|
RU2790635C1 |
BALANCING METHOD WHILE MAINTAINING INTEGRITY OF DATA FLOWS | 2023 |
|
RU2807656C1 |
DATA MODIFICATION METHOD IN NETWORK PACKET SWITCHING | 2022 |
|
RU2781916C1 |
METHOD OF NETWORK PROTOCOL DEEP REVIEW FOR ANALYSIS AND FILTRATION OF THEIR CONTENTS | 2016 |
|
RU2640295C1 |
Authors
Dates
2023-02-28—Published
2022-06-01—Filed