Lines Matching refs:o_flags
126 static int ip_gre_calc_hlen(__be16 o_flags) in ip_gre_calc_hlen() argument
130 if (o_flags & TUNNEL_CSUM) in ip_gre_calc_hlen()
132 if (o_flags & TUNNEL_KEY) in ip_gre_calc_hlen()
134 if (o_flags & TUNNEL_SEQ) in ip_gre_calc_hlen()
488 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit()
492 build_header(skb, tunnel->tun_hlen, tunnel->parms.o_flags, in __gre_xmit()
632 skb = gre_handle_offloads(skb, !!(tunnel->parms.o_flags&TUNNEL_CSUM)); in ipgre_xmit()
656 skb = gre_handle_offloads(skb, !!(tunnel->parms.o_flags&TUNNEL_CSUM)); in gre_tap_xmit()
684 ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING))) in ipgre_tunnel_ioctl()
688 p.o_flags = gre_flags_to_tnl_flags(p.o_flags); in ipgre_tunnel_ioctl()
695 p.o_flags = tnl_flags_to_gre_flags(p.o_flags); in ipgre_tunnel_ioctl()
739 greh->flags = tnl_flags_to_gre_flags(t->parms.o_flags); in ipgre_header()
840 tunnel->tun_hlen = ip_gre_calc_hlen(tunnel->parms.o_flags); in __gre_tunnel_init()
853 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in __gre_tunnel_init()
977 parms->o_flags = gre_flags_to_tnl_flags(nla_get_be16(data[IFLA_GRE_OFLAGS])); in ipgre_netlink_parms()
1148 nla_put_be16(skb, IFLA_GRE_OFLAGS, tnl_flags_to_gre_flags(p->o_flags)) || in ipgre_fill_info()