summaryrefslogtreecommitdiffstats
path: root/sys/net/if_llatbl.h
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2015-11-07 11:12:00 +0000
committermelifaro <melifaro@FreeBSD.org>2015-11-07 11:12:00 +0000
commit595bcb4ce105d94c91a9045beea8a59ae9a64f39 (patch)
tree814c7d157de580df906def7cdb0e62992bf93266 /sys/net/if_llatbl.h
parentc2f5f67bd969f6441e91fc8cb611561eaef8426c (diff)
downloadFreeBSD-src-595bcb4ce105d94c91a9045beea8a59ae9a64f39.zip
FreeBSD-src-595bcb4ce105d94c91a9045beea8a59ae9a64f39.tar.gz
Unify setting lladdr for AF_INET[6].
Diffstat (limited to 'sys/net/if_llatbl.h')
-rw-r--r--sys/net/if_llatbl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h
index 1415ad4..2009a7a 100644
--- a/sys/net/if_llatbl.h
+++ b/sys/net/if_llatbl.h
@@ -207,6 +207,8 @@ struct llentry *llentry_alloc(struct ifnet *, struct lltable *,
/* helper functions */
size_t lltable_drop_entry_queue(struct llentry *);
+void lltable_set_entry_addr(struct ifnet *ifp, struct llentry *lle,
+ const char *lladdr);
struct llentry *lltable_alloc_entry(struct lltable *llt, u_int flags,
const struct sockaddr *l4addr);
OpenPOWER on IntegriCloud