1
0
Fork 0
mirror of https://passt.top/passt synced 2025-07-06 20:18:43 +02:00

treewide: Add include guards

...at the moment, just for consistency with packet.h, icmp.h,
tcp.h and udp.h.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-03-26 00:05:31 +01:00
parent bb70811183
commit 965f603238
15 changed files with 75 additions and 0 deletions

View file

@ -3,6 +3,9 @@
* Author: Stefano Brivio <sbrivio@redhat.com>
*/
#ifndef PASST_H
#define PASST_H
#define UNIX_SOCK_MAX 100
#define UNIX_SOCK_PATH "/tmp/passt_%i.socket"
@ -232,3 +235,5 @@ struct ctx {
void proto_update_l2_buf(unsigned char *eth_d, unsigned char *eth_s,
uint32_t *ip_da);
#endif /* PASST_H */