Home | History | Annotate | Download | only in net

Lines Matching defs:gh

378 	struct gre_h gh;
400 if (__predict_false(m->m_len < sizeof(gh))) {
401 if ((m = m_pullup(m, sizeof(gh))) == NULL) {
407 memcpy(&gh, mtod(m, void *), sizeof(gh));
409 if (gre_input(sc, m, &gh) == 0) {
787 gre_input(struct gre_softc *sc, struct mbuf *m, const struct gre_h *gh)
799 flags = ntohs(gh->flags);
814 switch (ntohs(gh->ptype)) { /* ethertypes */
841 ntohs(gh->ptype));
874 struct gre_h gh = { .flags = 0 };
926 M_PREPEND(m, sizeof(gh), M_DONTWAIT);
933 gh.ptype = etype;
934 memcpy(mtod(m, void *), &gh, sizeof(gh));