• Home
  • Raw
  • Download

Lines Matching defs:proto

1174 struct proto {  struct
1175 void (*close)(struct sock *sk,
1177 int (*pre_connect)(struct sock *sk,
1180 int (*connect)(struct sock *sk,
1183 int (*disconnect)(struct sock *sk, int flags);
1185 struct sock * (*accept)(struct sock *sk, int flags, int *err,
1188 int (*ioctl)(struct sock *sk, int cmd,
1190 int (*init)(struct sock *sk);
1191 void (*destroy)(struct sock *sk);
1192 void (*shutdown)(struct sock *sk, int how);
1193 int (*setsockopt)(struct sock *sk, int level,
1196 int (*getsockopt)(struct sock *sk, int level,
1199 void (*keepalive)(struct sock *sk, int valbool);
1201 int (*compat_ioctl)(struct sock *sk,
1204 int (*sendmsg)(struct sock *sk, struct msghdr *msg,
1206 int (*recvmsg)(struct sock *sk, struct msghdr *msg,
1209 int (*sendpage)(struct sock *sk, struct page *page,
1211 int (*bind)(struct sock *sk,
1213 int (*bind_add)(struct sock *sk,
1216 int (*backlog_rcv) (struct sock *sk,
1218 bool (*bpf_bypass_getsockopt)(int level,
1221 void (*release_cb)(struct sock *sk);
1224 int (*hash)(struct sock *sk);
1225 void (*unhash)(struct sock *sk);
1226 void (*rehash)(struct sock *sk);
1227 int (*get_port)(struct sock *sk, unsigned short snum);
1231 unsigned int inuse_idx;
1234 bool (*stream_memory_free)(const struct sock *sk, int wake);
1235 bool (*stream_memory_read)(const struct sock *sk);
1237 void (*enter_memory_pressure)(struct sock *sk);
1238 void (*leave_memory_pressure)(struct sock *sk);
1239 atomic_long_t *memory_allocated; /* Current allocated memory. */
1240 struct percpu_counter *sockets_allocated; /* Current number of sockets. */
1248 unsigned long *memory_pressure;
1249 long *sysctl_mem;
1251 int *sysctl_wmem;
1252 int *sysctl_rmem;
1253 u32 sysctl_wmem_offset;
1254 u32 sysctl_rmem_offset;
1256 int max_header;
1257 bool no_autobind;
1259 struct kmem_cache *slab;
1260 unsigned int obj_size;
1261 slab_flags_t slab_flags;
1262 unsigned int useroffset; /* Usercopy region offset */
1263 unsigned int usersize; /* Usercopy region size */
1288 int proto_register(struct proto *prot, int alloc_slab); argument
2765 static inline int sk_get_wmem0(const struct sock *sk, const struct proto *proto) in sk_get_wmem0()
2774 static inline int sk_get_rmem0(const struct sock *sk, const struct proto *proto) in sk_get_rmem0()