Prepare support for sending unicast DNS answers This adds extra argument to dns_send_answer & interface_send_packet functions. For now we pass NULL-s only. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Add query ubus call Signed-off-by: Steven Barth <steven@midlink.org>
add src ip validation Signed-off-by: John Crispin <blogic@openwrt.org>
add good bye messages Signed-off-by: John Crispin <blogic@openwrt.org>
propagate unicast bit Signed-off-by: John Crispin <blogic@openwrt.org>
add unicast listener sockets Signed-off-by: John Crispin <blogic@openwrt.org>
add ipv6 support Signed-off-by: John Crispin <blogic@openwrt.org>
store ip address as struct in_addr instead of a string Signed-off-by: Felix Fietkau <nbd@openwrt.org>
make interface_socket_setup static Signed-off-by: Felix Fietkau <nbd@openwrt.org>
move interface connect/read handling to interface.c Signed-off-by: Felix Fietkau <nbd@openwrt.org>
move announce state to struct interface Signed-off-by: Felix Fietkau <nbd@openwrt.org>
initial code refactoring to prepare for adding dynamic interface support Signed-off-by: Felix Fietkau <nbd@openwrt.org>