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.
5 files changed