[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.56.1.el8_10.x86_64
/
include
/
net
/
netns
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 bpf.h
590 B
SET
[ EDIT ]
|
[ DEL ]
📄 can.h
1,109 B
SET
[ EDIT ]
|
[ DEL ]
📄 conntrack.h
3,017 B
SET
[ EDIT ]
|
[ DEL ]
📄 core.h
362 B
SET
[ EDIT ]
|
[ DEL ]
📄 dccp.h
185 B
SET
[ EDIT ]
|
[ DEL ]
📄 generic.h
1,175 B
SET
[ EDIT ]
|
[ DEL ]
📄 hash.h
212 B
SET
[ EDIT ]
|
[ DEL ]
📄 ieee802154_6lowpan.h
399 B
SET
[ EDIT ]
|
[ DEL ]
📄 ipv4.h
5,482 B
SET
[ EDIT ]
|
[ DEL ]
📄 ipv6.h
2,963 B
SET
[ EDIT ]
|
[ DEL ]
📄 mib.h
1,097 B
SET
[ EDIT ]
|
[ DEL ]
📄 mpls.h
371 B
SET
[ EDIT ]
|
[ DEL ]
📄 netfilter.h
1,048 B
SET
[ EDIT ]
|
[ DEL ]
📄 nftables.h
275 B
SET
[ EDIT ]
|
[ DEL ]
📄 packet.h
295 B
SET
[ EDIT ]
|
[ DEL ]
📄 sctp.h
3,997 B
SET
[ EDIT ]
|
[ DEL ]
📄 smc.h
604 B
SET
[ EDIT ]
|
[ DEL ]
📄 unix.h
263 B
SET
[ EDIT ]
|
[ DEL ]
📄 x_tables.h
507 B
SET
[ EDIT ]
|
[ DEL ]
📄 xdp.h
331 B
SET
[ EDIT ]
|
[ DEL ]
📄 xfrm.h
1,880 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: 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> /* * 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