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



                                              


              
                                       

                                                                               
                                                      
                              

                   
/* SPDX-License-Identifier: GPL-2.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 pcap_multiple(const struct iovec *iov, size_t frame_parts, unsigned int n,
		   size_t offset);
void pcap_iov(const struct iovec *iov, size_t iovcnt);
void pcap_init(struct ctx *c);

#endif /* PCAP_H */