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

#include <net.h>

Data Fields

int family
 
struct moduleowner
 
int(* release )(struct socket *sock)
 
int(* bind )(struct socket *sock, struct sockaddr *myaddr, int sockaddr_len)
 
int(* connect )(struct socket *sock, struct sockaddr *vaddr, int sockaddr_len, int flags)
 
int(* socketpair )(struct socket *sock1, struct socket *sock2)
 
int(* accept )(struct socket *sock, struct socket *newsock, int flags)
 
int(* getname )(struct socket *sock, struct sockaddr *addr, int *sockaddr_len, int peer)
 
unsigned int(* poll )(struct file *file, struct socket *sock, struct poll_table_struct *wait)
 
int(* ioctl )(struct socket *sock, unsigned int cmd, unsigned long arg)
 
int(* listen )(struct socket *sock, int len)
 
int(* shutdown )(struct socket *sock, int flags)
 
int(* setsockopt )(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen)
 
int(* getsockopt )(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen)
 
int(* sendmsg )(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len)
 
int(* recvmsg )(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags)
 
int(* mmap )(struct file *file, struct socket *sock, struct vm_area_struct *vma)
 
ssize_t(* sendpage )(struct socket *sock, struct page *page, int offset, size_t size, int flags)
 
ssize_t(* splice_read )(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags)
 
void(* set_peek_off )(struct sock *sk, int val)
 

Detailed Description

Definition at line 127 of file net.h.

Field Documentation

int(* accept)(struct socket *sock, struct socket *newsock, int flags)

Definition at line 139 of file net.h.

int(* bind)(struct socket *sock, struct sockaddr *myaddr, int sockaddr_len)

Definition at line 131 of file net.h.

int(* connect)(struct socket *sock, struct sockaddr *vaddr, int sockaddr_len, int flags)

Definition at line 134 of file net.h.

int family

Definition at line 128 of file net.h.

int(* getname)(struct socket *sock, struct sockaddr *addr, int *sockaddr_len, int peer)

Definition at line 141 of file net.h.

int(* getsockopt)(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen)

Definition at line 156 of file net.h.

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

Definition at line 146 of file net.h.

int(* listen)(struct socket *sock, int len)

Definition at line 152 of file net.h.

Definition at line 169 of file net.h.

struct module* owner

Definition at line 129 of file net.h.

Definition at line 144 of file net.h.

Definition at line 166 of file net.h.

int(* release)(struct socket *sock)

Definition at line 130 of file net.h.

Definition at line 164 of file net.h.

Definition at line 171 of file net.h.

void(* set_peek_off)(struct sock *sk, int val)

Definition at line 175 of file net.h.

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

Definition at line 154 of file net.h.

int(* shutdown)(struct socket *sock, int flags)

Definition at line 153 of file net.h.

int(* socketpair)(struct socket *sock1, struct socket *sock2)

Definition at line 137 of file net.h.

ssize_t(* splice_read)(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags)

Definition at line 173 of file net.h.


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