mirror of https://github.com/F-Stack/f-stack.git
Add FSTACK define in if_gre.h.
This commit is contained in:
parent
0a92bc396c
commit
2157bebab6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue