Lines Matching refs:tflags
62 __be16 tflags = 0; in gre_flags_to_tnl_flags() local
65 tflags |= TUNNEL_CSUM; in gre_flags_to_tnl_flags()
67 tflags |= TUNNEL_ROUTING; in gre_flags_to_tnl_flags()
69 tflags |= TUNNEL_KEY; in gre_flags_to_tnl_flags()
71 tflags |= TUNNEL_SEQ; in gre_flags_to_tnl_flags()
73 tflags |= TUNNEL_STRICT; in gre_flags_to_tnl_flags()
75 tflags |= TUNNEL_REC; in gre_flags_to_tnl_flags()
77 tflags |= TUNNEL_VERSION; in gre_flags_to_tnl_flags()
79 return tflags; in gre_flags_to_tnl_flags()
82 static inline __be16 tnl_flags_to_gre_flags(__be16 tflags) in tnl_flags_to_gre_flags() argument
86 if (tflags & TUNNEL_CSUM) in tnl_flags_to_gre_flags()
88 if (tflags & TUNNEL_ROUTING) in tnl_flags_to_gre_flags()
90 if (tflags & TUNNEL_KEY) in tnl_flags_to_gre_flags()
92 if (tflags & TUNNEL_SEQ) in tnl_flags_to_gre_flags()
94 if (tflags & TUNNEL_STRICT) in tnl_flags_to_gre_flags()
96 if (tflags & TUNNEL_REC) in tnl_flags_to_gre_flags()
98 if (tflags & TUNNEL_VERSION) in tnl_flags_to_gre_flags()