]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Add if_inc_counter() and if_get_counter_default() functions that do
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Dec 2014 09:39:40 +0000 (09:39 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Dec 2014 09:39:40 +0000 (09:39 +0000)
commitd37298af3c3df4811a27ed4ca8162ffdafca817d
treef61fde71da0a16c799c8519afe2d77707c541b0f
parent706480ea8576aaadd48f4d571a3cec5ba5468865
Add if_inc_counter() and if_get_counter_default() functions that do
access to ifnet counters for code compatibility with FreeBSD 11.

This is direct commit to stable/10.

Discussed with: glebius@, arch@

git-svn-id: svn://svn.freebsd.org/base/stable/10@276124 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/if.c
sys/net/if_var.h