the problem source code is: https://gitee.com/lishutong-01ketang/diy-tcpip 
?? you can download use git clone, the code size is not very big


1) I use: find * -name "*.c" -o -name "*.h" > gtags.files && gtags 
-f gtags.files to generate gtags files


2) net_init can not find in GTAGS, so I use :Gtags net_init in vim can not the 
find the tag net_init
Admini@Admini-PC MINGW32 /d/code/diy-tcpip (master) $ grep net_init * -rn 
Binary file GRTAGS matches src/app/test/main.c:373:    net_init(); 
src/net/net/net.h:15:net_err_t net_init (void); src/net/src/net.c:32:net_err_t 
net_init(void) { 

but netdev_init is ok. Admini@Admini-PC MINGW32 /d/code/diy-tcpip (master) $ 
grep netdev_init * -rn Binary file GRTAGS matches Binary file GTAGS matches 
src/app/test/main.c:42:net_err_t netdev_init(void) { src/app/test/main.c:379:   
 netdev_init(); 


many other function has this problem like: net_plat_init




weidong
[email protected]



 

Reply via email to