proto_opsRegular
4.4: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int);
int (*getname)(struct socket *, struct sockaddr *, int *, int);
unsigned int (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
};
4.8: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int);
int (*getname)(struct socket *, struct sockaddr *, int *, int);
unsigned int (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
};
4.10: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int);
int (*getname)(struct socket *, struct sockaddr *, int *, int);
unsigned int (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
};
4.13: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int *, int);
unsigned int (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
};
4.15: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int *, int);
unsigned int (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
};
4.18: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.0: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.3: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.4: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.8: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.11: ✅struct proto_ops {
int family;
unsigned int flags;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.13: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.15: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
5.19: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
6.2: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*read_skb)(struct sock *, skb_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
6.5: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
void (*splice_eof)(struct socket *);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*read_skb)(struct sock *, skb_read_actor_t);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
6.8: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
void (*show_fdinfo)(struct seq_file *, struct socket *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
void (*splice_eof)(struct socket *);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*read_skb)(struct sock *, skb_read_actor_t);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
arm64: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
armhf: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
ppc64el: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
riscv64: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
aws: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
azure: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
gcp: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
lowlatency: ✅struct proto_ops {
int family;
struct module *owner;
int (*release)(struct socket *);
int (*bind)(struct socket *, struct sockaddr *, int);
int (*connect)(struct socket *, struct sockaddr *, int, int);
int (*socketpair)(struct socket *, struct socket *);
int (*accept)(struct socket *, struct socket *, int, bool);
int (*getname)(struct socket *, struct sockaddr *, int);
__poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
int (*ioctl)(struct socket *, unsigned int, long unsigned int);
int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
int (*gettstamp)(struct socket *, void *, bool, bool);
int (*listen)(struct socket *, int);
int (*shutdown)(struct socket *, int);
int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*getsockopt)(struct socket *, int, int, char *, int *);
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
int (*sendmsg)(struct socket *, struct msghdr *, size_t);
int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
int (*set_peek_off)(struct sock *, int);
int (*peek_len)(struct socket *);
int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
int (*set_rcvlowat)(struct sock *, int);
};
Regular
4.4 and 4.8 ⚠️int (*peek_len)(struct socket *)
4.8 and 4.10 ⚠️int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t)
4.10 and 4.13 ⚠️int (*accept)(struct socket *, struct socket *, int) ➡️ int (*accept)(struct socket *, struct socket *, int, bool)
4.13 and 4.15 ⚠️int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int)
int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t)
4.15 and 4.18 ⚠️int (*set_rcvlowat)(struct sock *, int)
int (*getname)(struct socket *, struct sockaddr *, int *, int) ➡️ int (*getname)(struct socket *, struct sockaddr *, int)
unsigned int (*poll)(struct file *, struct socket *, struct poll_table_struct *) ➡️ __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *)
4.18 and 5.0 ✅
5.0 and 5.3 ⚠️int (*gettstamp)(struct socket *, void *, bool, bool)
5.3 and 5.4 ✅
5.4 and 5.8 ⚠️void (*show_fdinfo)(struct seq_file *, struct socket *)
5.8 and 5.11 ⚠️unsigned int flags
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int)
int (*compat_getsockopt)(struct socket *, int, int, char *, int *)
int (*setsockopt)(struct socket *, int, int, char *, unsigned int) ➡️ int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int)
5.11 and 5.13 ⚠️unsigned int flags
5.13 and 5.15 ✅
5.15 and 5.19 ✅
5.19 and 6.2 ⚠️int (*read_skb)(struct sock *, skb_read_actor_t)
6.2 and 6.5 ⚠️void (*splice_eof)(struct socket *)
ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int)
int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int)
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ⚠️int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int)
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int)
int (*compat_getsockopt)(struct socket *, int, int, char *, int *)
amd64 and ppc64el ✅
amd64 and riscv64 ⚠️int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int)
int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int)
int (*compat_getsockopt)(struct socket *, int, int, char *, int *)
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅