Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/netinet6/
HDip6_gre.c125 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in6_gre_checkdup()
128 if (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()
/freebsd-14-stable/sys/netinet/
HDip_gre.c134 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in_gre_checkdup()
137 if (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()
/freebsd-14-stable/sbin/ifconfig/
HDifgre.c119 DEF_CMD("udpencap", GRE_UDPENCAP, setifgreopts),
120 DEF_CMD("-udpencap",-GRE_UDPENCAP, setifgreopts),
/freebsd-14-stable/sys/net/
HDif_gre.h181 #define GRE_UDPENCAP 0x0004 macro
182 #define GRE_OPTMASK (GRE_ENABLE_CSUM|GRE_ENABLE_SEQ|GRE_UDPENCAP)
HDif_gre.c324 if ((sc->gre_options & GRE_UDPENCAP) == 0) { in gre_ioctl()
466 MPASS(sc->gre_options & GRE_UDPENCAP); in gre_update_udphdr()
648 if ((sc->gre_options & GRE_UDPENCAP) == 0 || sc->gre_port != 0)
757 if (sc->gre_options & GRE_UDPENCAP) {