fib_frontend.c (0742fd53a3774781255bd1e471e7aa2e4a82d5f7) fib_frontend.c (4fdb3bb723db469717c6d38fda667d8b0fa86ebd)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * IPv4 Forwarding Information Base: FIB frontend.
7 *
8 * Version: $Id: fib_frontend.c,v 1.26 2001/10/31 21:55:54 davem Exp $

--- 553 unchanged lines hidden (view full) ---

562 NETLINK_CB(skb).pid = 0; /* from kernel */
563 NETLINK_CB(skb).dst_pid = pid;
564 NETLINK_CB(skb).dst_groups = 0; /* unicast */
565 netlink_unicast(sk, skb, pid, MSG_DONTWAIT);
566}
567
568static void nl_fib_lookup_init(void)
569{
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * IPv4 Forwarding Information Base: FIB frontend.
7 *
8 * Version: $Id: fib_frontend.c,v 1.26 2001/10/31 21:55:54 davem Exp $

--- 553 unchanged lines hidden (view full) ---

562 NETLINK_CB(skb).pid = 0; /* from kernel */
563 NETLINK_CB(skb).dst_pid = pid;
564 NETLINK_CB(skb).dst_groups = 0; /* unicast */
565 netlink_unicast(sk, skb, pid, MSG_DONTWAIT);
566}
567
568static void nl_fib_lookup_init(void)
569{
570 netlink_kernel_create(NETLINK_FIB_LOOKUP, nl_fib_input);
570 netlink_kernel_create(NETLINK_FIB_LOOKUP, nl_fib_input, THIS_MODULE);
571}
572
573static void fib_disable_ip(struct net_device *dev, int force)
574{
575 if (fib_sync_down(0, dev, force))
576 fib_flush();
577 rt_cache_flush(0);
578 arp_ifdown(dev);

--- 87 unchanged lines hidden ---
571}
572
573static void fib_disable_ip(struct net_device *dev, int force)
574{
575 if (fib_sync_down(0, dev, force))
576 fib_flush();
577 rt_cache_flush(0);
578 arp_ifdown(dev);

--- 87 unchanged lines hidden ---