Home
last modified time | relevance | path

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

/src/sys/net/
H A Dif_gre.c339 nlattr_add_u32(nw, IFLA_GRE_FLAGS, sc->gre_options); in gre_clone_dump_nl()
342 sc->gre_options & GRE_UDPENCAP ? IFLA_TUNNEL_GRE_UDP : IFLA_TUNNEL_NONE); in gre_clone_dump_nl()
439 if (sc->gre_options == opt) in gre_set_flags()
458 if ((sc->gre_options & GRE_UDPENCAP) == 0) { in gre_set_udp_sport()
497 sc->gre_options = opt; in gre_setopts()
596 error = copyout(&sc->gre_options, ifr_data_get_ptr(ifr), in gre_ioctl()
597 sizeof(sc->gre_options)); in gre_ioctl()
695 MPASS(sc->gre_options & GRE_UDPENCAP); in gre_update_udphdr()
713 if (sc->gre_options & GRE_ENABLE_CSUM) { in gre_update_hdr()
723 if (sc->gre_options & GRE_ENABLE_SEQ) { in gre_update_hdr()
[all …]
H A Dif_gre.h91 uint32_t gre_options; member
/src/sys/netinet6/
H A Dip6_gre.c124 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in6_gre_checkdup()
357 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
376 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
404 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in6_gre_setopts()
417 sc->gre_options = value; in in6_gre_setopts()
472 &dst->sin6_addr, sc->gre_options); in in6_gre_ioctl()
/src/sys/netinet/
H A Dip_gre.c133 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in_gre_checkdup()
354 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
375 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
406 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in_gre_setopts()
419 sc->gre_options = value; in in_gre_setopts()
465 dst->sin_addr.s_addr, sc->gre_options); in in_gre_ioctl()