N  ˆ ƒ Ž»¿ÁÀ� Index of /FSS-OZR/root/sys/dev/char/13:34/device/event4/subsystem/event5

Index of /FSS-OZR/root/sys/dev/char/13:34/device/event4/subsystem/event5

 NameLast modifiedSizeDescription

 Parent Directory   -  
 uevent 2026-10-12 04:06 4.0K 
 subsystem/ 2026-10-11 21:02 -  
 power/ 2026-10-12 04:06 -  
 device/ 2026-10-12 02:40 -  
 dev 2026-10-12 04:06 4.0K 

+ ˆl–Ü4ý(© ³( Å €fàB¦-ÿà „›t__†I|¥�+ÃÂ1 /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Authors: Lotsa people, from code originally in tcp */ #ifndef _INET_HASHTABLES_H #define _INET_HASHTABLES_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* This is for all connections with a full identity, no wildcards. * The 'e' prefix stands for Establish, but we really put all sockets * but LISTEN ones. */ struct inet_ehash_bucket { struct hlist_nulls_head chain; }; /* There are a few simple rules, which allow for local port reuse by * an application. In essence: * * 1) Sockets bound to different interfaces may share a local port. * Failing that, goto test 2. * 2) If all sockets have sk->sk_reuse set, and none of them are in * TCP_LISTEN state, the port may be shared. * Failing that, goto test 3. * 3) If all sockets are bound to a specific inet_sk(sk)->rcv_saddr local * address, and none of them are the same, the port may be * shared. * Failing this, the port cannot be shared. * * The interesting point, is test #2. This is what an FTP server does * all day. To optimize this case we use a specific flag bit defined * below. As we add sockets to a bind bucket list, we perform a * check of: (newsk->sk_reuse && (newsk->sk_state != TCP_LISTEN)) * As long as all sockets added to a bind bucket pass this test, * the flag bit will be set. * The resulting situation is that tcp_v[46]_verify_bind() can just check * for this flag bit, if it is set and the socket trying to bind has * sk->sk_reuse set, we don't even have to walk the owners list at all, * we return that it is ok to bind this socket to the requested local port. * * Sounds like a lot of work, but it is worth it. In a more naive * im