Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "ipf.h" int ftov(version) int version; { #ifdef USE_INET6 if (version == AF_INET6) return 6; #endif if (version == AF_INET) return 4; if (version == AF_UNSPEC) return 0; return -1; }