do not require the max_packets arg for loop functions

The documentation says that the max_packets is currently unused and
should be set to 1 for future use, so we don't require that arg and
set it to 1 if not specified.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
add loop_forever function call

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>