|
version 1.29.2.1, 2020/06/25 19:08:42
|
version 1.30.2.2, 2022/10/13 22:09:36
|
|
Line 12 terms:
|
Line 12 terms:
|
| All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
| Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
| |
|
| Copyright 2004 - 2016 | Copyright 2004 - 2022 |
| by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
| |
|
| Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
|
Line 544 rxUDPPacket(sched_task_t *task)
|
Line 544 rxUDPPacket(sched_task_t *task)
|
| /* check integrity of packet */ |
/* check integrity of packet */ |
| crc = ntohs(rpc->call_crc); |
crc = ntohs(rpc->call_crc); |
| rpc->call_crc ^= rpc->call_crc; |
rpc->call_crc ^= rpc->call_crc; |
| if (crc != crcFletcher16((u_short*) rpc, len / 2)) | if (crc != crcFletcher16((u_short*) AIT_GET_BUF(&b), len / 2)) |
| goto end; |
goto end; |
| |
|
| /* check RPC packet session info */ |
/* check RPC packet session info */ |
|
Line 708 rxRAWPacket(sched_task_t *task)
|
Line 708 rxRAWPacket(sched_task_t *task)
|
| /* check integrity of packet */ |
/* check integrity of packet */ |
| crc = ntohs(rpc->call_crc); |
crc = ntohs(rpc->call_crc); |
| rpc->call_crc ^= rpc->call_crc; |
rpc->call_crc ^= rpc->call_crc; |
| if (crc != crcFletcher16((u_short*) rpc, len / 2)) | if (crc != crcFletcher16((u_short*) AIT_GET_BUF(&b), len / 2)) |
| goto end; |
goto end; |
| |
|
| /* check RPC packet session info */ |
/* check RPC packet session info */ |