summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/savestr.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-03-23 20:15:51 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-03-23 20:15:51 +0000
commit4170cecbef3bba8a62d7099a80d5c8270c3aece6 (patch)
tree3e8d0c0e38ef7d98eee50cb3f092e41d72885702 /usr.sbin/tcpdump/savestr.h
parent4c556a8bcd48d9a15100dce7fd7d4f3505d0f23a (diff)
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 'usr.sbin/tcpdump/savestr.h')
0 files changed, 0 insertions, 0 deletions