add encap_type for ipv4 ipip/gre/lsrr encapsulation