mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
pfctl: match geticmpcodeby*()/print_fromto() prototypes to definitions
The definitions use sa_family_t, not u_int8_t.
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
5e3bb05147
commit
dbce131b8f
2 changed files with 5 additions and 5 deletions
|
|
@ -71,7 +71,7 @@ void print_port (u_int8_t, u_int16_t, u_int16_t, const char *, int);
|
|||
void print_ugid (u_int8_t, unsigned, unsigned, const char *, unsigned);
|
||||
void print_flags (u_int8_t);
|
||||
void print_fromto(struct pf_rule_addr *, pf_osfp_t,
|
||||
struct pf_rule_addr *, u_int8_t, u_int8_t, int, int);
|
||||
struct pf_rule_addr *, sa_family_t, u_int8_t, int, int);
|
||||
int ifa_skip_if(const char *filter, struct node_host *p);
|
||||
|
||||
struct node_host *host_if(const char *, int, int *);
|
||||
|
|
|
|||
|
|
@ -340,10 +340,10 @@ struct icmpcodeent {
|
|||
u_int8_t code;
|
||||
};
|
||||
|
||||
const struct icmptypeent *geticmptypebynumber(u_int8_t, u_int8_t);
|
||||
const struct icmptypeent *geticmptypebyname(char *, u_int8_t);
|
||||
const struct icmpcodeent *geticmpcodebynumber(u_int8_t, u_int8_t, u_int8_t);
|
||||
const struct icmpcodeent *geticmpcodebyname(u_long, char *, u_int8_t);
|
||||
const struct icmptypeent *geticmptypebynumber(u_int8_t, sa_family_t);
|
||||
const struct icmptypeent *geticmptypebyname(char *, sa_family_t);
|
||||
const struct icmpcodeent *geticmpcodebynumber(u_int8_t, u_int8_t, sa_family_t);
|
||||
const struct icmpcodeent *geticmpcodebyname(u_long, char *, sa_family_t);
|
||||
|
||||
struct pf_timeout {
|
||||
const char *name;
|
||||
|
|
|
|||
Loading…
Reference in a new issue