Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dlink_gre.c137 iflags |= GRE_KEY; in gre_parse_opt()
138 oflags |= GRE_KEY; in gre_parse_opt()
155 iflags |= GRE_KEY; in gre_parse_opt()
170 oflags |= GRE_KEY; in gre_parse_opt()
243 iflags |= GRE_KEY; in gre_parse_opt()
247 oflags |= GRE_KEY; in gre_parse_opt()
334 if ((iflags & GRE_KEY) && tb[IFLA_GRE_IKEY]) { in gre_print_opt()
339 if ((oflags & GRE_KEY) && tb[IFLA_GRE_OKEY]) { in gre_print_opt()
Diptunnel.c104 p->i_flags |= GRE_KEY; in parse_args()
105 p->o_flags |= GRE_KEY; in parse_args()
118 p->i_flags |= GRE_KEY; in parse_args()
131 p->o_flags |= GRE_KEY; in parse_args()
227 if ((p->i_flags & GRE_KEY) || (p->o_flags & GRE_KEY)) { in parse_args()
241 p->i_flags |= GRE_KEY; in parse_args()
245 p->o_flags |= GRE_KEY; in parse_args()
375 if ((p->i_flags&GRE_KEY) && (p->o_flags&GRE_KEY) && p->o_key == p->i_key) in print_tunnel()
377 else if ((p->i_flags|p->o_flags)&GRE_KEY) { in print_tunnel()
378 if (p->i_flags&GRE_KEY) in print_tunnel()
[all …]
/external/iproute2/include/linux/
Dif_tunnel.h23 #define GRE_KEY __cpu_to_be16(0x2000) macro
/external/kernel-headers/original/uapi/linux/
Dif_tunnel.h23 #define GRE_KEY __cpu_to_be16(0x2000) macro
/external/toybox/toys/pending/
Dip.c2380 if ((ptnl->i_flags & GRE_KEY) && (ptnl->o_flags & GRE_KEY) in display_tunnel()
2382 else if ((ptnl->i_flags | ptnl->o_flags) & GRE_KEY) { in display_tunnel()
2384 if (ptnl->i_flags & GRE_KEY) printf(" ikey %s ", ikey_str); in display_tunnel()
2385 if (ptnl->o_flags & GRE_KEY) printf(" okey %s ", okey_str); in display_tunnel()
2497 ptnl->i_flags |= GRE_KEY; in parse_iptunnel_args()
2498 ptnl->o_flags |= GRE_KEY; in parse_iptunnel_args()
2501 ptnl->i_flags |= GRE_KEY; in parse_iptunnel_args()
2504 ptnl->o_flags |= GRE_KEY; in parse_iptunnel_args()
2592 if ((ptnl->i_flags & GRE_KEY) || (ptnl->o_flags & GRE_KEY)) in parse_iptunnel_args()
2601 ptnl->i_flags |= GRE_KEY; in parse_iptunnel_args()
[all …]