aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2014-09-18 14:47:13 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2014-09-18 14:47:13 +0000
commit1b7fb1d93f31d61df2cbc2529854769e02bc5363 (patch)
tree5eaeef7effd7d3df58ab179ebba0dc6bee74cc4e /sys/net/if_vlan.c
parentb369bd548c5a5e6f2180382bb32ba43e9d5965c6 (diff)
downloadsrc-1b7fb1d93f31d61df2cbc2529854769e02bc5363.tar.gz
src-1b7fb1d93f31d61df2cbc2529854769e02bc5363.zip
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.
Notes
Notes: svn path=/head/; revision=271774
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r--sys/net/if_vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 3e45c665b169..1761c4af3c4a 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;