Home
last modified time | relevance | path

Searched refs:gre_hd (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ppp/
Dpptp.c203 hdr->gre_hd.flags = GRE_KEY | GRE_VERSION_1 | GRE_SEQ; in pptp_xmit()
204 hdr->gre_hd.protocol = GRE_PROTO_PPP; in pptp_xmit()
210 hdr->gre_hd.flags |= GRE_ACK; in pptp_xmit()
273 if (GRE_IS_ACK(header->gre_hd.flags)) { in pptp_rcv_core()
281 ack = GRE_IS_SEQ(header->gre_hd.flags) ? ntohl(header->ack) : in pptp_rcv_core()
292 if (!GRE_IS_SEQ(header->gre_hd.flags)) in pptp_rcv_core()
348 if (header->gre_hd.protocol != GRE_PROTO_PPP || /* PPTP-GRE protocol for PPTP */ in pptp_rcv()
349 GRE_IS_CSUM(header->gre_hd.flags) || /* flag CSUM should be clear */ in pptp_rcv()
350 GRE_IS_ROUTING(header->gre_hd.flags) || /* flag ROUTING should be clear */ in pptp_rcv()
351 !GRE_IS_KEY(header->gre_hd.flags) || /* flag KEY should be set */ in pptp_rcv()
[all …]
/linux-6.1.9/include/net/
Dpptp.h19 struct gre_base_hdr gre_hd; member