Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
fuzzing.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Sören Tempel <tempel@uni-bremen.de>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
21
#ifndef FUZZING_H
22
#define FUZZING_H
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
#include "
net/ipv6/addr.h
"
29
#include "
net/gnrc/pkt.h
"
30
39
int
fuzzing_init
(
ipv6_addr_t
*addr,
unsigned
pfx_len);
40
50
int
fuzzing_read_packet
(
int
fd,
gnrc_pktsnip_t
*pkt);
51
52
#ifdef __cplusplus
53
}
54
#endif
55
57
#endif
/* FUZZING_H */
ipv6_addr_t
Data type to represent an IPv6 address.
Definition:
addr.h:74
addr.h
Definitions for IPv6 addresses.
fuzzing_read_packet
int fuzzing_read_packet(int fd, gnrc_pktsnip_t *pkt)
Read a network packet from the given file descriptor.
fuzzing_init
int fuzzing_init(ipv6_addr_t *addr, unsigned pfx_len)
Initialize dummy network interface with given address.
pkt.h
General definitions for network packets and their helper functions.
gnrc_pktsnip
Type to represent parts (either headers or payload) of a packet, called snips.
Definition:
pkt.h:108
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17