|
Smart Home firewall
Profile-based Smart Home firewall
|
Unit test for the header parser (OSI layers 3 and 4) More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "packet_utils.h"#include "header.h"#include <CUnit/CUnit.h>#include <CUnit/Basic.h>
Functions | |
| void | test_tcp_syn () |
| Unit test using a TCP SYN packet. | |
| void | test_https_data () |
| Unit test using an HTTPS data packet. | |
| void | test_dns_ipv6 () |
| Unit test using a DNS message over IPv6. | |
| int | main (int argc, char const *argv[]) |
Unit test for the header parser (OSI layers 3 and 4)
| int main | ( | int | argc, |
| char const * | argv[] | ||
| ) |
Driver function for the unit tests.