#ifndef _FRAG_COMMON_H #define _FRAG_COMMON_H #ifndef uchar typedef unsigned char uchar; #endif #ifndef int64 typedef long long int64; #endif #ifndef uint8 typedef unsigned char uint8; #endif #ifndef uint64 typedef unsigned long long uint64; #endif #ifndef uint16 typedef unsigned short uint16; #endif #ifndef ulong64 typedef unsigned long ulong64; #endif #ifndef uint32 typedef unsigned int uint32; #endif #ifdef __cplusplus extern "C" { #endif unsigned int get_ip_by_ifname(const char *ifname); #ifdef __cplusplus } #endif #endif