git: 8c23afdb574e - main - pf: Standardize rtableid
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 May 2023 16:02:04 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=8c23afdb574ecd78e775fc889867f272559b4c32
commit 8c23afdb574ecd78e775fc889867f272559b4c32
Author: Kajetan Staszkiewicz <vegeta@tuxpowered.net>
AuthorDate: 2023-05-17 13:57:42 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-05-17 13:57:42 +0000
pf: Standardize rtableid
Prepare for rtableid being included in struct pfsync_state where it will
be int32_t. Make variables which will be set to and from it the same
width.
Reviewed by: kp
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D40013
---
sys/net/pfvar.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index b9b7640788d1..e3e467500b94 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -631,7 +631,7 @@ struct pf_kpool {
};
struct pf_rule_actions {
- int rtableid;
+ int32_t rtableid;
uint16_t qid;
uint16_t pqid;
uint16_t max_mss;
@@ -779,7 +779,7 @@ struct pf_krule {
pf_osfp_t os_fingerprint;
- int rtableid;
+ int32_t rtableid;
u_int32_t timeout[PFTM_MAX];
u_int32_t max_states;
u_int32_t max_src_nodes;
@@ -1053,7 +1053,7 @@ struct pf_kstate {
u_int16_t dnrpipe;
u_int16_t tag;
u_int8_t log;
- int rtableid;
+ int32_t rtableid;
u_int8_t min_ttl;
u_int8_t set_tos;
u_int16_t max_mss;