|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | unix_address |
| struct | unix_skb_parms |
| struct | unix_sock |
Macros | |
| #define | UNIX_HASH_SIZE 256 |
| #define | UNIX_HASH_BITS 8 |
| #define | UNIXCB(skb) (*(struct unix_skb_parms *)&((skb)->cb)) |
| #define | UNIXSID(skb) (&UNIXCB((skb)).secid) |
| #define | unix_state_lock(s) spin_lock(&unix_sk(s)->lock) |
| #define | unix_state_unlock(s) spin_unlock(&unix_sk(s)->lock) |
| #define | unix_state_lock_nested(s) |
| #define | unix_sk(__sk) ((struct unix_sock *)__sk) |
| #define | peer_wait peer_wq.wait |
Functions | |
| void | unix_inflight (struct file *fp) |
| void | unix_notinflight (struct file *fp) |
| void | unix_gc (void) |
| void | wait_for_unix_gc (void) |
| struct sock * | unix_get_socket (struct file *filp) |
| struct sock * | unix_peer_get (struct sock *) |
| long | unix_inq_len (struct sock *sk) |
| long | unix_outq_len (struct sock *sk) |
Variables | |
| unsigned int | unix_tot_inflight |
| spinlock_t | unix_table_lock |
| struct hlist_head | unix_socket_table [2 *UNIX_HASH_SIZE] |
| #define peer_wait peer_wq.wait |
| #define unix_state_lock_nested | ( | s | ) |
| #define UNIXCB | ( | skb | ) | (*(struct unix_skb_parms *)&((skb)->cb)) |
| struct hlist_head unix_socket_table[2 *UNIX_HASH_SIZE] |
| spinlock_t unix_table_lock |
1.8.2