Deleted Added
full compact
64c64
< __FBSDID("$FreeBSD: head/sys/netinet6/icmp6.c 196019 2009-08-01 19:26:27Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/netinet6/icmp6.c 196039 2009-08-02 19:43:32Z rwatson $");
154a155,168
> /*
> * Kernel module interface for updating icmp6stat. The argument is an index
> * into icmp6stat treated as an array of u_quad_t. While this encodes the
> * general layout of icmp6stat into the caller, it doesn't encode its
> * location, so that future changes to add, for example, per-CPU stats
> * support won't cause binary compatibility problems for kernel modules.
> */
> void
> kmod_icmp6stat_inc(int statnum)
> {
>
> (*((u_quad_t *)&V_icmp6stat + statnum))++;
> }
>