Searched refs:ip6_tnl (Results 1 – 1 of 1) sorted by relevance
74 struct ip6_tnl_info *ip6_tnl; in ip6_tnl_alloc() local77 memset(link->l_info, 0, sizeof(*ip6_tnl)); in ip6_tnl_alloc()79 ip6_tnl = calloc(1, sizeof(*ip6_tnl)); in ip6_tnl_alloc()80 if (!ip6_tnl) in ip6_tnl_alloc()83 link->l_info = ip6_tnl; in ip6_tnl_alloc()93 struct ip6_tnl_info *ip6_tnl; in ip6_tnl_parse() local106 ip6_tnl = link->l_info; in ip6_tnl_parse()109 ip6_tnl->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ip6_tnl_parse()110 ip6_tnl->ip6_tnl_mask |= IP6_TNL_ATTR_LINK; in ip6_tnl_parse()114 nla_memcpy(&ip6_tnl->local, tb[IFLA_IPTUN_LOCAL], sizeof(struct in6_addr)); in ip6_tnl_parse()[all …]