Deleted Added
full compact
33c33
< __FBSDID("$FreeBSD: head/sys/netinet/ip_icmp.c 196019 2009-08-01 19:26:27Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/netinet/ip_icmp.c 196039 2009-08-02 19:43:32Z rwatson $");
174a175,188
> * Kernel module interface for updating icmpstat. The argument is an index
> * into icmpstat treated as an array of u_long. While this encodes the
> * general layout of icmpstat 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_icmpstat_inc(int statnum)
> {
>
> (*((u_long *)&V_icmpstat + statnum))++;
> }
>
> /*