GRE_KEY
hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ;
__assign_bit(IP_TUNNEL_KEY_BIT, res, flags & GRE_KEY);
flags |= GRE_KEY;
#define GRE_IS_KEY(f) ((f) & GRE_KEY)
if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY)))
if (hdr->flags & GRE_KEY) {
if (greh->flags & GRE_KEY) {
if ((greh->flags & ~(GRE_KEY|GRE_CSUM)) != 0)
if (greh->flags & GRE_KEY)
if (greh->flags & GRE_KEY) {
if (greh->flags & GRE_KEY)
flags != (GRE_SEQ | GRE_KEY))
if (!(ip_tunnel_flags_to_be16(p->i_flags) & GRE_KEY))
if (!(ip_tunnel_flags_to_be16(p->o_flags) & GRE_KEY))
ip_tunnel_flags_from_be16(flags, GRE_KEY);
if (!(p.i_flags&GRE_KEY))
if (!(p.o_flags&GRE_KEY))
flags != (GRE_SEQ | GRE_KEY))
u->i_flags |= GRE_KEY;
u->o_flags |= GRE_KEY;
if (gre->flags & GRE_KEY)
if (gre_flags & GRE_KEY)
if (gre_flags & GRE_KEY)