IP.next

You're seeing just the function next, go back to IP module for more information.

Specs

next(v4()) :: v4()
next(v6()) :: v6()

returns the next ip address.

iex> IP.next({10, 0, 0, 255})
{10, 0, 1, 0}
iex> IP.next({0, 0, 0, 0, 0, 0, 0, 0xFFFF})
{0, 0, 0, 0, 0, 0, 1, 0}