Lines Matching refs:tflags
141 __be16 tflags = 0; in gre_flags_to_tnl_flags() local
144 tflags |= TUNNEL_CSUM; in gre_flags_to_tnl_flags()
146 tflags |= TUNNEL_ROUTING; in gre_flags_to_tnl_flags()
148 tflags |= TUNNEL_KEY; in gre_flags_to_tnl_flags()
150 tflags |= TUNNEL_SEQ; in gre_flags_to_tnl_flags()
152 tflags |= TUNNEL_STRICT; in gre_flags_to_tnl_flags()
154 tflags |= TUNNEL_REC; in gre_flags_to_tnl_flags()
156 tflags |= TUNNEL_VERSION; in gre_flags_to_tnl_flags()
158 return tflags; in gre_flags_to_tnl_flags()
161 static __be16 tnl_flags_to_gre_flags(__be16 tflags) in tnl_flags_to_gre_flags() argument
165 if (tflags & TUNNEL_CSUM) in tnl_flags_to_gre_flags()
167 if (tflags & TUNNEL_ROUTING) in tnl_flags_to_gre_flags()
169 if (tflags & TUNNEL_KEY) in tnl_flags_to_gre_flags()
171 if (tflags & TUNNEL_SEQ) in tnl_flags_to_gre_flags()
173 if (tflags & TUNNEL_STRICT) in tnl_flags_to_gre_flags()
175 if (tflags & TUNNEL_REC) in tnl_flags_to_gre_flags()
177 if (tflags & TUNNEL_VERSION) in tnl_flags_to_gre_flags()