gre_softc
gre_set_addr_nl(struct gre_softc *sc, struct nl_pstate *npt,
gre_set_flags_nl(struct gre_softc *sc, struct nl_pstate *npt, uint32_t opt)
gre_set_key_nl(struct gre_softc *sc, struct nl_pstate *npt, uint32_t key)
gre_set_encap_nl(struct gre_softc *sc, struct nl_pstate *npt, uint32_t type)
gre_set_udp_sport_nl(struct gre_softc *sc, struct nl_pstate *npt, uint16_t port)
static void gre_delete_tunnel(struct gre_softc *);
static int gre_set_addr_nl(struct gre_softc *, struct nl_pstate *,
static int gre_set_flags(struct gre_softc *, uint32_t);
static int gre_set_key(struct gre_softc *, uint32_t);
static int gre_set_udp_sport(struct gre_softc *, uint16_t);
static int gre_setopts(struct gre_softc *, u_long, uint32_t);
static int gre_set_flags_nl(struct gre_softc *, struct nl_pstate *, uint32_t);
static int gre_set_key_nl(struct gre_softc *, struct nl_pstate *, uint32_t);
static int gre_set_encap_nl(struct gre_softc *, struct nl_pstate *, uint32_t);
static int gre_set_udp_sport_nl(struct gre_softc *, struct nl_pstate *, uint16_t);
struct gre_softc *sc = ifp->if_softc;
struct gre_softc *sc;
struct gre_softc *sc;
sc = malloc(sizeof(struct gre_softc), M_GRE, M_WAITOK | M_ZERO);
struct gre_softc *sc;
struct gre_softc *sc;
gre_set_key(struct gre_softc *sc, uint32_t key)
gre_set_flags(struct gre_softc *sc, uint32_t opt)
gre_set_udp_sport(struct gre_softc *sc, uint16_t port)
gre_setopts(struct gre_softc *sc, u_long cmd, uint32_t opt)
struct gre_softc *sc;
gre_delete_tunnel(struct gre_softc *sc)
gre_update_udphdr(struct gre_softc *sc, struct udphdr *udp, uint16_t csum)
gre_update_hdr(struct gre_softc *sc, struct grehdr *gh)
struct gre_softc *sc = arg;
gre_flowid(struct gre_softc *sc, struct mbuf *m, uint32_t af)
struct gre_softc *sc;
CK_LIST_ENTRY(gre_softc) chain;
CK_LIST_ENTRY(gre_softc) srchash;
void gre_update_hdr(struct gre_softc *, struct grehdr *);
void gre_update_udphdr(struct gre_softc *, struct udphdr *, uint16_t);
int in_gre_setopts(struct gre_softc *, u_long, uint32_t);
int in_gre_ioctl(struct gre_softc *, u_long, caddr_t);
int in6_gre_setopts(struct gre_softc *, u_long, uint32_t);
int in6_gre_ioctl(struct gre_softc *, u_long, caddr_t);
CK_LIST_HEAD(gre_list, gre_softc);
in_gre_checkdup(const struct gre_softc *sc, in_addr_t src, in_addr_t dst,
struct gre_softc *tmp;
struct gre_softc *sc;
in_gre_set_running(struct gre_softc *sc)
struct gre_softc *sc;
struct gre_softc *sc;
in_gre_setup_socket(struct gre_softc *sc)
in_gre_attach(struct gre_softc *sc)
in_gre_setopts(struct gre_softc *sc, u_long cmd, uint32_t value)
in_gre_ioctl(struct gre_softc *sc, u_long cmd, caddr_t data)
in6_gre_checkdup(const struct gre_softc *sc, const struct in6_addr *src,
struct gre_softc *tmp;
struct gre_softc *sc;
in6_gre_set_running(struct gre_softc *sc)
struct gre_softc *sc;
struct gre_softc *sc;
in6_gre_setup_socket(struct gre_softc *sc)
in6_gre_attach(struct gre_softc *sc)
in6_gre_setopts(struct gre_softc *sc, u_long cmd, uint32_t value)
in6_gre_ioctl(struct gre_softc *sc, u_long cmd, caddr_t data)