diff options
author | Paul Moore <paul.moore@hp.com> | 2008-10-10 10:16:32 -0400 |
---|---|---|
committer | Paul Moore <paul.moore@hp.com> | 2008-10-10 10:16:32 -0400 |
commit | 61e1068219950c672ce979719ad2be3aadb00d7d (patch) | |
tree | da987ee4b5be90f95ca8e0b20bd872ff75d82934 /net/netlabel/netlabel_mgmt.c | |
parent | b1edeb102397546438ab4624489c6ccd7b410d97 (diff) | |
download | linux-61e1068219950c672ce979719ad2be3aadb00d7d.tar.gz linux-61e1068219950c672ce979719ad2be3aadb00d7d.tar.bz2 linux-61e1068219950c672ce979719ad2be3aadb00d7d.zip |
netlabel: Add a generic way to create ordered linked lists of network addrs
Create an ordered IP address linked list mechanism similar to the core
kernel's linked list construct. The idea behind this list functionality
is to create an extensibile linked list ordered by IP address mask to
ease the matching of network addresses. The linked list is ordered with
larger address masks at the front of the list and shorter address masks
at the end to facilitate overriding network entries with individual host
or subnet entries.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Reviewed-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/netlabel/netlabel_mgmt.c')
0 files changed, 0 insertions, 0 deletions