hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/include/net/ip6_tunnel.h
....@@ -57,7 +57,7 @@
5757
5858 /* These fields used only by GRE */
5959 __u32 i_seqno; /* The last seen seqno */
60
- __u32 o_seqno; /* The last output seqno */
60
+ atomic_t o_seqno; /* The last output seqno */
6161 int hlen; /* tun_hlen + encap_hlen */
6262 int tun_hlen; /* Precalculated header length */
6363 int encap_hlen; /* Encap header length (FOU,GUE) */
....@@ -69,6 +69,8 @@
6969 size_t (*encap_hlen)(struct ip_tunnel_encap *e);
7070 int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
7171 u8 *protocol, struct flowi6 *fl6);
72
+ int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
73
+ u8 type, u8 code, int offset, __be32 info);
7274 };
7375
7476 #ifdef CONFIG_INET