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:
parent
bb70811183
commit
965f603238
15 changed files with 75 additions and 0 deletions
5
passt.h
5
passt.h
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue