Searched refs:grehdr (Results 1 - 9 of 9) sorted by relevance

/freebsd-current/sys/net/
H A Dif_gre.h40 struct grehdr { struct
53 struct grehdr gi_gre;
59 struct grehdr gi_gre;
66 struct grehdr gi6_gre;
72 struct grehdr gi6_gre;
139 void gre_update_hdr(struct gre_softc *, struct grehdr *);
H A Dif_gre.c475 gre_update_hdr(struct gre_softc *sc, struct grehdr *gh)
507 struct grehdr *gh;
517 hlen = off + sizeof(struct grehdr) + 4 * sizeof(uint32_t);
525 gh = (struct grehdr *)mtodo(m, off);
627 gre_setseqn(struct grehdr *gh, uint32_t seq)
686 struct grehdr *gh;
770 gh = (struct grehdr *)mtodo(m, len);
/freebsd-current/tools/tools/netmap/
H A Dpkt_hash.c370 decode_gre_hash(const uint8_t *grehdr, uint8_t hash_split, uint8_t seed) argument
373 int len = 4 + 2 * (!!(*grehdr & 1) + /* Checksum */
374 !!(*grehdr & 2) + /* Routing */
375 !!(*grehdr & 4) + /* Key */
376 !!(*grehdr & 8)); /* Sequence Number */
377 uint16_t proto = ntohs(*(const uint16_t *)(const void *)(grehdr + 2));
381 rc = decode_ip_n_hash((const struct ip *)(grehdr + len),
385 rc = decode_ipv6_n_hash((const struct ip6_hdr *)(grehdr + len),
389 rc = pkt_hdr_hash(grehdr + len, hash_split, seed);
/freebsd-current/sys/netinet/libalias/
H A Dalias_pptp.c226 struct grehdr { /* Enhanced GRE header. */ struct
235 typedef struct grehdr GreHdr;
/freebsd-current/usr.sbin/traceroute/
H A Dtraceroute.c265 struct grehdr { struct
447 sizeof(struct grehdr),
1616 struct grehdr *const gre = (struct grehdr *) outp;
1627 struct grehdr *const gre = (struct grehdr *) data;
/freebsd-current/sys/netinet6/
H A Dip6_gre.c355 struct grehdr *gh;
/freebsd-current/sys/netinet/
H A Dip_gre.c352 struct grehdr *gh;
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dip_fil.h1174 typedef struct grehdr { struct
/freebsd-current/sys/netpfil/ipfw/
H A Dip_fw2.c100 #include <net/if_gre.h> /* for struct grehdr */
1701 PULLUP_TO(hlen, ulp, struct grehdr);

Completed in 163 milliseconds