Implement counting of table entries linked on a per-table base.
Add an optional (if set > 0) limit of the maximum number of table
entries.
For that the public lltable_link_entry() and lltable_unlink_entry()
functions as well as the internal function pointers change from void
to having an int return type.
For as long as we do not set llt_maxentries this is can be committed
on its own. The moment we make use of the table limits, the callers
of the link function must check the return value as it can change.
Adjustments for IPv6 (and possibly IPv4) will follow in a separate
review.
Sponsored by: Netflix (originally)
This is extracted from D22447 and adjusted based on review comments.