fix gitignore and linkstate
add int.defs.h
modify gitignore
Merge commit '4652d' into rate-hybrid