默默的一块石头
发布时间:2022-02-22 14:36:47
accept睡眠int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr, int __user *upeer_addrlen, int flags){ err = sock->ops->accept(sock, newsock, sock->file->f_flags, false);}int inet_accept(struct socket *sock, struct socket *newsock, int flags, bool kern){ struct sock *sk2.........【阅读全文】
发布时间:2022-02-16 11:45:46
1.插入struct proto tcp_prot = { .name = "TCP", .owner = THIS_MODULE, .hash = inet_hash,}Feb 16 10:26:36 chro kernel: [ 14.108487] __inet_hash+0x7d/0x2f0Feb 16 10:26:36 chro kernel: [ 14.108488] inet_hash+0x28/0x50Feb 16 10:26:36 chro kernel: [ .........【阅读全文】