powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / C++ [игнор отключен] [закрыт для гостей] / Контрольная сумма для IP пакета
2 сообщений из 2, страница 1 из 1
Контрольная сумма для IP пакета
    #34762952
Кибер
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Сабж.
Поможите с алгоритмом ))
...
Рейтинг: 0 / 0
Контрольная сумма для IP пакета
    #34762969
miksoft
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
В протоколе IP есть только контрольная сумма заголовка.
тынц
RFC791Header Checksum: 16 bits

A checksum on the header only. Since some header fields change
(e.g., time to live), this is recomputed and verified at each point
that the internet header is processed.

The checksum algorithm is:

The checksum field is the 16 bit one's complement of the one's
complement sum of all 16 bit words in the header. For purposes of
computing the checksum, the value of the checksum field is zero.

This is a simple to compute checksum and experimental evidence
indicates it is adequate, but it is provisional and may be replaced
by a CRC procedure, depending on further experience.
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / C++ [игнор отключен] [закрыт для гостей] / Контрольная сумма для IP пакета
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]