net/route.h: Expose the ROUNDUP and ADVANCE macros.
authorNuno Antunes <nuno.antunes@gmail.com>
Fri, 18 Jul 2014 10:16:10 +0000 (11:16 +0100)
committerNuno Antunes <nuno.antunes@gmail.com>
Sun, 20 Jul 2014 00:54:48 +0000 (01:54 +0100)
commit8c14bf6fb46c3079369a8561585f0eba4692e6d6
treebc198d8c96a219a8aafc61230db777f26dff599c
parent384d4156a51fac86ce230da21597bd942b992895
net/route.h: Expose the ROUNDUP and ADVANCE macros.

* These macros are replicated in multiple places on the tree.  Give
  them an RT_ prefix and centralize them in net/route.h in an effort
  to reduce code duplication.

* Kernel and userland changes to use these macros will come in a
  subsequent commit.

Taken-from: NetBSD
Reviewed-by: dillon
sys/net/route.h