summaryrefslogtreecommitdiffstats
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-07-10 10:38:29 +0200
committerMartin Mares <mj@ucw.cz>1998-07-10 10:38:29 +0200
commit786d0bb9e7c5db5104e3fd0ff7fdfbd1e19844ea (patch)
treeed0caedabb17318a5d1207097eecbf34c65e8d10 /nest/proto.c
parent28a9a189d71ef3b05daa21d60277149edb8e98ad (diff)
downloadbird-786d0bb9e7c5db5104e3fd0ff7fdfbd1e19844ea.tar
bird-786d0bb9e7c5db5104e3fd0ff7fdfbd1e19844ea.zip
Added ipa_class_mask() which guesses netmask for classful addressing.
For pure A/B/C class addresses it just returns the class netmask, for subnets it tries to guess subnet mask. Please make sure the address you pass to this function is really a valid host address (i.e., call ipa_validate() first).
Diffstat (limited to 'nest/proto.c')
0 files changed, 0 insertions, 0 deletions