Skip to content

Commit 6fcca97

Browse files
committed
chore: update toolchain
1 parent fa57180 commit 6fcca97

File tree

7,020 files changed

+2070582
-2162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

7,020 files changed

+2070582
-2162
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
1-
#ifndef _XT_CONNMARK_H_target
2-
#define _XT_CONNMARK_H_target
1+
#ifndef _XT_CONNMARK_H
2+
#define _XT_CONNMARK_H
33

4-
#include <linux/netfilter/xt_connmark.h>
4+
#include <linux/types.h>
55

6-
#endif /*_XT_CONNMARK_H_target*/
6+
/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
7+
* by Henrik Nordstrom <[email protected]>
8+
*
9+
* This program is free software; you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as published by
11+
* the Free Software Foundation; either version 2 of the License, or
12+
* (at your option) any later version.
13+
*/
14+
15+
enum {
16+
XT_CONNMARK_SET = 0,
17+
XT_CONNMARK_SAVE,
18+
XT_CONNMARK_RESTORE
19+
};
20+
21+
struct xt_connmark_tginfo1 {
22+
__u32 ctmark, ctmask, nfmask;
23+
__u8 mode;
24+
};
25+
26+
struct xt_connmark_mtinfo1 {
27+
__u32 mark, mask;
28+
__u8 invert;
29+
};
30+
31+
#endif /*_XT_CONNMARK_H*/
Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
1-
/* x_tables module for setting the IPv4/IPv6 DSCP field
1+
/* x_tables module for matching the IPv4/IPv6 DSCP field
22
*
33
* (C) 2002 Harald Welte <[email protected]>
4-
* based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <[email protected]>
54
* This software is distributed under GNU GPL v2, 1991
65
*
76
* See RFC2474 for a description of the DSCP field within the IP Header.
87
*
9-
* xt_DSCP.h,v 1.7 2002/03/14 12:03:13 laforge Exp
8+
* xt_dscp.h,v 1.3 2002/08/05 19:00:21 laforge Exp
109
*/
11-
#ifndef _XT_DSCP_TARGET_H
12-
#define _XT_DSCP_TARGET_H
13-
#include <linux/netfilter/xt_dscp.h>
10+
#ifndef _XT_DSCP_H
11+
#define _XT_DSCP_H
12+
1413
#include <linux/types.h>
1514

16-
/* target info */
17-
struct xt_DSCP_info {
15+
#define XT_DSCP_MASK 0xfc /* 11111100 */
16+
#define XT_DSCP_SHIFT 2
17+
#define XT_DSCP_MAX 0x3f /* 00111111 */
18+
19+
/* match info */
20+
struct xt_dscp_info {
1821
__u8 dscp;
22+
__u8 invert;
1923
};
2024

21-
struct xt_tos_target_info {
22-
__u8 tos_value;
25+
struct xt_tos_match_info {
2326
__u8 tos_mask;
27+
__u8 tos_value;
28+
__u8 invert;
2429
};
2530

26-
#endif /* _XT_DSCP_TARGET_H */
31+
#endif /* _XT_DSCP_H */
Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
#ifndef _XT_MARK_H_target
2-
#define _XT_MARK_H_target
1+
#ifndef _XT_MARK_H
2+
#define _XT_MARK_H
33

4-
#include <linux/netfilter/xt_mark.h>
4+
#include <linux/types.h>
55

6-
#endif /*_XT_MARK_H_target */
6+
struct xt_mark_tginfo2 {
7+
__u32 mark, mask;
8+
};
9+
10+
struct xt_mark_mtinfo1 {
11+
__u32 mark, mask;
12+
__u8 invert;
13+
};
14+
15+
#endif /*_XT_MARK_H*/
Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,38 @@
1-
#ifndef _XT_RATEEST_TARGET_H
2-
#define _XT_RATEEST_TARGET_H
1+
#ifndef _XT_RATEEST_MATCH_H
2+
#define _XT_RATEEST_MATCH_H
33

44
#include <linux/types.h>
55
#include <linux/if.h>
66

7-
struct xt_rateest_target_info {
8-
char name[IFNAMSIZ];
9-
__s8 interval;
10-
__u8 ewma_log;
7+
enum xt_rateest_match_flags {
8+
XT_RATEEST_MATCH_INVERT = 1<<0,
9+
XT_RATEEST_MATCH_ABS = 1<<1,
10+
XT_RATEEST_MATCH_REL = 1<<2,
11+
XT_RATEEST_MATCH_DELTA = 1<<3,
12+
XT_RATEEST_MATCH_BPS = 1<<4,
13+
XT_RATEEST_MATCH_PPS = 1<<5,
14+
};
15+
16+
enum xt_rateest_match_mode {
17+
XT_RATEEST_MATCH_NONE,
18+
XT_RATEEST_MATCH_EQ,
19+
XT_RATEEST_MATCH_LT,
20+
XT_RATEEST_MATCH_GT,
21+
};
22+
23+
struct xt_rateest_match_info {
24+
char name1[IFNAMSIZ];
25+
char name2[IFNAMSIZ];
26+
__u16 flags;
27+
__u16 mode;
28+
__u32 bps1;
29+
__u32 pps1;
30+
__u32 bps2;
31+
__u32 pps2;
1132

1233
/* Used internally by the kernel */
13-
struct xt_rateest *est __attribute__((aligned(8)));
34+
struct xt_rateest *est1 __attribute__((aligned(8)));
35+
struct xt_rateest *est2 __attribute__((aligned(8)));
1436
};
1537

16-
#endif /* _XT_RATEEST_TARGET_H */
38+
#endif /* _XT_RATEEST_MATCH_H */
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
#ifndef _XT_TCPMSS_H
2-
#define _XT_TCPMSS_H
1+
#ifndef _XT_TCPMSS_MATCH_H
2+
#define _XT_TCPMSS_MATCH_H
33

44
#include <linux/types.h>
55

6-
struct xt_tcpmss_info {
7-
__u16 mss;
6+
struct xt_tcpmss_match_info {
7+
__u16 mss_min, mss_max;
8+
__u8 invert;
89
};
910

10-
#define XT_TCPMSS_CLAMP_PMTU 0xffff
11-
12-
#endif /* _XT_TCPMSS_H */
11+
#endif /*_XT_TCPMSS_MATCH_H*/
Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,15 @@
1-
/* Header file for iptables ipt_ECN target
2-
*
3-
* (C) 2002 by Harald Welte <[email protected]>
4-
*
5-
* This software is distributed under GNU GPL v2, 1991
6-
*
7-
* ipt_ECN.h,v 1.3 2002/05/29 12:17:40 laforge Exp
8-
*/
9-
#ifndef _IPT_ECN_TARGET_H
10-
#define _IPT_ECN_TARGET_H
11-
12-
#include <linux/types.h>
13-
#include <linux/netfilter/xt_DSCP.h>
14-
15-
#define IPT_ECN_IP_MASK (~XT_DSCP_MASK)
16-
17-
#define IPT_ECN_OP_SET_IP 0x01 /* set ECN bits of IPv4 header */
18-
#define IPT_ECN_OP_SET_ECE 0x10 /* set ECE bit of TCP header */
19-
#define IPT_ECN_OP_SET_CWR 0x20 /* set CWR bit of TCP header */
20-
21-
#define IPT_ECN_OP_MASK 0xce
22-
23-
struct ipt_ECN_info {
24-
__u8 operation; /* bitset of operations */
25-
__u8 ip_ect; /* ECT codepoint of IPv4 header, pre-shifted */
26-
union {
27-
struct {
28-
__u8 ece:1, cwr:1; /* TCP ECT bits */
29-
} tcp;
30-
} proto;
1+
#ifndef _IPT_ECN_H
2+
#define _IPT_ECN_H
3+
4+
#include <linux/netfilter/xt_ecn.h>
5+
#define ipt_ecn_info xt_ecn_info
6+
7+
enum {
8+
IPT_ECN_IP_MASK = XT_ECN_IP_MASK,
9+
IPT_ECN_OP_MATCH_IP = XT_ECN_OP_MATCH_IP,
10+
IPT_ECN_OP_MATCH_ECE = XT_ECN_OP_MATCH_ECE,
11+
IPT_ECN_OP_MATCH_CWR = XT_ECN_OP_MATCH_CWR,
12+
IPT_ECN_OP_MATCH_MASK = XT_ECN_OP_MATCH_MASK,
3113
};
3214

33-
#endif /* _IPT_ECN_TARGET_H */
15+
#endif /* IPT_ECN_H */

arm64/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot/usr/include/linux/netfilter_ipv4/ipt_ttl.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
/* TTL modification module for IP tables
2-
* (C) 2000 by Harald Welte <laforge@netfilter.org> */
1+
/* IP tables module for matching the value of the TTL
2+
* (C) 2000 by Harald Welte <laforge@gnumonks.org> */
33

44
#ifndef _IPT_TTL_H
55
#define _IPT_TTL_H
66

77
#include <linux/types.h>
88

99
enum {
10-
IPT_TTL_SET = 0,
11-
IPT_TTL_INC,
12-
IPT_TTL_DEC
10+
IPT_TTL_EQ = 0, /* equals */
11+
IPT_TTL_NE, /* not equals */
12+
IPT_TTL_LT, /* less than */
13+
IPT_TTL_GT, /* greater than */
1314
};
1415

15-
#define IPT_TTL_MAXMODE IPT_TTL_DEC
1616

17-
struct ipt_TTL_info {
17+
struct ipt_ttl_info {
1818
__u8 mode;
1919
__u8 ttl;
2020
};

arm64/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot/usr/include/linux/netfilter_ipv6/ip6t_hl.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
/* Hop Limit modification module for ip6tables
1+
/* ip6tables module for matching the Hop Limit value
22
* Maciej Soltysiak <[email protected]>
3-
* Based on HW's TTL module */
3+
* Based on HW's ttl module */
44

55
#ifndef _IP6T_HL_H
66
#define _IP6T_HL_H
77

88
#include <linux/types.h>
99

1010
enum {
11-
IP6T_HL_SET = 0,
12-
IP6T_HL_INC,
13-
IP6T_HL_DEC
11+
IP6T_HL_EQ = 0, /* equals */
12+
IP6T_HL_NE, /* not equals */
13+
IP6T_HL_LT, /* less than */
14+
IP6T_HL_GT, /* greater than */
1415
};
1516

16-
#define IP6T_HL_MAXMODE IP6T_HL_DEC
1717

18-
struct ip6t_HL_info {
18+
struct ip6t_hl_info {
1919
__u8 mode;
2020
__u8 hop_limit;
2121
};

0 commit comments

Comments
 (0)