netsniff-ng: Fix compiler warning

Fix the following compiler warning that occurs when building with "-W
-Wall -Wextra" by introducing a cast:

netsniff-ng.c: In function ‘walk_t3_block’:
netsniff-ng.c:841:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
dissector: ip_auth_hdr: Fix compiler warning

Fix the following compiler warning that occurs when building with "-W
-Wall -Wextra":

ip_authentication_hdr.c: In function ‘auth_hdr’:
proto_ip_authentication_hdr.c:57:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Also remove an unnecessary check for header length smaller than 0, since
it always results from an unsigned type and is now a size_t anyway.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
promisc: Constify `ifname' parameters to {enter,leave}_promiscuous_mode()

The parameter `ifname' to {enter,leave}_promiscuous_mode() is never
modified inside the functions, thus mark it as const.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>