| commit | 4359501e1a427159c9b49f3041889837aaaf2eb3 | [log] [tgz] |
|---|---|---|
| author | Paul Jakma <paul@opensourcerouting.org> | Tue May 19 18:50:49 2015 +0100 |
| committer | Paul Jakma <paul.jakma@hpe.com> | Tue Sep 13 10:36:38 2016 +0100 |
| tree | a9f2a5b71e75a61f84100446f90d9339e6152587 | |
| parent | d41e7b975b901f109608471b77c46718c1fb5b45 [diff] |
lib: consolidate ntohf/htonf from ospfd/isisd TE to lib/network
* lib/network.{c,h}: Consolidate the ntohf/htonf functions used in ospfd
TE to here, using the value-passing variant that fits with existing
ntoh/hton functions.
* ospfd/ospf_opaque.c: Remove its variants.
* ospfd/ospf_te.c: Update to use the consolidated, by-value variant.