Searched refs:grehdr (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/net/ |
H A D | if_gre.h | 40 struct grehdr { struct 53 struct grehdr gi_gre; argument 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 D | if_gre.c | 475 gre_update_hdr(struct gre_softc *sc, struct grehdr *gh) in gre_update_hdr() 507 struct grehdr *gh; in gre_input() 517 hlen = off + sizeof(struct grehdr) + 4 * sizeof(uint32_t); in gre_input() 525 gh = (struct grehdr *)mtodo(m, off); in gre_input() 627 gre_setseqn(struct grehdr *gh, uint32_t seq) 686 struct grehdr *gh; 770 gh = (struct grehdr *)mtodo(m, len);
|
/freebsd/tools/tools/netmap/ |
H A D | pkt_hash.c | 370 decode_gre_hash(const uint8_t *grehdr, uint8_t hash_split, uint8_t seed) in decode_gre_hash() argument 373 int len = 4 + 2 * (!!(*grehdr & 1) + /* Checksum */ in decode_gre_hash() 374 !!(*grehdr & 2) + /* Routing */ in decode_gre_hash() 375 !!(*grehdr & 4) + /* Key */ in decode_gre_hash() 376 !!(*grehdr & 8)); /* Sequence Number */ in decode_gre_hash() 377 uint16_t proto = ntohs(*(const uint16_t *)(const void *)(grehdr + 2)); in decode_gre_hash() 381 rc = decode_ip_n_hash((const struct ip *)(grehdr + len), in decode_gre_hash() 385 rc = decode_ipv6_n_hash((const struct ip6_hdr *)(grehdr + len), in decode_gre_hash() 389 rc = pkt_hdr_hash(grehdr + len, hash_split, seed); in decode_gre_hash()
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_pptp.c | 226 struct grehdr { /* Enhanced GRE header. */ struct 235 typedef struct grehdr GreHdr; argument
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 265 struct grehdr { struct 447 sizeof(struct grehdr), 1616 struct grehdr *const gre = (struct grehdr *) outp; in gre_prep() 1627 struct grehdr *const gre = (struct grehdr *) data; in gre_check()
|
/freebsd/sys/netinet6/ |
H A D | ip6_gre.c | 355 struct grehdr *gh; in in6_gre_attach()
|
/freebsd/sys/netinet/ |
H A D | ip_gre.c | 352 struct grehdr *gh; in in_gre_attach()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_fil.h | 1174 typedef struct grehdr { struct 1181 gr_callgrehdr global() argument
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 1741 PULLUP_TO(hlen, ulp, struct grehdr); in ipfw_chk()
|