diff options
-rw-r--r-- | sys/net/if_var.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 2e3dc0d..588dead 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -646,6 +646,8 @@ struct ifindex_entry { }; struct ifnet *ifnet_byindex(u_short idx); +void ifnet_setbyindex(u_short idx, struct ifnet *ifp); + /* * Given the index, ifaddr_byindex() returns the one and only * link-level ifaddr for the interface. You are not supposed to use |