Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dlink_gre.c81 struct rtattr *greinfo[IFLA_GRE_MAX + 1]; in gre_parse_opt() local
125 parse_rtattr_nested(greinfo, IFLA_GRE_MAX, in gre_parse_opt()
128 if (greinfo[IFLA_GRE_IKEY]) in gre_parse_opt()
129 ikey = rta_getattr_u32(greinfo[IFLA_GRE_IKEY]); in gre_parse_opt()
131 if (greinfo[IFLA_GRE_OKEY]) in gre_parse_opt()
132 okey = rta_getattr_u32(greinfo[IFLA_GRE_OKEY]); in gre_parse_opt()
134 if (greinfo[IFLA_GRE_IFLAGS]) in gre_parse_opt()
135 iflags = rta_getattr_u16(greinfo[IFLA_GRE_IFLAGS]); in gre_parse_opt()
137 if (greinfo[IFLA_GRE_OFLAGS]) in gre_parse_opt()
138 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt()
[all …]
Dlink_gre6.c91 struct rtattr *greinfo[IFLA_GRE_MAX + 1]; in gre_parse_opt() local
133 parse_rtattr_nested(greinfo, IFLA_GRE_MAX, in gre_parse_opt()
136 if (greinfo[IFLA_GRE_IKEY]) in gre_parse_opt()
137 ikey = rta_getattr_u32(greinfo[IFLA_GRE_IKEY]); in gre_parse_opt()
139 if (greinfo[IFLA_GRE_OKEY]) in gre_parse_opt()
140 okey = rta_getattr_u32(greinfo[IFLA_GRE_OKEY]); in gre_parse_opt()
142 if (greinfo[IFLA_GRE_IFLAGS]) in gre_parse_opt()
143 iflags = rta_getattr_u16(greinfo[IFLA_GRE_IFLAGS]); in gre_parse_opt()
145 if (greinfo[IFLA_GRE_OFLAGS]) in gre_parse_opt()
146 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt()
[all …]