Module entry point.
Reads command line parameters and pings.
- Parameters:
-
[in] | argc | The number of command line parameters. |
[in] | argv | The command line parameters. |
- Returns:
- EOK on success.
References AF_INET, AF_INET6, count, EAFNOSUPPORT, ERROR_CODE, ERROR_DECLARE, ERROR_OCCURRED, ERROR_PROPAGATE, icmp_connect_module(), ICMP_CONNECT_TIMEOUT, ICMP_ECHO, icmp_echo_msg(), INET6_ADDRSTRLEN, inet_ntop(), inet_pton(), NAME, parse_address_family(), parse_parameter_int(), parse_parameter_name_int(), ping_print_help(), print_error(), print_unrecognized(), in6_addr::s6_addr, in_addr::s_addr, sockaddr::sa_family, sockaddr_in6::sin6_addr, sockaddr_in6::sin6_family, sockaddr_in::sin_addr, and sockaddr_in::sin_family.