res = mysql_query(&mysql,"selectip_src,ip_dst,ip_ver,ip_hlen,ip_tos,ip_len,ip_id,ip_flags,ip_off,ip_ttl,ip_proto,ip_csum from iphdr;");
if(res)
{
printf("select error : %s \n",mysql_error(&mysql));
}
else
{
res_ptr = mysql_store_result(&mysql);
if(res_ptr)
{
printf("검색row %lu rows\n",(unsigned int) mysql_num_rows(res_ptr));
while((row = mysql_fetch_row(res_ptr)) != NULL)
{