Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dif_gre.c314 if (sc->gre_options == opt) in gre_ioctl()
324 if ((sc->gre_options & GRE_UDPENCAP) == 0) { in gre_ioctl()
352 sc->gre_options = opt; in gre_ioctl()
367 error = copyout(&sc->gre_options, ifr_data_get_ptr(ifr), in gre_ioctl()
368 sizeof(sc->gre_options)); in gre_ioctl()
466 MPASS(sc->gre_options & GRE_UDPENCAP); in gre_update_udphdr()
484 if (sc->gre_options & GRE_ENABLE_CSUM) { in gre_update_hdr()
494 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
[all...]
H A Dif_gre.h91 uint32_t gre_options; member
/freebsd/sys/netinet6/
H A Dip6_gre.c125 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in6_gre_checkdup()
358 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
377 if (sc->gre_options & GRE_UDPENCAP) { in in6_gre_attach()
405 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in6_gre_setopts()
418 sc->gre_options = value; in in6_gre_setopts()
473 &dst->sin6_addr, sc->gre_options); in in6_gre_ioctl()
/freebsd/sys/netinet/
H A Dip_gre.c134 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in_gre_checkdup()
355 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
376 if (sc->gre_options & GRE_UDPENCAP) { in in_gre_attach()
407 (sc->gre_options & GRE_UDPENCAP) != (value & GRE_UDPENCAP) && in in_gre_setopts()
420 sc->gre_options = value; in in_gre_setopts()
466 dst->sin_addr.s_addr, sc->gre_options); in in_gre_ioctl()