diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-10-09 12:03:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 12:03:17 -0700 |
commit | 64194c31a0b6f5d84703b772113aafc400eeaad6 (patch) | |
tree | 68ade9b285112f8430ba29772f8318f0cb0553ed /include/linux/pim.h | |
parent | e1a8000228e16212c93b23cfbed4d622e2ec7a6b (diff) |
inet: Make tunnel RX/TX byte counters more consistent
This patch makes the RX/TX byte counters for IPIP, GRE and SIT more
consistent. Previously we included the external IP headers on the
way out but not when the packet is inbound.
The new scheme is to count payload only in both directions. For
IPIP and SIT this simply means the exclusion of the external IP
header. For GRE this means that we exclude the GRE header as
well.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pim.h')
0 files changed, 0 insertions, 0 deletions