Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diptunnel.c101 p->i_flags |= GRE_KEY; in parse_args()
102 p->o_flags |= GRE_KEY; in parse_args()
106 p->i_flags |= GRE_KEY; in parse_args()
110 p->o_flags |= GRE_KEY; in parse_args()
214 if ((p->i_flags & GRE_KEY) || (p->o_flags & GRE_KEY)) { in parse_args()
232 p->i_flags |= GRE_KEY; in parse_args()
236 p->o_flags |= GRE_KEY; in parse_args()
368 if ((p->i_flags & GRE_KEY) && (p->o_flags & GRE_KEY) && p->o_key == p->i_key) in print_tunnel()
370 else if ((p->i_flags | p->o_flags) & GRE_KEY) { in print_tunnel()
371 if (p->i_flags & GRE_KEY) in print_tunnel()
[all …]
Dip6tunnel.c113 if ((p->i_flags & GRE_KEY) && (p->o_flags & GRE_KEY) && p->o_key == p->i_key) in print_tunnel()
115 else if ((p->i_flags | p->o_flags) & GRE_KEY) { in print_tunnel()
116 if (p->i_flags & GRE_KEY) in print_tunnel()
118 if (p->o_flags & GRE_KEY) in print_tunnel()
237 p->i_flags |= GRE_KEY; in parse_args()
238 p->o_flags |= GRE_KEY; in parse_args()
242 p->i_flags |= GRE_KEY; in parse_args()
246 p->o_flags |= GRE_KEY; in parse_args()
Dlink_gre.c162 iflags |= GRE_KEY; in gre_parse_opt()
163 oflags |= GRE_KEY; in gre_parse_opt()
180 iflags |= GRE_KEY; in gre_parse_opt()
195 oflags |= GRE_KEY; in gre_parse_opt()
307 iflags |= GRE_KEY; in gre_parse_opt()
311 oflags |= GRE_KEY; in gre_parse_opt()
405 if ((iflags & GRE_KEY) && tb[IFLA_GRE_IKEY]) { in gre_print_opt()
410 if ((oflags & GRE_KEY) && tb[IFLA_GRE_OKEY]) { in gre_print_opt()
Dlink_gre6.c158 iflags |= GRE_KEY; in gre_parse_opt()
159 oflags |= GRE_KEY; in gre_parse_opt()
176 iflags |= GRE_KEY; in gre_parse_opt()
191 oflags |= GRE_KEY; in gre_parse_opt()
374 if ((iflags & GRE_KEY) && tb[IFLA_GRE_IKEY]) { in gre_print_opt()
379 if ((oflags & GRE_KEY) && tb[IFLA_GRE_OKEY]) { in gre_print_opt()
/external/kernel-headers/original/uapi/linux/
Dif_tunnel.h26 #define GRE_KEY __cpu_to_be16(0x2000) macro
36 #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/iproute2/include/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 …]
/external/iproute2/examples/bpf/
Dbpf_prog.c347 if (gre_flags & GRE_KEY) in flow_dissector()