ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-611.34.1.el9_7.x86_64/include/net/netns
/
usr
src
kernels
5.14.0-611.34.1.el9_7.x86_64
include
net
netns
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
bpf.h
631 B
chmod
View
DL
Edit
Rename
Delete
can.h
1.05 MB
chmod
View
DL
Edit
Rename
Delete
conntrack.h
2.24 MB
chmod
View
DL
Edit
Rename
Delete
core.h
481 B
chmod
View
DL
Edit
Rename
Delete
flow_table.h
287 B
chmod
View
DL
Edit
Rename
Delete
generic.h
1.18 MB
chmod
View
DL
Edit
Rename
Delete
hash.h
212 B
chmod
View
DL
Edit
Rename
Delete
ieee802154_6lowpan.h
395 B
chmod
View
DL
Edit
Rename
Delete
ipv4.h
6.48 MB
chmod
View
DL
Edit
Rename
Delete
ipv6.h
3.08 MB
chmod
View
DL
Edit
Rename
Delete
mib.h
1.24 MB
chmod
View
DL
Edit
Rename
Delete
mpls.h
397 B
chmod
View
DL
Edit
Rename
Delete
netfilter.h
1.05 MB
chmod
View
DL
Edit
Rename
Delete
nexthop.h
456 B
chmod
View
DL
Edit
Rename
Delete
nftables.h
171 B
chmod
View
DL
Edit
Rename
Delete
packet.h
295 B
chmod
View
DL
Edit
Rename
Delete
sctp.h
4.69 MB
chmod
View
DL
Edit
Rename
Delete
smc.h
672 B
chmod
View
DL
Edit
Rename
Delete
unix.h
292 B
chmod
View
DL
Edit
Rename
Delete
xdp.h
237 B
chmod
View
DL
Edit
Rename
Delete
xfrm.h
2.07 MB
chmod
View
DL
Edit
Rename
Delete
x_tables.h
251 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-611.34.1.el9_7.x86_64/include/net/netns/generic.h
/* SPDX-License-Identifier: GPL-2.0 */ /* * generic net pointers */ #ifndef __NET_GENERIC_H__ #define __NET_GENERIC_H__ #include <linux/bug.h> #include <linux/rcupdate.h> #include <net/net_namespace.h> /* * Generic net pointers are to be used by modules to put some private * stuff on the struct net without explicit struct net modification * * The rules are simple: * 1. set pernet_operations->id. After register_pernet_device you * will have the id of your private pointer. * 2. set pernet_operations->size to have the code allocate and free * a private structure pointed to from struct net. * 3. do not change this pointer while the net is alive; * 4. do not try to have any private reference on the net_generic object. * * After accomplishing all of the above, the private pointer can be * accessed with the net_generic() call. */ struct net_generic { union { struct { unsigned int len; struct rcu_head rcu; } s; void *ptr[0]; }; }; static inline void *net_generic(const struct net *net, unsigned int id) { struct net_generic *ng; void *ptr; rcu_read_lock(); ng = rcu_dereference(net->gen); ptr = ng->ptr[id]; rcu_read_unlock(); return ptr; } #endif
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply