summaryrefslogtreecommitdiffstats
path: root/include/net/raw.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-04-13 07:03:17 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-13 23:49:31 +0200
commit0f87b1dd01b51dc3c789f7a212656a4a87eee1bd (patch)
tree2ce87a26afecd5c0400a6e743534a402a6ca8aec /include/net/raw.h
parentnet: fib_rules: set family in fib_rule_hdr centrally (diff)
downloadlinux-0f87b1dd01b51dc3c789f7a212656a4a87eee1bd.tar.xz
linux-0f87b1dd01b51dc3c789f7a212656a4a87eee1bd.zip
net: fib_rules: decouple address families from real address families
Decouple the address family values used for fib_rules from the real address families in socket.h. This allows to use fib_rules for code that is not a real address family without increasing AF_MAX/NPROTO. Values up to 127 are reserved for real address families and map directly to the corresponding AF value, values starting from 128 are for other uses. rtnetlink is changed to invoke the AF_UNSPEC dumpit/doit handlers for these families. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/raw.h')
0 files changed, 0 insertions, 0 deletions