Message ID | 20231110113719.3055788-3-chopps@chopps.org (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Series | [RFC,ipsec-next,1/8] iptfs: config: add CONFIG_XFRM_IPTFS | expand |
diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h index 283dec7e3645..cc83878ecf08 100644 --- a/include/uapi/linux/ip.h +++ b/include/uapi/linux/ip.h @@ -137,6 +137,23 @@ struct ip_beet_phdr { __u8 reserved; }; +struct ip_iptfs_hdr { + __u8 subtype; /* 0*: basic, 1: CC */ + __u8 flags; + __be16 block_offset; +}; + +struct ip_iptfs_cc_hdr { + __u8 subtype; /* 0: basic, 1*: CC */ + __u8 flags; + __be16 block_offset; + __be32 loss_rate; + __u8 rtt_and_adelay1[4]; + __u8 adelay2_and_xdelay[4]; + __be32 tval; + __be32 techo; +}; + /* index values for the variables in ipv4_devconf */ enum {