diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2023-04-07 19:18:05 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2023-04-07 19:18:06 +0000 |
commit | 35bc0bcc5192c68412de9fbf76201d602dd219ca (patch) | |
tree | b8573b2fd3829b8655b217c6a3209da1c1cd0674 /sys/netinet/tcp_var.h | |
parent | de4368dd84a0b3eec8069489e212b1c951f4bb4b (diff) | |
download | src-35bc0bcc5192c68412de9fbf76201d602dd219ca.tar.gz src-35bc0bcc5192c68412de9fbf76201d602dd219ca.zip |
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index cc3d7c294eea..75f5e01e5882 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -594,14 +594,11 @@ struct tcptemp { struct tcp_function_block { char tfb_tcp_block_name[TCP_FUNCTION_NAME_LEN_MAX]; int (*tfb_tcp_output)(struct tcpcb *); - void (*tfb_tcp_do_segment)(struct mbuf *, struct tcphdr *, - struct socket *, struct tcpcb *, - int, int, uint8_t); - int (*tfb_do_queued_segments)(struct socket *, struct tcpcb *, int); - int (*tfb_do_segment_nounlock)(struct mbuf *, struct tcphdr *, - struct socket *, struct tcpcb *, - int, int, uint8_t, - int, struct timeval *); + void (*tfb_tcp_do_segment)(struct tcpcb *, struct mbuf *, + struct tcphdr *, int, int, uint8_t); + int (*tfb_do_segment_nounlock)(struct tcpcb *, struct mbuf *, + struct tcphdr *, int, int, uint8_t, int, struct timeval *); + int (*tfb_do_queued_segments)(struct tcpcb *, int); int (*tfb_tcp_ctloutput)(struct inpcb *inp, struct sockopt *sopt); /* Optional memory allocation/free routine */ int (*tfb_tcp_fb_init)(struct tcpcb *, void **); @@ -1378,8 +1375,8 @@ int tcp_input(struct mbuf **, int *, int); int tcp_autorcvbuf(struct mbuf *, struct tcphdr *, struct socket *, struct tcpcb *, int); int tcp_input_with_port(struct mbuf **, int *, int, uint16_t); -void tcp_do_segment(struct mbuf *, struct tcphdr *, - struct socket *, struct tcpcb *, int, int, uint8_t); +void tcp_do_segment(struct tcpcb *, struct mbuf *, struct tcphdr *, int, + int, uint8_t); int register_tcp_functions(struct tcp_function_block *blk, int wait); int register_tcp_functions_as_names(struct tcp_function_block *blk, |