965f603238
...at the moment, just for consistency with packet.h, icmp.h, tcp.h and udp.h. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
14 lines
334 B
C
14 lines
334 B
C
/* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
* Copyright (c) 2021 Red Hat GmbH
|
|
* Author: Stefano Brivio <sbrivio@redhat.com>
|
|
*/
|
|
|
|
#ifndef PCAP_H
|
|
#define PCAP_H
|
|
|
|
void pcap(char *pkt, size_t len);
|
|
void pcapm(struct msghdr *mh);
|
|
void pcapmm(struct mmsghdr *mmh, unsigned int vlen);
|
|
void pcap_init(struct ctx *c);
|
|
|
|
#endif /* PCAP_H */
|