libnet: use shifts instead of divisions for netbuf
authorReto Achermann <reto.achermann@inf.ethz.ch>
Thu, 6 Apr 2017 11:26:09 +0000 (13:26 +0200)
committerReto Achermann <reto.achermann@inf.ethz.ch>
Thu, 6 Apr 2017 11:26:09 +0000 (13:26 +0200)
commita72e3b61e8c4581c374649e2bb0d1f2d14e6fd08
treeead4a49c41f8487780ad5184f5b95cb13b0e4317
parent208354a52a83b185d3745e293efe90627d48eb70
libnet: use shifts instead of divisions for netbuf

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>
lib/net/netbufs.c
lib/net/networking_internal.h