Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
proto Struct Reference

#include <sock.h>

Data Fields

struct net_devicedev
 
struct timer_list timer
 
unsigned long timeout
 
u16 pid
 
u8 state
 
u8 cr_id
 
u8 restart_counter
 
void(* close )(struct sock *sk, long timeout)
 
int(* connect )(struct sock *sk, struct sockaddr *uaddr, int addr_len)
 
int(* disconnect )(struct sock *sk, int flags)
 
struct sock *(* accept )(struct sock *sk, int flags, int *err)
 
int(* ioctl )(struct sock *sk, int cmd, unsigned long arg)
 
int(* init )(struct sock *sk)
 
void(* destroy )(struct sock *sk)
 
void(* shutdown )(struct sock *sk, int how)
 
int(* setsockopt )(struct sock *sk, int level, int optname, char __user *optval, unsigned int optlen)
 
int(* getsockopt )(struct sock *sk, int level, int optname, char __user *optval, int __user *option)
 
int(* sendmsg )(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len)
 
int(* recvmsg )(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len, int noblock, int flags, int *addr_len)
 
int(* sendpage )(struct sock *sk, struct page *page, int offset, size_t size, int flags)
 
int(* bind )(struct sock *sk, struct sockaddr *uaddr, int addr_len)
 
int(* backlog_rcv )(struct sock *sk, struct sk_buff *skb)
 
void(* release_cb )(struct sock *sk)
 
void(* mtu_reduced )(struct sock *sk)
 
void(* hash )(struct sock *sk)
 
void(* unhash )(struct sock *sk)
 
void(* rehash )(struct sock *sk)
 
int(* get_port )(struct sock *sk, unsigned short snum)
 
void(* clear_sk )(struct sock *sk, int size)
 
void(* enter_memory_pressure )(struct sock *sk)
 
atomic_long_tmemory_allocated
 
struct percpu_countersockets_allocated
 
intmemory_pressure
 
longsysctl_mem
 
intsysctl_wmem
 
intsysctl_rmem
 
int max_header
 
bool no_autobind
 
struct kmem_cacheslab
 
unsigned int obj_size
 
int slab_flags
 
struct percpu_counterorphan_count
 
struct request_sock_opsrsk_prot
 
struct timewait_sock_opstwsk_prot
 
union {
   struct inet_hashinfo *   hashinfo
 
   struct udp_table *   udp_table
 
   struct raw_hashinfo *   raw_hash
 
h
 
struct moduleowner
 
char name [32]
 
struct list_head node
 

Detailed Description

Definition at line 65 of file hdlc_ppp.c.

Field Documentation

struct sock*(* accept)(struct sock *sk, int flags, int *err)
read

Definition at line 859 of file sock.h.

int(* backlog_rcv)(struct sock *sk, struct sk_buff *skb)

Definition at line 895 of file sock.h.

int(* bind)(struct sock *sk, struct sockaddr *uaddr, int addr_len)

Definition at line 892 of file sock.h.

void(* clear_sk)(struct sock *sk, int size)

Definition at line 906 of file sock.h.

void(* close)(struct sock *sk, long timeout)

Definition at line 852 of file sock.h.

int(* connect)(struct sock *sk, struct sockaddr *uaddr, int addr_len)

Definition at line 854 of file sock.h.

u8 cr_id

Definition at line 71 of file hdlc_ppp.c.

void(* destroy)(struct sock *sk)

Definition at line 864 of file sock.h.

Definition at line 66 of file hdlc_ppp.c.

int(* disconnect)(struct sock *sk, int flags)

Definition at line 857 of file sock.h.

void(* enter_memory_pressure)(struct sock *sk)

Definition at line 914 of file sock.h.

int(* get_port)(struct sock *sk, unsigned short snum)

Definition at line 905 of file sock.h.

int(* getsockopt)(struct sock *sk, int level, int optname, char __user *optval, int __user *option)

Definition at line 869 of file sock.h.

union { ... } h
void(* hash)(struct sock *sk)

Definition at line 902 of file sock.h.

struct inet_hashinfo* hashinfo

Definition at line 940 of file sock.h.

int(* init)(struct sock *sk)

Definition at line 863 of file sock.h.

int(* ioctl)(struct sock *sk, int cmd, unsigned long arg)

Definition at line 861 of file sock.h.

int max_header

Definition at line 927 of file sock.h.

atomic_long_t* memory_allocated

Definition at line 915 of file sock.h.

int* memory_pressure

Definition at line 923 of file sock.h.

void(* mtu_reduced)(struct sock *sk)

Definition at line 899 of file sock.h.

char name[32]

Definition at line 947 of file sock.h.

bool no_autobind

Definition at line 928 of file sock.h.

Definition at line 949 of file sock.h.

unsigned int obj_size

Definition at line 931 of file sock.h.

struct percpu_counter* orphan_count

Definition at line 934 of file sock.h.

struct module* owner

Definition at line 945 of file sock.h.

Definition at line 69 of file hdlc_ppp.c.

struct raw_hashinfo* raw_hash

Definition at line 942 of file sock.h.

int(* recvmsg)(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, size_t len, int noblock, int flags, int *addr_len)

Definition at line 886 of file sock.h.

void(* rehash)(struct sock *sk)

Definition at line 904 of file sock.h.

void(* release_cb)(struct sock *sk)

Definition at line 898 of file sock.h.

u8 restart_counter

Definition at line 72 of file hdlc_ppp.c.

Definition at line 936 of file sock.h.

Definition at line 884 of file sock.h.

Definition at line 890 of file sock.h.

int(* setsockopt)(struct sock *sk, int level, int optname, char __user *optval, unsigned int optlen)

Definition at line 866 of file sock.h.

void(* shutdown)(struct sock *sk, int how)

Definition at line 865 of file sock.h.

Definition at line 930 of file sock.h.

int slab_flags

Definition at line 932 of file sock.h.

struct percpu_counter* sockets_allocated

Definition at line 916 of file sock.h.

Definition at line 70 of file hdlc_ppp.c.

long* sysctl_mem

Definition at line 924 of file sock.h.

int* sysctl_rmem

Definition at line 926 of file sock.h.

int* sysctl_wmem

Definition at line 925 of file sock.h.

unsigned long timeout

Definition at line 68 of file hdlc_ppp.c.

Definition at line 67 of file hdlc_ppp.c.

Definition at line 937 of file sock.h.

Definition at line 941 of file sock.h.

void(* unhash)(struct sock *sk)

Definition at line 903 of file sock.h.


The documentation for this struct was generated from the following files: