ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-611.27.1.el9_7.x86_64/include/net/tc_act
/
usr
src
kernels
5.14.0-611.27.1.el9_7.x86_64
include
net
tc_act
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
tc_bpf.h
456 B
chmod
View
DL
Edit
Rename
Delete
tc_connmark.h
392 B
chmod
View
DL
Edit
Rename
Delete
tc_csum.h
798 B
chmod
View
DL
Edit
Rename
Delete
tc_ct.h
2.36 MB
chmod
View
DL
Edit
Rename
Delete
tc_ctinfo.h
585 B
chmod
View
DL
Edit
Rename
Delete
tc_defact.h
278 B
chmod
View
DL
Edit
Rename
Delete
tc_gact.h
1.69 MB
chmod
View
DL
Edit
Rename
Delete
tc_gate.h
2.62 MB
chmod
View
DL
Edit
Rename
Delete
tc_ife.h
2.09 MB
chmod
View
DL
Edit
Rename
Delete
tc_mirred.h
1.48 MB
chmod
View
DL
Edit
Rename
Delete
tc_mpls.h
1.96 MB
chmod
View
DL
Edit
Rename
Delete
tc_nat.h
404 B
chmod
View
DL
Edit
Rename
Delete
tc_pedit.h
2.32 MB
chmod
View
DL
Edit
Rename
Delete
tc_police.h
4.78 MB
chmod
View
DL
Edit
Rename
Delete
tc_sample.h
918 B
chmod
View
DL
Edit
Rename
Delete
tc_skbedit.h
3.08 MB
chmod
View
DL
Edit
Rename
Delete
tc_skbmod.h
558 B
chmod
View
DL
Edit
Rename
Delete
tc_tunnel_key.h
2.11 MB
chmod
View
DL
Edit
Rename
Delete
tc_vlan.h
2.01 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-611.27.1.el9_7.x86_64/include/net/tc_act/tc_sample.h
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NET_TC_SAMPLE_H #define __NET_TC_SAMPLE_H #include <net/act_api.h> #include <linux/tc_act/tc_sample.h> #include <net/psample.h> struct tcf_sample { struct tc_action common; u32 rate; bool truncate; u32 trunc_size; struct psample_group __rcu *psample_group; u32 psample_group_num; struct list_head tcfm_list; }; #define to_sample(a) ((struct tcf_sample *)a) static inline bool is_tcf_sample(const struct tc_action *a) { #ifdef CONFIG_NET_CLS_ACT return a->ops && a->ops->id == TCA_ID_SAMPLE; #else return false; #endif } static inline __u32 tcf_sample_rate(const struct tc_action *a) { return to_sample(a)->rate; } static inline bool tcf_sample_truncate(const struct tc_action *a) { return to_sample(a)->truncate; } static inline int tcf_sample_trunc_size(const struct tc_action *a) { return to_sample(a)->trunc_size; } #endif /* __NET_TC_SAMPLE_H */
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply