Home
last modified time | relevance | path

Searched refs:ip6_tnl (Results 1 – 1 of 1) sorted by relevance

/external/libnl/lib/route/link/
Dip6tnl.c73 struct ip6_tnl_info *ip6_tnl; in ip6_tnl_alloc() local
75 ip6_tnl = calloc(1, sizeof(*ip6_tnl)); in ip6_tnl_alloc()
76 if (!ip6_tnl) in ip6_tnl_alloc()
79 link->l_info = ip6_tnl; in ip6_tnl_alloc()
88 struct ip6_tnl_info *ip6_tnl; in ip6_tnl_parse() local
101 ip6_tnl = link->l_info; in ip6_tnl_parse()
104 ip6_tnl->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ip6_tnl_parse()
105 ip6_tnl->ip6_tnl_mask |= IP6_TNL_ATTR_LINK; in ip6_tnl_parse()
109 nla_memcpy(&ip6_tnl->local, tb[IFLA_IPTUN_LOCAL], sizeof(struct in6_addr)); in ip6_tnl_parse()
110 ip6_tnl->ip6_tnl_mask |= IP6_TNL_ATTR_LOCAL; in ip6_tnl_parse()
[all …]