69,373
社区成员
发帖
与我相关
我的任务
分享
typedef struct _key
{
unsigned short port_src;/* source port */
unsigned short port_dst;/* dest port */
unsigned int ip_src; /* source IP */
unsigned int ip_dst; /* dest IP */
} key;
typedef struct _value
{
struct timeval arrived_time;
} value;
g_hash_UDP = g_hash_table_new_full(g_direct_hash,IPEqualFunc,free_key,free_value);