diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2012-01-30 15:41:39 +0400 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-03-12 11:05:14 +0100 |
commit | 75c8eabbb5d3dc8aa21b61e8700ab939ce272f5c (patch) | |
tree | 9ecfa0b4bedf00abb544fea8b9242e59af31a5b6 /lib/privs.c | |
parent | 7e0e2cb14ca16ce9eaca3b0300c1ffa92a6a104b (diff) |
ospfd: introduce ospf_packet_minlen[] (BZ#705)
This commit ports some of the OSPFv3 packet reception checks
to OSPFv2.
* ospf_packet.c
* ospf_packet_minlen[]: a direct equivalent of ospf6_packet_minlen[]
* ospf_packet_examin(): new function designed after the first part
of ospf6_packet_examin()
* ospf_read(): verify received packet with ospf_packet_examin()
* ospf_packet.h: add convenience macros
Diffstat (limited to 'lib/privs.c')
0 files changed, 0 insertions, 0 deletions