Whitespace cleanup

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Use explicit types (uint32_t vs. unsigned int, struct in_addr / ether_addr instead of unsigned char arrays)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
mndp: convert address byte array to struct ether_addr

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
protocol: fix wrong sizeof is memcpy

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
mactelnet: define _GNU_SOURCE for strndup()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
mactelnet: fix possible uninitialized variable access

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
mactelnetd: convert src ip byte array to struct in_addr

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>