aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/psp/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/psp/types.h')
-rw-r--r--include/net/psp/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/psp/types.h b/include/net/psp/types.h
index ec218747ced0..d9688e66cf09 100644
--- a/include/net/psp/types.h
+++ b/include/net/psp/types.h
@@ -20,6 +20,8 @@ struct psphdr {
__be64 vc[]; /* optional */
};
+#define PSP_ENCAP_HLEN (sizeof(struct udphdr) + sizeof(struct psphdr))
+
#define PSP_SPI_KEY_ID GENMASK(30, 0)
#define PSP_SPI_KEY_PHASE BIT(31)