Probably not
You could use h2ph / h2pl
In reply to Re^3: IP constants from netinet/in.h in perl by Anonymous Monk in thread IP constants from netinet/in.h in perl by xchg