Home
last modified time | relevance | path

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

/src/sys/netinet6/
H A Dip6_gre.c124 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in6_gre_checkdup()
127 if (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()
/src/sys/netinet/
H A Dip_gre.c133 (sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP)) in in_gre_checkdup()
136 if (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()
/src/sbin/ifconfig/
H A Difgre.c123 DEF_CMD("udpencap", GRE_UDPENCAP, setifgreopts),
124 DEF_CMD("-udpencap",-GRE_UDPENCAP, setifgreopts),
/src/sys/net/
H A Dif_gre.h182 #define GRE_UDPENCAP 0x0004 macro
183 #define GRE_OPTMASK (GRE_ENABLE_CSUM|GRE_ENABLE_SEQ|GRE_UDPENCAP)
H A Dif_gre.c342 sc->gre_options & GRE_UDPENCAP ? IFLA_TUNNEL_GRE_UDP : IFLA_TUNNEL_NONE); in gre_clone_dump_nl()
458 if ((sc->gre_options & GRE_UDPENCAP) == 0) { in gre_set_udp_sport()
695 MPASS(sc->gre_options & GRE_UDPENCAP); in gre_update_udphdr()
877 if ((sc->gre_options & GRE_UDPENCAP) == 0 || sc->gre_port != 0)
986 if (sc->gre_options & GRE_UDPENCAP) {
1129 opt |= GRE_UDPENCAP;
1131 opt &= ~GRE_UDPENCAP;
/src/tests/sys/netlink/
H A Dtest_rtnl_gre.c148 ATF_CHECK_INTEQ(attrs.ifla_flags, (GRE_ENABLE_SEQ | GRE_ENABLE_CSUM | GRE_UDPENCAP)); in ATF_TC_BODY()