Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diptunnel.c99 p->i_flags |= GRE_KEY; in parse_args()
100 p->o_flags |= GRE_KEY; in parse_args()
104 p->i_flags |= GRE_KEY; in parse_args()
108 p->o_flags |= GRE_KEY; in parse_args()
212 if ((p->i_flags & GRE_KEY) || (p->o_flags & GRE_KEY)) { in parse_args()
230 p->i_flags |= GRE_KEY; in parse_args()
234 p->o_flags |= GRE_KEY; in parse_args()
363 if ((p->i_flags & GRE_KEY) && (p->o_flags & GRE_KEY) && p->o_key == p->i_key) in print_tunnel()
365 else if ((p->i_flags | p->o_flags) & GRE_KEY) { in print_tunnel()
366 if (p->i_flags & GRE_KEY) in print_tunnel()
[all …]
Dip6tunnel.c114 if ((p->i_flags & GRE_KEY) && (p->o_flags & GRE_KEY) && in print_tunnel()
118 if (p->i_flags & GRE_KEY) in print_tunnel()
120 if (p->o_flags & GRE_KEY) in print_tunnel()
244 p->i_flags |= GRE_KEY; in parse_args()
245 p->o_flags |= GRE_KEY; in parse_args()
249 p->i_flags |= GRE_KEY; in parse_args()
253 p->o_flags |= GRE_KEY; in parse_args()
Dlink_gre.c187 iflags |= GRE_KEY; in gre_parse_opt()
188 oflags |= GRE_KEY; in gre_parse_opt()
205 iflags |= GRE_KEY; in gre_parse_opt()
220 oflags |= GRE_KEY; in gre_parse_opt()
349 iflags |= GRE_KEY; in gre_parse_opt()
353 oflags |= GRE_KEY; in gre_parse_opt()
467 if ((iflags & GRE_KEY) && tb[IFLA_GRE_IKEY]) { in gre_print_direct_opt()
472 if ((oflags & GRE_KEY) && tb[IFLA_GRE_OKEY]) { in gre_print_direct_opt()
Dlink_gre6.c190 iflags |= GRE_KEY; in gre_parse_opt()
191 oflags |= GRE_KEY; in gre_parse_opt()
208 iflags |= GRE_KEY; in gre_parse_opt()
223 oflags |= GRE_KEY; in gre_parse_opt()
523 if ((iflags & GRE_KEY) && tb[IFLA_GRE_IKEY]) { in gre_print_opt()
528 if ((oflags & GRE_KEY) && tb[IFLA_GRE_OKEY]) { in gre_print_opt()
/external/iproute2/include/uapi/linux/
Dif_tunnel.h27 #define GRE_KEY __cpu_to_be16(0x2000) macro
37 #define GRE_IS_KEY(f) ((f) & GRE_KEY)
/external/kernel-headers/original/uapi/linux/
Dif_tunnel.h27 #define GRE_KEY __cpu_to_be16(0x2000) macro
37 #define GRE_IS_KEY(f) ((f) & GRE_KEY)
/external/libnl/include/linux-private/linux/
Dif_tunnel.h23 #define GRE_KEY __cpu_to_be16(0x2000) macro
/external/toybox/toys/pending/
Dip.c2376 if ((ptnl->i_flags & GRE_KEY) && (ptnl->o_flags & GRE_KEY) in display_tunnel()
2378 else if ((ptnl->i_flags | ptnl->o_flags) & GRE_KEY) { in display_tunnel()
2380 if (ptnl->i_flags & GRE_KEY) printf(" ikey %s ", ikey_str); in display_tunnel()
2381 if (ptnl->o_flags & GRE_KEY) printf(" okey %s ", okey_str); in display_tunnel()
2493 ptnl->i_flags |= GRE_KEY; in parse_iptunnel_args()
2494 ptnl->o_flags |= GRE_KEY; in parse_iptunnel_args()
2497 ptnl->i_flags |= GRE_KEY; in parse_iptunnel_args()
2500 ptnl->o_flags |= GRE_KEY; in parse_iptunnel_args()
2588 if ((ptnl->i_flags & GRE_KEY) || (ptnl->o_flags & GRE_KEY)) in parse_iptunnel_args()
2597 ptnl->i_flags |= GRE_KEY; in parse_iptunnel_args()
[all …]