summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6d.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-10-08 17:22:45 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-10-17 18:45:26 +0400
commit484af2c2e0efe660e00e27647a19f1837a7fa437 (patch)
treea0556cdc4d7d5bb47a0ca8a88e4b68ad839fe1ca /ospf6d/ospf6d.h
parentf17b65213712f324314c58866c4f4f8ed9c95dc7 (diff)
ospf6d: make some old sizing checks assertions
As long as ospf6_packet_examin() is now the single checkpoint for received packets, most of the old checks performed elsewhere can be converted into assert() constructs. Malformed input data at respective points can be attributed solely to a programming error, not a malformed packet. * ospf6_message.c * ospf6_hello_print() * ospf6_dbdesc_print() * ospf6_lsreq_print() * ospf6_lsupdate_print() * ospf6_lsack_print() * ospf6_hello_recv() * ospf6_dbdesc_recv_master() * ospf6_dbdesc_recv_slave() * ospf6_lsreq_recv() * ospf6_lsupdate_recv() * ospf6_lsupdate_recv() * ospf6_lsack_recv() * ospf6_receive()
Diffstat (limited to 'ospf6d/ospf6d.h')
0 files changed, 0 insertions, 0 deletions