Home
last modified time | relevance | path

Searched refs:encapflags (Results 1 – 4 of 4) sorted by relevance

/external/iproute2/ip/
Dlink_gre.c94 __u16 encapflags = 0; in gre_parse_opt() local
162 encapflags = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_FLAGS]); in gre_parse_opt()
312 encapflags |= TUNNEL_ENCAP_FLAG_CSUM; in gre_parse_opt()
314 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM; in gre_parse_opt()
316 encapflags |= TUNNEL_ENCAP_FLAG_CSUM6; in gre_parse_opt()
318 encapflags |= ~TUNNEL_ENCAP_FLAG_CSUM6; in gre_parse_opt()
320 encapflags |= TUNNEL_ENCAP_FLAG_REMCSUM; in gre_parse_opt()
322 encapflags |= ~TUNNEL_ENCAP_FLAG_REMCSUM; in gre_parse_opt()
380 addattr16(n, 1024, IFLA_GRE_ENCAP_FLAGS, encapflags); in gre_parse_opt()
Dlink_iptnl.c104 __u16 encapflags = 0; in iptunnel_parse_opt() local
164 encapflags = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_FLAGS]); in iptunnel_parse_opt()
294 encapflags |= TUNNEL_ENCAP_FLAG_CSUM; in iptunnel_parse_opt()
296 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM; in iptunnel_parse_opt()
298 encapflags |= TUNNEL_ENCAP_FLAG_CSUM6; in iptunnel_parse_opt()
300 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM6; in iptunnel_parse_opt()
302 encapflags |= TUNNEL_ENCAP_FLAG_REMCSUM; in iptunnel_parse_opt()
304 encapflags &= ~TUNNEL_ENCAP_FLAG_REMCSUM; in iptunnel_parse_opt()
359 addattr16(n, 1024, IFLA_IPTUN_ENCAP_FLAGS, encapflags); in iptunnel_parse_opt()
Dlink_ip6tnl.c99 __u16 encapflags = TUNNEL_ENCAP_FLAG_CSUM6; in ip6tunnel_parse_opt() local
291 encapflags |= TUNNEL_ENCAP_FLAG_CSUM; in ip6tunnel_parse_opt()
293 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM; in ip6tunnel_parse_opt()
295 encapflags |= TUNNEL_ENCAP_FLAG_CSUM6; in ip6tunnel_parse_opt()
297 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM6; in ip6tunnel_parse_opt()
299 encapflags |= TUNNEL_ENCAP_FLAG_REMCSUM; in ip6tunnel_parse_opt()
301 encapflags |= ~TUNNEL_ENCAP_FLAG_REMCSUM; in ip6tunnel_parse_opt()
324 addattr16(n, 1024, IFLA_IPTUN_ENCAP_FLAGS, encapflags); in ip6tunnel_parse_opt()
Dlink_gre6.c104 __u16 encapflags = TUNNEL_ENCAP_FLAG_CSUM6; in gre_parse_opt() local
173 encapflags = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_FLAGS]); in gre_parse_opt()
339 encapflags |= TUNNEL_ENCAP_FLAG_CSUM; in gre_parse_opt()
341 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM; in gre_parse_opt()
343 encapflags |= TUNNEL_ENCAP_FLAG_CSUM6; in gre_parse_opt()
345 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM6; in gre_parse_opt()
347 encapflags |= TUNNEL_ENCAP_FLAG_REMCSUM; in gre_parse_opt()
349 encapflags &= ~TUNNEL_ENCAP_FLAG_REMCSUM; in gre_parse_opt()
392 addattr16(n, 1024, IFLA_GRE_ENCAP_FLAGS, encapflags); in gre_parse_opt()