Lines Matching refs:tflags
67 __be16 tflags = 0;
70 tflags |= TUNNEL_CSUM;
72 tflags |= TUNNEL_ROUTING;
74 tflags |= TUNNEL_KEY;
76 tflags |= TUNNEL_SEQ;
78 tflags |= TUNNEL_STRICT;
80 tflags |= TUNNEL_REC;
82 tflags |= TUNNEL_VERSION;
84 return tflags;
87 static inline __be16 gre_tnl_flags_to_gre_flags(__be16 tflags)
91 if (tflags & TUNNEL_CSUM)
93 if (tflags & TUNNEL_ROUTING)
95 if (tflags & TUNNEL_KEY)
97 if (tflags & TUNNEL_SEQ)
99 if (tflags & TUNNEL_STRICT)
101 if (tflags & TUNNEL_REC)
103 if (tflags & TUNNEL_VERSION)