net: Consolidate UDP header functions
authorDuncan Hare <DH@Synoia.com>
Sun, 24 Jun 2018 22:40:41 +0000 (15:40 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:29:02 +0000 (12:29 -0500)
commit5d457ecbef5eba8eaeed513c65c55453de4f3975
tree2046aacfd0d999c3dd5d82fea12826751c1e4714
parentac3f26cc15ad7e3e9efc2b0b0e18c6e84d93af77
net: Consolidate UDP header functions

Make it possible to add TCP versions of the same, while reusing
IP portions. This patch should not change any behavior.

Signed-off-by: Duncan Hare <DH@Synoia.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/net.h
net/net.c
net/ping.c