forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iptfs: impl: add new iptfs xfrm mode impl
- Loading branch information
Showing
2 changed files
with
2,347 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
#ifndef _NET_IPTFS_H | ||
#define _NET_IPTFS_H | ||
|
||
#include <linux/types.h> | ||
#include <linux/ip.h> | ||
|
||
#define IPTFS_SUBTYPE_BASIC 0 | ||
#define IPTFS_SUBTYPE_CC 1 | ||
#define IPTFS_SUBTYPE_LAST IPTFS_SUBTYPE_CC | ||
|
||
#define IPTFS_CC_FLAGS_ECN_CE 0x1 | ||
#define IPTFS_CC_FLAGS_PLMTUD 0x2 | ||
|
||
extern void xfrm_iptfs_get_rtt_and_delays(struct ip_iptfs_cc_hdr *cch, u32 *rtt, | ||
u32 *actual_delay, u32 *xmit_delay); | ||
|
||
#endif /* _NET_IPTFS_H */ |
Oops, something went wrong.