diff options
author | Brett Nash <nash@nash.space> | 2022-02-10 11:14:13 -0800 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-11 00:17:08 +0100 |
commit | 2d133fbda01ce463b561a3de7a0a3ebf11391668 (patch) | |
tree | b4a488b3431a4884f1614ffd227864afd7dc9028 /src/tcp_subr.c | |
parent | 88e2f8e385614432d8499a4fb37f0d361cca30d6 (diff) | |
download | slirp-2d133fbda01ce463b561a3de7a0a3ebf11391668.zip slirp-2d133fbda01ce463b561a3de7a0a3ebf11391668.tar.gz slirp-2d133fbda01ce463b561a3de7a0a3ebf11391668.tar.bz2 |
Rename insque/remque -> slirp_[ins|rem]que
Avoid a macro translation when not needed, and potentially doing really
weird things to headers.
Diffstat (limited to 'src/tcp_subr.c')
-rw-r--r-- | src/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tcp_subr.c b/src/tcp_subr.c index 636c447..1276086 100644 --- a/src/tcp_subr.c +++ b/src/tcp_subr.c @@ -329,7 +329,7 @@ struct tcpcb *tcp_close(struct tcpcb *tp) while (!tcpfrag_list_end(t, tp)) { t = tcpiphdr_next(t); m = tcpiphdr_prev(t)->ti_mbuf; - remque(tcpiphdr2qlink(tcpiphdr_prev(t))); + slirp_remque(tcpiphdr2qlink(tcpiphdr_prev(t))); m_free(m); } g_free(tp); @@ -577,7 +577,7 @@ void tcp_connect(struct socket *inso) void tcp_attach(struct socket *so) { so->so_tcpcb = tcp_newtcpcb(so); - insque(so, &so->slirp->tcb); + slirp_insque(so, &so->slirp->tcb); } /* |