Add FSTACK define in if_gre.h.

This commit is contained in:
fengbojiang 2023-08-29 16:21:37 +08:00
parent 0a92bc396c
commit 2157bebab6
1 changed files with 9 additions and 0 deletions

View File

@ -52,13 +52,22 @@ struct grehdr {
struct greip {
struct ip gi_ip;
struct grehdr gi_gre;
#ifndef FSTACK
} __packed;
#else
} __packed __aligned(2);
#endif
struct greudp {
struct ip gi_ip;
struct udphdr gi_udp;
struct grehdr gi_gre;
#ifndef FSTACK
} __packed;
#else
} __packed __aligned(2);
#endif
#endif /* INET */
#ifdef INET6