Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / C++ [игнор отключен] [закрыт для гостей] / Контрольная сумма для IP пакета / 2 сообщений из 2, страница 1 из 1
29.08.2007, 20:11:32
    #34762952
Кибер
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Контрольная сумма для IP пакета
Сабж.
Поможите с алгоритмом ))
...
Рейтинг: 0 / 0
29.08.2007, 20:25:31
    #34762969
miksoft
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Контрольная сумма для IP пакета
В протоколе 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
Форумы / C++ [игнор отключен] [закрыт для гостей] / Контрольная сумма для IP пакета / 2 сообщений из 2, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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