ipv4,ipv6 mroute: Add some helper inline functions to remove ugly ifdefs.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 3 Jul 2008 07:51:22 +0000 (16:51 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 3 Jul 2008 08:51:57 +0000 (17:51 +0900)
commite0835f8fa56d2d308486f8a34cf1c4480cd27f4e
tree8b9e2f60795dbc6e0e0138c8e7c362efecb568e8
parent03d2f897e9fb3218989baa2139a951ce7f5414bf
ipv4,ipv6 mroute: Add some helper inline functions to remove ugly ifdefs.

ip{,v6}_mroute_{set,get}sockopt() should not matter by optimization but
it would be better not to depend on optimization semantically.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/linux/mroute.h
include/linux/mroute6.h
net/ipv6/af_inet6.c