|
@@ -65,8 +65,9 @@ ndp_find_entry ( struct in6_addr *in6 ) {
|
65
|
65
|
* @v ll_addr Link-layer address
|
66
|
66
|
* @v state State of the entry - one of the NDP_STATE_XXX values
|
67
|
67
|
*/
|
68
|
|
-void add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6,
|
69
|
|
- void *ll_addr, int state ) {
|
|
68
|
+static void
|
|
69
|
+add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6,
|
|
70
|
+ void *ll_addr, int state ) {
|
70
|
71
|
struct ndp_entry *ndp;
|
71
|
72
|
ndp = &ndp_table[next_new_ndp_entry++ % NUM_NDP_ENTRIES];
|
72
|
73
|
|