src/utils/utl_ip.h
inline int ip_to_str(uint32_t ip,char * str) {
    uint32_t ipv4 = PKT_HTONL(ip);
    inet_ntop(AF_INET, (const char *)&ipv4, str, INET_ADDRSTRLEN);
    return(strlen(str));
}
// Routine to create IPv4 address string
Routine to create IPv4 address string
Routine to create IPv4 address string
inline int ip_to_str(uint32_t ip,char * str) {
    uint32_t ipv4 = PKT_HTONL(ip);
    inet_ntop(AF_INET, (const char *)&ipv4, str, INET_ADDRSTRLEN);
    return(strlen(str));
}
inline int ip_to_str ( uint32_t ip , char * str ) { uint32_t ipv4 = PKT_HTONL ( ip ) ; inet_ntop ( AF_INET , ( const char * ) & ipv4 , str , INET_ADDRSTRLEN ) ; return ( strlen ( str ) ) ; }
Routine to create IPv4 address string
Routine to create IPv4 address string