diff options
author | paul <paul> | 2004-10-05 14:39:43 +0000 |
---|---|---|
committer | paul <paul> | 2004-10-05 14:39:43 +0000 |
commit | 7216466aecd59e675a4f66d6e329e748f32ad690 (patch) | |
tree | f1fdec0381383aef8b8491008c4337f89c5bc077 /isisd/topology/spgrid.h | |
parent | 18b12c387e2bcd8a0e81a8d2635c1ef52c8a9a7d (diff) |
2004-10-05 Paul Jakma <paul@dishone.st>
* irdp_packet.c: (parse_irdp_packet) style issues.
Use sockopt_iphdrincl_swab_systoh.
Try unbork the code. Checksum the ICMP data and actually
compare it to received checksum. Check data length against
claimed length in header.
Always use ntoh.. when accessing addresses, even when the
comparison happens to be endian-safe.
(send_packet) minor style isues. Use
sockopt_iphdrincl_swab_htosys.
(irdp_iph_hton/ntoh) IP header to/from network/host order.
Diffstat (limited to 'isisd/topology/spgrid.h')
0 files changed, 0 insertions, 0 deletions