Searched refs:grehdr (Results 1 – 7 of 7) sorted by relevance
| /freebsd-11-stable/tools/tools/netmap/ |
| HD | pkt_hash.c | 368 decode_gre_hash(const uint8_t *grehdr, uint8_t hash_split, uint8_t seed) in decode_gre_hash() argument 371 int len = 4 + 2 * (!!(*grehdr & 1) + /* Checksum */ in decode_gre_hash() 372 !!(*grehdr & 2) + /* Routing */ in decode_gre_hash() 373 !!(*grehdr & 4) + /* Key */ in decode_gre_hash() 374 !!(*grehdr & 8)); /* Sequence Number */ in decode_gre_hash() 375 uint16_t proto = ntohs(*(uint16_t *)(void *)(grehdr + 2)); in decode_gre_hash() 379 rc = decode_ip_n_hash((struct ip *)(grehdr + len), in decode_gre_hash() 383 rc = decode_ipv6_n_hash((struct ip6_hdr *)(grehdr + len), in decode_gre_hash() 387 rc = pkt_hdr_hash(grehdr + len, hash_split, seed); in decode_gre_hash()
|
| /freebsd-11-stable/sys/net/ |
| HD | if_gre.h | 39 struct grehdr { struct 52 struct grehdr gi_gre; argument 59 struct grehdr gi6_gre;
|
| HD | if_gre.c | 504 struct grehdr *gh = NULL; in gre_updatehdr() 678 struct grehdr *gh; in gre_input() 693 hlen = *offp + sizeof(struct grehdr) + 4 * sizeof(uint32_t); in gre_input() 701 gh = (struct grehdr *)mtodo(m, *offp); in gre_input() 849 gre_setseqn(struct grehdr *gh, uint32_t seq) 870 struct grehdr *gh; 922 gh = (struct grehdr *)mtodo(m, olen);
|
| /freebsd-11-stable/sys/netinet/libalias/ |
| HD | alias_pptp.c | 235 struct grehdr { /* Enhanced GRE header. */ struct 244 typedef struct grehdr GreHdr; argument
|
| /freebsd-11-stable/contrib/traceroute/ |
| HD | traceroute.c | 282 struct grehdr { struct 474 sizeof(struct grehdr), 1665 struct grehdr *const gre = (struct grehdr *) outp; in gre_prep() 1676 struct grehdr *const gre = (struct grehdr *) data; in gre_check()
|
| /freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
| HD | ip_fil.h | 1173 typedef struct grehdr { struct
|
| /freebsd-11-stable/sys/netpfil/ipfw/ |
| HD | ip_fw2.c | 1624 PULLUP_TO(hlen, ulp, struct grehdr); in ipfw_chk()
|