diff options
author | sam <sam@FreeBSD.org> | 2009-06-15 19:50:03 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-06-15 19:50:03 +0000 |
commit | df30f1c9f2ef0498e2aa537d4aec3aab759dc6c3 (patch) | |
tree | f9007599b13c6d01c81731e313b9035788cdb7b0 /sys/net/if_var.h | |
parent | b3631c54b6e94536e6a880446d8ca851711e70d3 (diff) | |
download | FreeBSD-src-df30f1c9f2ef0498e2aa537d4aec3aab759dc6c3.zip FreeBSD-src-df30f1c9f2ef0498e2aa537d4aec3aab759dc6c3.tar.gz |
r193336 moved ifq_detach to if_free which broke if_alloc followed
by if_free (w/o doing if_attach); move ifq_attach to if_alloc and
rename ifq_attach/detach to ifq_init/ifq_delete to better identify
their purpose
Reviewed by: jhb, kmacy
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 375dbce..8b1a849 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -817,8 +817,8 @@ int ifpromisc(struct ifnet *, int); struct ifnet *ifunit(const char *); struct ifnet *ifunit_ref(const char *); -void ifq_attach(struct ifaltq *, struct ifnet *ifp); -void ifq_detach(struct ifaltq *); +void ifq_init(struct ifaltq *, struct ifnet *ifp); +void ifq_delete(struct ifaltq *); struct ifaddr *ifa_ifwithaddr(struct sockaddr *); struct ifaddr *ifa_ifwithbroadaddr(struct sockaddr *); |