diff options
author | 2005-03-23 20:15:50 +0000 | |
---|---|---|
committer | 2005-03-23 20:15:50 +0000 | |
commit | 15ab6e8ce2b110aca4673c211b3d942ad1c7f5f5 (patch) | |
tree | 5152764de27e9be3f6f7d9c5d6850d3484e93b68 /lib | |
parent | public domain yacc date parser with a first round of knf (diff) | |
download | wireguard-openbsd-15ab6e8ce2b110aca4673c211b3d942ad1c7f5f5.tar.xz wireguard-openbsd-15ab6e8ce2b110aca4673c211b3d942ad1c7f5f5.zip |
prefixlen2mask() should return a network byte order result as it does imply
by using an in_addr_t as return type. It simplyfies also the usage as in most
cases the mask is used with a struct in_addr address which is also network
byte order. Add prototypes of prefixlen2mask() and mask2prefixlen() to
ospfd.h as it is used or will be used at different places.
OK norby@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions