mirror of https://github.com/ipxe/ipxe.git
make add_ndp_entry static
parent
ed06bd8a89
commit
fa11865de0
|
@ -65,7 +65,8 @@ ndp_find_entry ( struct in6_addr *in6 ) {
|
||||||
* @v ll_addr Link-layer address
|
* @v ll_addr Link-layer address
|
||||||
* @v state State of the entry - one of the NDP_STATE_XXX values
|
* @v state State of the entry - one of the NDP_STATE_XXX values
|
||||||
*/
|
*/
|
||||||
void add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6,
|
static void
|
||||||
|
add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6,
|
||||||
void *ll_addr, int state ) {
|
void *ll_addr, int state ) {
|
||||||
struct ndp_entry *ndp;
|
struct ndp_entry *ndp;
|
||||||
ndp = &ndp_table[next_new_ndp_entry++ % NUM_NDP_ENTRIES];
|
ndp = &ndp_table[next_new_ndp_entry++ % NUM_NDP_ENTRIES];
|
||||||
|
|
Loading…
Reference in New Issue