/freebsd/share/man/man4/ |
H A D | gre.4 | 1 .\" $NetBSD: gre.4,v 1.28 2002/06/10 02:49:35 itojun Exp $ 34 .Nm gre 41 .Cd "device gre" 70 Encapsulated datagrams are prepended an outer datagram and a GRE header. 71 The GRE header specifies 84 Set the GRE key used for outgoing packets. 89 Enables use of sequence number field in the GRE header for outgoing packets. 91 Enables UDP-in-GRE encapsulation (see the 92 .Sx GRE-IN-UDP ENCAPSULATION 98 .Sx GRE-IN-UDP ENCAPSULATION [all …]
|
H A D | gif.4 | 53 does not perform GRE encapsulation; use 54 .Xr gre 4 55 for GRE encapsulation. 171 .Xr gre 4 ,
|
H A D | ng_pptpgre.4 | 41 .Nd PPTP GRE protocol netgraph node type 48 node type performs Generic Routing Encapsulation (GRE) over IP 67 .Dq Li "inet/raw/gre" 195 The node should not expect incoming GRE packets to have an IP header.
|
H A D | me.4 | 74 .Xr gre 4 ,
|
/freebsd/contrib/netbsd-tests/ipf/input/ |
H A D | ni13 | 74 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M… 81 # 23:18:36.389970 192.168.113.3 > 192.168.113.1: gre [KAv1] ID:4000 A:4294967295 [|gre] 91 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A… 98 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(… 103 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(… 110 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M… 117 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(… 124 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), … 138 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),… 145 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(… [all …]
|
H A D | ni14 | 76 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M… 83 # 23:18:36.389970 192.168.113.3 > 192.168.113.1: gre [KAv1] ID:4000 A:4294967295 [|gre] 94 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A… 101 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(… 107 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(… 114 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M… 121 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(… 128 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), … 142 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),… 149 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(… [all …]
|
H A D | ni15 | 76 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M… 83 # 23:18:36.389970 192.168.113.3 > 192.168.113.1: gre [KAv1] ID:4000 A:4294967295 [|gre] 94 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A… 101 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(… 107 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(… 114 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M… 121 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(… 128 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), … 142 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),… 149 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(… [all …]
|
H A D | ni16 | 76 # 23:18:36.349759 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:0 ppp: LCP 25: Conf-Req(0), M… 83 # 23:18:36.389970 192.168.113.3 > 192.168.113.1: gre [KAv1] ID:4000 A:4294967295 [|gre] 94 # 23:18:36.555363 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:0 ppp: LCP 24: Conf-Req(1), A… 101 # 23:18:36.556030 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:1 A:0 ppp: LCP 11: Conf-Rej(… 107 # 23:18:36.557166 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:1 A:1 ppp: LCP 24: Conf-Ack(… 114 # 23:18:36.557764 192.168.113.1 > 192.168.113.3: gre [KSv1] ID:0000 S:2 ppp: LCP 22: Conf-Req(1), M… 121 # 23:18:36.564658 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:2 A:2 ppp: LCP 22: Conf-Ack(… 128 # 23:18:36.564803 192.168.113.3 > 192.168.113.1: gre [KSv1] ID:4000 S:3 ppp: IPCP 18: Conf-Req(1), … 142 # 23:18:36.573307 192.168.113.1 > 192.168.113.3: gre [KSAv1] ID:0000 S:3 A:3 ppp: LCP 20: Ident(2),… 149 # 23:18:36.573856 192.168.113.3 > 192.168.113.1: gre [KSAv1] ID:4000 S:4 A:3 ppp: LCP 26: Code-Rej(… [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_pptpgre.c | 43 * PPTP/GRE netgraph node type. 45 * This node type does the GRE encapsulation as specified for the PPTP 52 * to a "ksocket" node on hook "inet/raw/gre". 82 /* GRE packet format, as used by PPTP */ 113 /* The PPTP protocol ID used in the GRE 'proto' field */ 116 /* Bits that must be set a certain way in all PPTP/GRE packets */ 594 struct greheader *const gre = (struct greheader *)buf; in ng_pptpgre_xmit() local 626 /* Build GRE header */ in ng_pptpgre_xmit() 627 be32enc(gre, PPTP_INIT_VALUE); in ng_pptpgre_xmit() 628 be16enc(&gre->length, (m != NULL) ? m->m_pkthdr.len : 0); in ng_pptpgre_xmit() [all …]
|
H A D | ng_pptpgre.h | 85 u_int32_t xmitPackets; /* number of GRE packets xmit */ 86 u_int32_t xmitOctets; /* number of GRE octets xmit */ 90 u_int32_t recvPackets; /* number of GRE packets rec'd */ 91 u_int32_t recvOctets; /* number of GRE octets rec'd */ 93 u_int32_t recvBadGRE; /* bogus packets rec'd (bad GRE hdr) */ 94 u_int32_t recvBadAcks; /* bogus ack's rec'd in GRE header */ 101 u_int32_t recvReorderOverflow; /* times we dropped GRE packet
|
/freebsd/contrib/tcpdump/ |
H A D | print-gre.c | 1 /* $OpenBSD: print-gre.c,v 1.6 2002/10/30 03:04:04 fgsch Exp $ */ 29 /* \summary: Generic Routing Encapsulation (GRE) printer */ 32 * netdissect printer for GRE - Generic Routing Encapsulation 33 * RFC1701 (GRE), RFC1702 (GRE IPv4), and RFC2637 (Enhanced GRE) 81 ndo->ndo_protocol = "gre"; in gre_print() 224 ND_PRINT("gre-proto-0x%x", prot); in gre_print_0() 307 ND_PRINT("gre-proto-0x%x", prot); in gre_print_1()
|
/freebsd/sys/net/ |
H A D | if_gre.h | 39 /* GRE header according to RFC 2784 and RFC 2890 */ 41 uint16_t gre_flags; /* GRE flags */ 155 * CISCO uses special type for GRE tunnel created as part of WCCP 157 * into GRE. 176 /* GRE-in-UDP encapsulation destination port as defined in RFC8086 */
|
H A D | if_gre.c | 11 * IPv6-over-GRE contributed by Gert Doering <gert@greenie.muc.de> 98 static const char grename[] = "gre"; 120 static SYSCTL_NODE(_net_link, IFT_TUNNEL, gre, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 124 * This macro controls the default upper limitation on nesting of gre tunnels. 127 * If you need to configure nested gre tunnels, you can define this macro 568 * For WCCP skip an additional 4 bytes if after GRE header 723 /* Determine GRE proto */ 740 /* Determine offset of GRE header */
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_common.c | 647 /* IPv4 --> GRE/NAT */ 650 /* IPv4 --> GRE/NAT --> IPv4 */ 659 /* IPv4 --> GRE/NAT --> IPv6 */ 668 /* IPv4 --> GRE/NAT --> MAC */ 671 /* IPv4 --> GRE/NAT --> MAC --> IPv4 */ 680 /* IPv4 --> GRE/NAT -> MAC --> IPv6 */ 689 /* IPv4 --> GRE/NAT --> MAC/VLAN */ 692 /* IPv4 ---> GRE/NAT -> MAC/VLAN --> IPv4 */ 701 /* IPv4 -> GRE/NAT -> MAC/VLAN --> IPv6 */ 737 /* IPv6 --> GRE/NAT */ [all …]
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_pptp_pxy.c | 128 printf("ipf_p_pptp_new: GRE session already exists\n"); in ipf_p_pptp_new() 153 * describe GRE but TCP instead. in ipf_p_pptp_new() 194 grehdr_t gre; in ipf_p_pptp_donatstate() local 205 bzero((char *)&gre, sizeof(gre)); in ipf_p_pptp_donatstate() 220 fi.fin_dp = &gre; in ipf_p_pptp_donatstate() 221 gre.gr_flags = htons(1 << 13); in ipf_p_pptp_donatstate()
|
/freebsd/sys/dev/ice/ |
H A D | ice_flow.h | 73 * tunneling or encapsulation protocols for network virtualization such as GRE, 130 /* GRE */ 196 /* take inner as inputset for GTPoGRE with outer IPv4 + GRE. */ 198 /* take inner as inputset for GTPoGRE with outer IPv6 + GRE. */
|
H A D | ice_lan_tx_rx.h | 1247 /* IPv4 --> GRE/NAT */ 1250 /* IPv4 --> GRE/NAT --> IPv4 */ 1259 /* IPv4 --> GRE/NAT --> IPv6 */ 1268 /* IPv4 --> GRE/NAT --> MAC */ 1271 /* IPv4 --> GRE/NAT --> MAC --> IPv4 */ 1280 /* IPv4 --> GRE/NAT -> MAC --> IPv6 */ 1289 /* IPv4 --> GRE/NAT --> MAC/VLAN */ 1292 /* IPv4 ---> GRE/NAT -> MAC/VLAN --> IPv4 */ 1301 /* IPv4 -> GRE/NAT -> MAC/VLAN --> IPv6 */ 1337 /* IPv6 --> GRE/NA [all...] |
/freebsd/sys/netinet/libalias/ |
H A D | alias_pptp.c | 226 struct grehdr { /* Enhanced GRE header. */ 237 /* The PPTP protocol ID used in the GRE 'proto' field. */ 240 /* Bits that must be set a certain way in all PPTP/GRE packets. */ 473 /* Check GRE header bits. */ in AliasHandlePptpGreOut() 497 /* Check GRE header bits. */ in AliasHandlePptpGreIn()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_init_fw_funcs.h | 336 * @brief ecore_set_gre_enable - Enable or disable GRE tunnel in HW 340 * @param eth_gre_enable - eth GRE enable enable flag. 341 * @param ip_gre_enable - IP GRE enable enable flag. 361 * @brief ecore_set_geneve_enable - Enable or disable GRE tunnel in HW
|
H A D | ecore_hsi_common.h | 1449 struct regpair gre_discard_pkts /* Dropped GRE RX packets */; 1478 struct regpair sent_gre_bytes /* Sent GRE bytes */; 1481 struct regpair sent_gre_pkts /* Sent GRE packets */; 1484 struct regpair gre_drop_pkts /* Dropped GRE TX packets */; 1523 struct regpair rcv_gre_bytes /* Received GRE bytes */; 1526 struct regpair rcv_gre_pkts /* Received GRE packets */; 1767 u8 tunnel_clss_l2gre /* Rx classification scheme for l2 GRE tunnel. (use enum tunnel_clss) */; 1768 u8 tunnel_clss_ipgre /* Rx classification scheme for ip GRE tunnel. (use enum tunnel_clss) */; 1826 u8 tunnel_clss_l2gre /* Classification scheme for l2 GRE tunnel. (use enum tunnel_clss) */; 1827 u8 tunnel_clss_ipgre /* Classification scheme for ip GRE tunnel. (use enum tunnel_clss) */; [all …]
|
H A D | eth_common.h | 145 #define ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_MASK 0x1 /* Recalculate Tunnel UDP/GRE Checksum (Depen… 216 …SING_FLAGS_TYPE_MASK 0x3 /* 0 - no tunneling, 1 - GENEVE, 2 - GRE, 3 - VXLAN (use enu… 404 ETH_RX_TUNN_GRE /* GRE Tunnel. */, 515 ETH_TX_TUNN_GRE /* GRE Tunnel. */,
|
/freebsd/lib/libc/net/ |
H A D | protocols | 53 gre 47 GRE # Generic Routing Encapsulation
|
/freebsd/usr.bin/ee/nls/hu_HU.ISO8859-2/ |
H A D | ee.msg | 112 103 "%s nem hajthat� v�gre\n" 122 113 "korl�tozott m�d: a k�rt m�velet nem hajthat� v�gre"
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 264 /* What a GRE packet header looks like */ 275 /* For GRE, we prepare what looks like a PPTP packet */ 444 "gre", 1616 struct grehdr *const gre = (struct grehdr *) outp; in gre_prep() local 1618 gre->flags = htons(0x2001); in gre_prep() 1619 gre->proto = htons(port); in gre_prep() 1620 gre->length = 0; in gre_prep() 1621 gre->callId = htons(ident + outdata->seq); in gre_prep() 1627 struct grehdr *const gre = (struct grehdr *) data; in gre_check() local 1629 return (ntohs(gre->proto) == port in gre_check() [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | Makefile | 33 SRCS+= ifgre.c # GRE keys etc
|