| 518 | } |
| 519 | |
| 520 | int test_all() { |
| 521 | l2_forward_init_test(); |
| 522 | l2_forward_entry_test(); |
| 523 | l2_forward_flush_test(); |
| 524 | l2_forward_collision_test(); |
| 525 | |
| 526 | return 0; |
| 527 | } |
| 528 | |
| 529 | static int parse_mac_addr(const char *str, char *addr) { |
| 530 | if (str != nullptr && addr != nullptr) { |
nothing calls this directly
no test coverage detected