Lines Matching refs:o_flags

482 	ip_tunnel_flags_copy(flags, tunnel->parms.o_flags);  in __gre_xmit()
520 tunnel->parms.o_flags))) in gre_fb_xmit()
691 tunnel->parms.o_flags))) in ipgre_xmit()
733 __clear_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.o_flags); in erspan_xmit()
748 __clear_bit(IP_TUNNEL_KEY_BIT, tunnel->parms.o_flags); in erspan_xmit()
772 tunnel->parms.o_flags))) in gre_tap_xmit()
793 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()
805 if (test_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.o_flags) || in ipgre_link_update()
806 (test_bit(IP_TUNNEL_CSUM_BIT, tunnel->parms.o_flags) && in ipgre_link_update()
820 __be16 i_flags, o_flags; in ipgre_tunnel_ctl() local
824 !ip_tunnel_flags_is_be16_compat(p->o_flags)) in ipgre_tunnel_ctl()
828 o_flags = ip_tunnel_flags_to_be16(p->o_flags); in ipgre_tunnel_ctl()
833 ((i_flags | o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
838 gre_flags_to_tnl_flags(p->o_flags, o_flags); in ipgre_tunnel_ctl()
848 ip_tunnel_flags_copy(t->parms.o_flags, p->o_flags); in ipgre_tunnel_ctl()
856 o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ipgre_tunnel_ctl()
857 ip_tunnel_flags_from_be16(p->o_flags, o_flags); in ipgre_tunnel_ctl()
906 greh->flags = gre_tnl_flags_to_gre_flags(t->parms.o_flags); in ipgre_header()
1011 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in __gre_tunnel_init()
1023 if (test_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.o_flags)) in __gre_tunnel_init()
1025 if (test_bit(IP_TUNNEL_CSUM_BIT, tunnel->parms.o_flags) && in __gre_tunnel_init()
1204 gre_flags_to_tnl_flags(parms->o_flags, in ipgre_netlink_parms()
1472 ip_tunnel_flags_copy(t->parms.o_flags, p.o_flags); in ipgre_changelink()
1501 ip_tunnel_flags_copy(t->parms.o_flags, p.o_flags); in erspan_changelink()
1558 IP_TUNNEL_DECLARE_FLAGS(o_flags); in ipgre_fill_info()
1560 ip_tunnel_flags_copy(o_flags, p->o_flags); in ipgre_fill_info()
1566 gre_tnl_flags_to_gre_flags(o_flags)) || in ipgre_fill_info()
1608 __set_bit(IP_TUNNEL_KEY_BIT, t->parms.o_flags); in erspan_fill_info()