Lines Matching refs:iptuninfo

88 	struct rtattr *iptuninfo[IFLA_IPTUN_MAX + 1];  in ip6tunnel_parse_opt()  local
128 parse_rtattr_nested(iptuninfo, IFLA_IPTUN_MAX, in ip6tunnel_parse_opt()
131 if (iptuninfo[IFLA_IPTUN_LOCAL]) in ip6tunnel_parse_opt()
132 memcpy(&laddr, RTA_DATA(iptuninfo[IFLA_IPTUN_LOCAL]), in ip6tunnel_parse_opt()
135 if (iptuninfo[IFLA_IPTUN_REMOTE]) in ip6tunnel_parse_opt()
136 memcpy(&raddr, RTA_DATA(iptuninfo[IFLA_IPTUN_REMOTE]), in ip6tunnel_parse_opt()
139 if (iptuninfo[IFLA_IPTUN_TTL]) in ip6tunnel_parse_opt()
140 hop_limit = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TTL]); in ip6tunnel_parse_opt()
142 if (iptuninfo[IFLA_IPTUN_ENCAP_LIMIT]) in ip6tunnel_parse_opt()
143 encap_limit = rta_getattr_u8(iptuninfo[IFLA_IPTUN_ENCAP_LIMIT]); in ip6tunnel_parse_opt()
145 if (iptuninfo[IFLA_IPTUN_FLOWINFO]) in ip6tunnel_parse_opt()
146 flowinfo = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FLOWINFO]); in ip6tunnel_parse_opt()
148 if (iptuninfo[IFLA_IPTUN_FLAGS]) in ip6tunnel_parse_opt()
149 flags = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FLAGS]); in ip6tunnel_parse_opt()
151 if (iptuninfo[IFLA_IPTUN_LINK]) in ip6tunnel_parse_opt()
152 link = rta_getattr_u32(iptuninfo[IFLA_IPTUN_LINK]); in ip6tunnel_parse_opt()
154 if (iptuninfo[IFLA_IPTUN_PROTO]) in ip6tunnel_parse_opt()
155 proto = rta_getattr_u8(iptuninfo[IFLA_IPTUN_PROTO]); in ip6tunnel_parse_opt()
156 if (iptuninfo[IFLA_IPTUN_COLLECT_METADATA]) in ip6tunnel_parse_opt()
159 if (iptuninfo[IFLA_IPTUN_FWMARK]) in ip6tunnel_parse_opt()
160 fwmark = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FWMARK]); in ip6tunnel_parse_opt()