#include <linux/bitops.h>#include <linux/types.h>#include <linux/kernel.h>#include <linux/sched.h>#include <linux/mm.h>#include <linux/string.h>#include <linux/errno.h>#include <linux/netdevice.h>#include <linux/skbuff.h>#include <linux/init.h>#include <net/dst.h>Go to the source code of this file.
Functions | |
| void | dst_run_gc (unsigned long) |
| int | dst_discard (struct sk_buff *skb) |
| int | dst_blackhole (struct sk_buff *skb) |
| void * | dst_alloc (struct dst_ops *ops) |
| void | __dst_free (struct dst_entry *dst) |
| void | dst_destroy (struct dst_entry *dst) |
| int | dst_dev_event (struct notifier_block *this, unsigned long event, void *ptr) |
| void __init | dst_init (void) |
Variables | |
| dst_entry * | dst_garbage_list |
| spinlock_t | dst_lock = SPIN_LOCK_UNLOCKED |
| unsigned long | dst_gc_timer_expires |
| unsigned long | dst_gc_timer_inc = DST_GC_MAX |
| timer_list | dst_gc_timer |
| notifier_block | dst_dev_notifier |
|
|
Definition at line 120 of file dst.c. References dst_entry::dev, dst_blackhole(), dst_discard(), dst_garbage_list, DST_GC_INC, DST_GC_MIN, dst_gc_timer, dst_gc_timer_expires, dst_gc_timer_inc, dst_lock, net_device::flags, dst_entry::input, dst_entry::next, dst_entry::obsolete, and dst_entry::output. Referenced by dst_free().
|
|
|
Definition at line 96 of file dst.c. References dst_blackhole(), dst_discard(), dst_ops::entries, dst_ops::entry_size, dst_ops::gc, dst_ops::gc_thresh, and dst_ops::kmem_cachep. Referenced by ip_route_input_mc(), ip_route_input_slow(), ip_route_output_slow(), and ip_rt_redirect().
|
|
|
Definition at line 90 of file dst.c. References kfree_skb(). Referenced by __dst_free(), dst_alloc(), and dst_dev_event().
|
|
|
Definition at line 143 of file dst.c. References dst_ops::destroy, dst_entry::dev, dev_put(), dst_ops::entries, dst_entry::hh, dst_ops::kmem_cachep, neigh_release(), dst_entry::neighbour, and dst_entry::ops. Referenced by dst_free(), and dst_run_gc().
|
|
||||||||||||||||
|
Definition at line 169 of file dst.c. References dev_hold, dev_put(), dst_blackhole(), dst_discard(), dst_garbage_list, dst_lock, loopback_dev, NETIF_F_DYNALLOC, and dst_entry::next.
|
|
|
Definition at line 84 of file dst.c. References kfree_skb(). Referenced by __dst_free(), dst_alloc(), and dst_dev_event().
|
|
|
Definition at line 216 of file dst.c. References dst_dev_notifier, and register_netdevice_notifier(). Referenced by net_dev_init().
|
|
|
Definition at line 44 of file dst.c. References dst_destroy(), dst_garbage_list, DST_GC_INC, DST_GC_MAX, dst_gc_timer, dst_gc_timer_expires, dst_gc_timer_inc, dst_lock, and dst_entry::next.
|
|
|
Initial value: Definition at line 210 of file dst.c. Referenced by dst_init(). |
|
|
Definition at line 30 of file dst.c. Referenced by __dst_free(), dst_dev_event(), and dst_run_gc(). |
|
|
Initial value: Definition at line 40 of file dst.c. Referenced by __dst_free(), and dst_run_gc(). |
|
|
Definition at line 36 of file dst.c. Referenced by __dst_free(), and dst_run_gc(). |
|
|
Definition at line 37 of file dst.c. Referenced by __dst_free(), and dst_run_gc(). |
|
|
Definition at line 34 of file dst.c. Referenced by __dst_free(), dst_dev_event(), and dst_run_gc(). |
1.3.8