Searched refs:encapflags (Results 1 - 2 of 2) sorted by relevance

/external/iproute2/ip/
H A Dlink_gre.c74 __u16 encapflags = 0; local
147 encapflags = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_FLAGS]);
287 encapflags |= TUNNEL_ENCAP_FLAG_CSUM;
289 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM;
291 encapflags |= TUNNEL_ENCAP_FLAG_CSUM6;
293 encapflags |= ~TUNNEL_ENCAP_FLAG_CSUM6;
295 encapflags |= TUNNEL_ENCAP_FLAG_REMCSUM;
297 encapflags |= ~TUNNEL_ENCAP_FLAG_REMCSUM;
331 addattr16(n, 1024, IFLA_GRE_ENCAP_FLAGS, encapflags);
H A Dlink_iptnl.c79 __u16 encapflags = 0; local
147 encapflags = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_FLAGS]);
252 encapflags |= TUNNEL_ENCAP_FLAG_CSUM;
254 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM;
256 encapflags |= TUNNEL_ENCAP_FLAG_CSUM6;
258 encapflags &= ~TUNNEL_ENCAP_FLAG_CSUM6;
260 encapflags |= TUNNEL_ENCAP_FLAG_REMCSUM;
262 encapflags &= ~TUNNEL_ENCAP_FLAG_REMCSUM;
302 addattr16(n, 1024, IFLA_IPTUN_ENCAP_FLAGS, encapflags);

Completed in 30 milliseconds