ReactOS 0.4.16-dev-338-g34e76ad
proto Struct Reference

#include <tcpcore.h>

Collaboration diagram for proto:

Public Attributes

uint16 code
 
uint16 val
 
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)
 
int(* destroy )(struct sock *sk)
 
void(* shutdown )(struct sock *sk, int how)
 
int(* setsockopt )(struct sock *sk, int level, int optname, char *optval, int optlen)
 
int(* getsockopt )(struct sock *sk, int level, int optname, char *optval, int *option)
 
int(* sendmsg )(struct sock *sk, struct msghdr *msg, int len)
 
int(* recvmsg )(struct sock *sk, struct msghdr *msg, int len, int noblock, int flags, int *addr_len)
 
int(* bind )(struct sock *sk, struct sockaddr *uaddr, int addr_len)
 
int(* backlog_rcv )(struct sock *sk, struct sk_buff *skb)
 
void(* hash )(struct sock *sk)
 
void(* unhash )(struct sock *sk)
 
int(* get_port )(struct sock *sk, unsigned short snum)
 
char name [32]
 
struct {
   int   inuse
 
stats [32]
 

Detailed Description

Definition at line 53 of file mkg3states.c.

Member Data Documentation

◆ accept

struct sock *(* proto::accept) (struct sock *sk, int flags, int *err)

Definition at line 1215 of file tcpcore.h.

◆ backlog_rcv

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

Definition at line 1237 of file tcpcore.h.

◆ bind

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

Definition at line 1234 of file tcpcore.h.

◆ close

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

Definition at line 1210 of file tcpcore.h.

◆ code

uint16 proto::code

Definition at line 54 of file mkg3states.c.

Referenced by FillTable().

◆ connect

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

Definition at line 1212 of file tcpcore.h.

◆ destroy

int(* proto::destroy) (struct sock *sk)

Definition at line 1222 of file tcpcore.h.

◆ disconnect

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

Definition at line 1215 of file tcpcore.h.

◆ get_port

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

Definition at line 1243 of file tcpcore.h.

◆ getsockopt

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

Definition at line 1226 of file tcpcore.h.

◆ hash

void(* proto::hash) (struct sock *sk)

Definition at line 1241 of file tcpcore.h.

◆ init

int(* proto::init) (struct sock *sk)

Definition at line 1221 of file tcpcore.h.

◆ inuse

int proto::inuse

Definition at line 1248 of file tcpcore.h.

◆ ioctl

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

Definition at line 1219 of file tcpcore.h.

◆ name

char proto::name[32]

Definition at line 1245 of file tcpcore.h.

◆ recvmsg

int(* proto::recvmsg) (struct sock *sk, struct msghdr *msg, int len, int noblock, int flags, int *addr_len)

Definition at line 1231 of file tcpcore.h.

◆ sendmsg

int(* proto::sendmsg) (struct sock *sk, struct msghdr *msg, int len)

Definition at line 1229 of file tcpcore.h.

◆ setsockopt

int(* proto::setsockopt) (struct sock *sk, int level, int optname, char *optval, int optlen)

Definition at line 1224 of file tcpcore.h.

◆ shutdown

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

Definition at line 1223 of file tcpcore.h.

◆ 

struct { ... } proto::stats[32]

◆ unhash

void(* proto::unhash) (struct sock *sk)

Definition at line 1242 of file tcpcore.h.

◆ val

uint16 proto::val

Definition at line 55 of file mkg3states.c.


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