Lines Matching refs:encap
1235 if (t->encap.type != TUNNEL_ENCAP_NONE)
1797 memset(&t->encap, 0, sizeof(t->encap));
1803 t->encap.type = ipencap->type;
1804 t->encap.sport = ipencap->sport;
1805 t->encap.dport = ipencap->dport;
1806 t->encap.flags = ipencap->flags;
2129 if (nla_put_u16(skb, IFLA_IPTUN_ENCAP_TYPE, tunnel->encap.type) ||
2130 nla_put_be16(skb, IFLA_IPTUN_ENCAP_SPORT, tunnel->encap.sport) ||
2131 nla_put_be16(skb, IFLA_IPTUN_ENCAP_DPORT, tunnel->encap.dport) ||
2132 nla_put_u16(skb, IFLA_IPTUN_ENCAP_FLAGS, tunnel->encap.flags))