• Home
  • Raw
  • Download

Lines Matching defs:proto

1250 struct proto {  struct
1251 void (*close)(struct sock *sk,
1253 int (*pre_connect)(struct sock *sk,
1256 int (*connect)(struct sock *sk,
1259 int (*disconnect)(struct sock *sk, int flags);
1261 struct sock * (*accept)(struct sock *sk, int flags, int *err,
1264 int (*ioctl)(struct sock *sk, int cmd,
1266 int (*init)(struct sock *sk);
1267 void (*destroy)(struct sock *sk);
1268 void (*shutdown)(struct sock *sk, int how);
1269 int (*setsockopt)(struct sock *sk, int level,
1272 int (*getsockopt)(struct sock *sk, int level,
1275 void (*keepalive)(struct sock *sk, int valbool);
1277 int (*compat_ioctl)(struct sock *sk,
1280 int (*sendmsg)(struct sock *sk, struct msghdr *msg,
1282 int (*recvmsg)(struct sock *sk, struct msghdr *msg,
1284 void (*splice_eof)(struct socket *sock);
1285 int (*bind)(struct sock *sk,
1287 int (*bind_add)(struct sock *sk,
1290 int (*backlog_rcv) (struct sock *sk,
1292 bool (*bpf_bypass_getsockopt)(int level,
1295 void (*release_cb)(struct sock *sk);
1298 int (*hash)(struct sock *sk);
1299 void (*unhash)(struct sock *sk);
1300 void (*rehash)(struct sock *sk);
1301 int (*get_port)(struct sock *sk, unsigned short snum);
1302 void (*put_port)(struct sock *sk);
1304 int (*psock_update_sk_prot)(struct sock *sk,
1311 unsigned int inuse_idx;
1315 int (*forward_alloc_get)(const struct sock *sk);
1318 bool (*stream_memory_free)(const struct sock *sk, int wake);
1319 bool (*sock_is_readable)(struct sock *sk);
1321 void (*enter_memory_pressure)(struct sock *sk);
1322 void (*leave_memory_pressure)(struct sock *sk);
1323 atomic_long_t *memory_allocated; /* Current allocated memory. */
1324 int __percpu *per_cpu_fw_alloc;
1325 struct percpu_counter *sockets_allocated; /* Current number of sockets. */
1334 unsigned long *memory_pressure;
1335 long *sysctl_mem;
1337 int *sysctl_wmem;
1338 int *sysctl_rmem;
1339 u32 sysctl_wmem_offset;
1340 u32 sysctl_rmem_offset;
1342 int max_header;
1343 bool no_autobind;
1345 struct kmem_cache *slab;
1346 unsigned int obj_size;
1347 unsigned int ipv6_pinfo_offset;
1348 slab_flags_t slab_flags;
1372 int proto_register(struct proto *prot, int alloc_slab); argument
1891 static inline void sock_replace_proto(struct sock *sk, struct proto *proto) in sock_replace_proto()
2951 static inline int sk_get_wmem0(const struct sock *sk, const struct proto *proto) in sk_get_wmem0()
2960 static inline int sk_get_rmem0(const struct sock *sk, const struct proto *proto) in sk_get_rmem0()