[ipv4] Add self-tests for IPv4 routing

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-06-10 13:37:31 +01:00
parent 1ae75a3bde
commit 96f5864660
3 changed files with 156 additions and 2 deletions

View File

@@ -92,6 +92,8 @@ extern struct list_head ipv4_miniroutes;
extern struct net_protocol ipv4_protocol __net_protocol;
extern struct ipv4_miniroute * ipv4_route ( unsigned int scope_id,
struct in_addr *dest );
extern int ipv4_has_any_addr ( struct net_device *netdev );
extern int parse_ipv4_setting ( const struct setting_type *type,
const char *value, void *buf, size_t len );