aboutgitcodebugslistschat
path: root/pcap.h
blob: 9e1736c5f31513af07747318e39a2a3c2752ba00 (plain) (tree)
1
2
3
4
5
6
7
8




                                              


              


                                                          
                              

                   
/* 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(const char *pkt, size_t len);
void pcapm(const struct msghdr *mh);
void pcapmm(const struct mmsghdr *mmh, unsigned int vlen);
void pcap_init(struct ctx *c);

#endif /* PCAP_H */