neighbour.c (cd354f1ae75e6466a7e31b727faede57a1f89ca5) | neighbour.c (0b4d414714f0d2f922d39424b0c5c82ad900a381) |
---|---|
1/* 2 * Generic address resolution entity 3 * 4 * Authors: 5 * Pedro Roque <roque@di.fc.ul.pt> 6 * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> 7 * 8 * This program is free software; you can redistribute it and/or --- 2693 unchanged lines hidden (view full) --- 2702 t->neigh_proto_dir[0].procname = p_name; 2703 t->neigh_proto_dir[0].ctl_name = p_id; 2704 2705 t->neigh_dev[0].child = t->neigh_vars; 2706 t->neigh_neigh_dir[0].child = t->neigh_dev; 2707 t->neigh_proto_dir[0].child = t->neigh_neigh_dir; 2708 t->neigh_root_dir[0].child = t->neigh_proto_dir; 2709 | 1/* 2 * Generic address resolution entity 3 * 4 * Authors: 5 * Pedro Roque <roque@di.fc.ul.pt> 6 * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> 7 * 8 * This program is free software; you can redistribute it and/or --- 2693 unchanged lines hidden (view full) --- 2702 t->neigh_proto_dir[0].procname = p_name; 2703 t->neigh_proto_dir[0].ctl_name = p_id; 2704 2705 t->neigh_dev[0].child = t->neigh_vars; 2706 t->neigh_neigh_dir[0].child = t->neigh_dev; 2707 t->neigh_proto_dir[0].child = t->neigh_neigh_dir; 2708 t->neigh_root_dir[0].child = t->neigh_proto_dir; 2709 |
2710 t->sysctl_header = register_sysctl_table(t->neigh_root_dir, 0); | 2710 t->sysctl_header = register_sysctl_table(t->neigh_root_dir); |
2711 if (!t->sysctl_header) { 2712 err = -ENOBUFS; 2713 goto free_procname; 2714 } 2715 p->sysctl_table = t; 2716 return 0; 2717 2718 /* error path */ --- 51 unchanged lines hidden --- | 2711 if (!t->sysctl_header) { 2712 err = -ENOBUFS; 2713 goto free_procname; 2714 } 2715 p->sysctl_table = t; 2716 return 0; 2717 2718 /* error path */ --- 51 unchanged lines hidden --- |