mirror of
https://passt.top/passt
synced 2025-06-15 03:45:34 +02:00
treewide: Mark constant references as const
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
965f603238
commit
48582bf47f
29 changed files with 192 additions and 168 deletions
4
passt.h
4
passt.h
|
@ -233,7 +233,7 @@ struct ctx {
|
|||
int low_rmem;
|
||||
};
|
||||
|
||||
void proto_update_l2_buf(unsigned char *eth_d, unsigned char *eth_s,
|
||||
uint32_t *ip_da);
|
||||
void proto_update_l2_buf(const unsigned char *eth_d, const unsigned char *eth_s,
|
||||
const uint32_t *ip_da);
|
||||
|
||||
#endif /* PASST_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue