Function report |
Source Code:include\linux\netdevice.h |
Create Date:2022-07-28 06:04:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dev_lstats_add
Proto:static inline void dev_lstats_add(struct net_device *dev, unsigned int len)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct net_device * | dev | |
| unsigned int | len |
| 2420 | lstats = this_cpu_ptr(lstats) |
| 2422 | u64_stats_update_begin( & syncp) |
| 2423 | u64_stats_add( & bytes, len) |
| 2424 | u64_stats_inc( & packets) |
| 2425 | u64_stats_update_end( & syncp) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |