summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-10-08 17:22:45 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-12-13 19:27:14 +0400
commitfa0796661c9cd68f20882ceb16e9d304a12a6acd (patch)
tree67a1b7b3254f8276ab654505d06bb74fd76faa61 /ripd/rip_interface.h
parent0ead5c183c36b36c8545ef8b04b778f5238a5db9 (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 'ripd/rip_interface.h')
0 files changed, 0 insertions, 0 deletions