Home
last modified time | relevance | path

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

/f-stack/freebsd/net/
H A Dif_gre.c315 if (sc->gre_options == opt) in gre_ioctl()
325 if ((sc->gre_options & GRE_UDPENCAP) == 0) { in gre_ioctl()
353 sc->gre_options = opt; in gre_ioctl()
368 error = copyout(&sc->gre_options, ifr_data_get_ptr(ifr), in gre_ioctl()
369 sizeof(sc->gre_options)); in gre_ioctl()
467 MPASS(sc->gre_options & GRE_UDPENCAP); in gre_update_udphdr()
485 if (sc->gre_options & GRE_ENABLE_CSUM) { in gre_update_hdr()
495 if (sc->gre_options & GRE_ENABLE_SEQ) { in gre_update_hdr()
766 if (sc->gre_options & GRE_UDPENCAP) {
781 if (sc->gre_options & GRE_ENABLE_SEQ)
[all …]
H A Dif_gre.h92 uint32_t gre_options; member
/f-stack/freebsd/netinet6/
H A Dip6_gre.c126 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in6_gre_checkdup()
374 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
393 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
421 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in6_gre_setopts()
434 sc->gre_options = value; in in6_gre_setopts()
489 &dst->sin6_addr, sc->gre_options); in in6_gre_ioctl()
/f-stack/freebsd/netinet/
H A Dip_gre.c135 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in_gre_checkdup()
369 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
390 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
419 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in_gre_setopts()
432 sc->gre_options = value; in in_gre_setopts()
478 dst->sin_addr.s_addr, sc->gre_options); in in_gre_ioctl()
/f-stack/tools/compat/include/net/
H A Dif_gre.h92 uint32_t gre_options; member