mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
include: uapi: protocol number and packet structs for AGGFRAG in ESP
Add the RFC assigned IP protocol number for AGGFRAG. Add the on-wire basic and congestion-control IP-TFS packet headers. Signed-off-by: Christian Hopps <chopps@labn.net> Tested-by: Antony Antony <antony.antony@secunet.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
parent
ffa794846b
commit
64e844505b
2 changed files with 18 additions and 0 deletions
|
@ -79,6 +79,8 @@ enum {
|
|||
#define IPPROTO_MPLS IPPROTO_MPLS
|
||||
IPPROTO_ETHERNET = 143, /* Ethernet-within-IPv6 Encapsulation */
|
||||
#define IPPROTO_ETHERNET IPPROTO_ETHERNET
|
||||
IPPROTO_AGGFRAG = 144, /* AGGFRAG in ESP (RFC 9347) */
|
||||
#define IPPROTO_AGGFRAG IPPROTO_AGGFRAG
|
||||
IPPROTO_RAW = 255, /* Raw IP packets */
|
||||
#define IPPROTO_RAW IPPROTO_RAW
|
||||
IPPROTO_SMC = 256, /* Shared Memory Communications */
|
||||
|
|
|
@ -137,6 +137,22 @@ 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;
|
||||
__be64 rtt_adelay_xdelay;
|
||||
__be32 tval;
|
||||
__be32 techo;
|
||||
};
|
||||
|
||||
/* index values for the variables in ipv4_devconf */
|
||||
enum
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue