mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
e7bb2daf1f
Now dat for testing can be defined somelike this: struct in_out_data_ { char *in; u32 out; } in_out_data[] = { { .in = "192.168.1.128", .out = build_ip4(192, 168, 1, 128), }, { .in = "255.255.255.255", .out = build_ip4(255, 255, 255, 255), }, ... }; bt_check(ip4_pton_, in_out_data, "%s", "0x%08X"); |
||
---|---|---|
.. | ||
birdtest.c | ||
birdtest.h |