diff options
author | glebius <glebius@FreeBSD.org> | 2014-09-18 14:47:13 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-09-18 14:47:13 +0000 |
commit | c2d27a81fe2d1f4a607c723cc463421f29501395 (patch) | |
tree | 5eaeef7effd7d3df58ab179ebba0dc6bee74cc4e /sys/net/if_vlan.c | |
parent | 90ce9e54cb4036ddeb2258136bbb22bec2906af9 (diff) | |
download | FreeBSD-src-c2d27a81fe2d1f4a607c723cc463421f29501395.zip FreeBSD-src-c2d27a81fe2d1f4a607c723cc463421f29501395.tar.gz |
While not too late rename 'ifnet_counter' to 'ift_counter'. One of the
imporant moments that we discussed with Marcel and Anuranjan was that
a converted driver should return false for 'grep ifnet if_driver.c' :)
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r-- | sys/net/if_vlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 3e45c66..1761c4a 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -201,7 +201,7 @@ static void vlan_init(void *foo); static void vlan_input(struct ifnet *ifp, struct mbuf *m); static int vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr); static void vlan_qflush(struct ifnet *ifp); -static uint64_t vlan_get_counter(struct ifnet *ifp, ifnet_counter cnt); +static uint64_t vlan_get_counter(struct ifnet *ifp, ift_counter cnt); static int vlan_setflag(struct ifnet *ifp, int flag, int status, int (*func)(struct ifnet *, int)); static int vlan_setflags(struct ifnet *ifp, int status); @@ -1132,7 +1132,7 @@ vlan_transmit(struct ifnet *ifp, struct mbuf *m) } static uint64_t -vlan_get_counter(struct ifnet *ifp, ifnet_counter cnt) +vlan_get_counter(struct ifnet *ifp, ift_counter cnt) { struct ifvlan *ifv; |