Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/net/
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()
648 if ((sc->gre_options & GRE_UDPENCAP) == 0 || sc->gre_port != 0)
757 if (sc->gre_options & GRE_UDPENCAP) {
[all …]
Dif_gre.h92 uint32_t gre_options; member
/freebsd-12-stable/sys/netinet/
Dip_gre.c135 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in_gre_checkdup()
370 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
391 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
420 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in_gre_setopts()
433 sc->gre_options = value; in in_gre_setopts()
479 dst->sin_addr.s_addr, sc->gre_options); in in_gre_ioctl()
/freebsd-12-stable/sys/netinet6/
Dip6_gre.c126 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in6_gre_checkdup()
375 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
394 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
422 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in6_gre_setopts()
435 sc->gre_options = value; in in6_gre_setopts()
490 &dst->sin6_addr, sc->gre_options); in in6_gre_ioctl()