1 #ifndef _VX_CACCT_INT_H
2 #define _VX_CACCT_INT_H
8 unsigned long vx_sock_count(struct _vx_cacct *cacct, int type, int pos)
10 return atomic_read(&cacct->sock[type][pos].count);
15 unsigned long vx_sock_total(struct _vx_cacct *cacct, int type, int pos)
17 return atomic_read(&cacct->sock[type][pos].total);
20 #endif /* __KERNEL__ */
21 #endif /* _VX_CACCT_INT_H */