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