Smart Home firewall
Profile-based Smart Home firewall
Functions
ssdp.c File Reference

Unit tests for the SSDP parser. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "packet_utils.h"
#include "header.h"
#include "ssdp.h"
#include <CUnit/CUnit.h>
#include <CUnit/Basic.h>
Include dependency graph for ssdp.c:

Functions

void test_ssdp_msearch ()
 Unit test for an SSDP M-SEARCH message.
 
void test_ssdp_notify ()
 Unit test for an SSDP NOTIFY message.
 
void test_ssdp_response ()
 Unit test for an SSDP response.
 
int main (int argc, char const *argv[])
 

Detailed Description

Unit tests for the SSDP parser.

Date
2022-11-24

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

Main function for the unit tests.