标签: linux networking network-programming posix
我想在程序中使用符号IFNAMSIZ或IFF_*,例如IFF_RUNNING or such. On my system (Ubuntu) these symbols are defined in two header files in /usr/include: net / if.h and linux / if.h`
IFNAMSIZ
IFF_*
IFF_RUNNING or such. On my system (Ubuntu) these symbols are defined in two header files in /usr/include:
and
那么我应该在代码中包括哪一个使其可以在其他Linux发行版中移植?