#include <asm/uaccess.h>
#include <linux/types.h>
#include <linux/capability.h>
#include <linux/errno.h>
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/fcntl.h>
#include <linux/stat.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/inet.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/igmp.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/mroute.h>
#include <linux/init.h>
#include <linux/if_ether.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <net/ip.h>
#include <net/protocol.h>
#include <linux/skbuff.h>
#include <net/route.h>
#include <net/sock.h>
#include <net/icmp.h>
#include <net/udp.h>
#include <net/raw.h>
#include <linux/notifier.h>
#include <linux/if_arp.h>
#include <linux/netfilter_ipv4.h>
#include <linux/compat.h>
#include <linux/export.h>
#include <net/ipip.h>
#include <net/checksum.h>
#include <net/netlink.h>
#include <net/fib_rules.h>
Go to the source code of this file.
|
int | ip_mroute_setsockopt (struct sock *sk, int optname, char __user *optval, unsigned int optlen) |
|
int | ip_mroute_getsockopt (struct sock *sk, int optname, char __user *optval, int __user *optlen) |
|
int | ipmr_ioctl (struct sock *sk, int cmd, void __user *arg) |
|
int | ip_mr_input (struct sk_buff *skb) |
|
int | ipmr_get_route (struct net *net, struct sk_buff *skb, __be32 saddr, __be32 daddr, struct rtmsg *rtm, int nowait) |
|
int __init | ip_mr_init (void) |
|
#define ipmr_for_each_table |
( |
|
mrt, |
|
|
|
net |
|
) |
| for (mrt = net->ipv4.mrt; mrt; mrt = NULL) |
#define VIF_EXISTS |
( |
|
_mrt, |
|
|
|
_idx |
|
) |
| ((_mrt)->vif_table[_idx].dev != NULL) |