summaryrefslogtreecommitdiffstats
path: root/zebra/ioctl.c
diff options
context:
space:
mode:
authorpaul <paul>2004-10-05 14:39:43 +0000
committerpaul <paul>2004-10-05 14:39:43 +0000
commit0f9f524c20e72b3d9631307c0a1ce68a71738e1d (patch)
tree8aaac29ee77a3ccac688169ebad4be41a4f13acb /zebra/ioctl.c
parent69583cb2afffa1ca2067ab5b3cb7175df086ac72 (diff)
downloadquagga-0f9f524c20e72b3d9631307c0a1ce68a71738e1d.tar.bz2
quagga-0f9f524c20e72b3d9631307c0a1ce68a71738e1d.tar.xz
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 'zebra/ioctl.c')
0 files changed, 0 insertions, 0 deletions