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

/freebsd-12-stable/sys/net/
H A Dif_gre.h41 struct grehdr { struct
54 struct grehdr gi_gre;
60 struct grehdr gi_gre;
67 struct grehdr gi6_gre;
73 struct grehdr gi6_gre;
140 void gre_update_hdr(struct gre_softc *, struct grehdr *);
H A Dif_gre.c476 gre_update_hdr(struct gre_softc *sc, struct grehdr *gh)
508 struct grehdr *gh;
518 hlen = off + sizeof(struct grehdr) + 4 * sizeof(uint32_t);
526 gh = (struct grehdr *)mtodo(m, off);
627 gre_setseqn(struct grehdr *gh, uint32_t seq)
695 struct grehdr *gh;
779 gh = (struct grehdr *)mtodo(m, len);
/freebsd-12-stable/tools/tools/netmap/
H A Dpkt_hash.c369 decode_gre_hash(const uint8_t *grehdr, uint8_t hash_split, uint8_t seed) argument
372 int len = 4 + 2 * (!!(*grehdr & 1) + /* Checksum */
373 !!(*grehdr & 2) + /* Routing */
374 !!(*grehdr & 4) + /* Key */
375 !!(*grehdr & 8)); /* Sequence Number */
376 uint16_t proto = ntohs(*(const uint16_t *)(const void *)(grehdr + 2));
380 rc = decode_ip_n_hash((const struct ip *)(grehdr + len),
384 rc = decode_ipv6_n_hash((const struct ip6_hdr *)(grehdr + len),
388 rc = pkt_hdr_hash(grehdr + len, hash_split, seed);
/freebsd-12-stable/sys/netinet/libalias/
H A Dalias_pptp.c228 struct grehdr { /* Enhanced GRE header. */ struct
237 typedef struct grehdr GreHdr;
/freebsd-12-stable/contrib/traceroute/
H A Dtraceroute.c283 struct grehdr { struct
475 sizeof(struct grehdr),
1668 struct grehdr *const gre = (struct grehdr *) outp;
1679 struct grehdr *const gre = (struct grehdr *) data;
/freebsd-12-stable/sys/netinet/
H A Dip_gre.c367 struct grehdr *gh;
/freebsd-12-stable/sys/netinet6/
H A Dip6_gre.c372 struct grehdr *gh;
/freebsd-12-stable/sys/contrib/ipfilter/netinet/
H A Dip_fil.h1173 typedef struct grehdr { struct
/freebsd-12-stable/sys/netpfil/ipfw/
H A Dip_fw2.c99 #include <net/if_gre.h> /* for struct grehdr */
1639 PULLUP_TO(hlen, ulp, struct grehdr);

Completed in 147 milliseconds