CLEANUP: stconn: rename cs{,_get}_{src,dst} to sc_*
The following functions were renamed:
cs_src() -> sc_src()
cs_dst() -> sc_dst()
cs_get_src() -> sc_get_src()
cs_get_dst() -> sc_get_dst()
diff --git a/src/frontend.c b/src/frontend.c
index 48c654b..b50c86f 100644
--- a/src/frontend.c
+++ b/src/frontend.c
@@ -62,7 +62,7 @@
s->do_log(s);
}
else if (conn) {
- src = cs_src(s->scf);
+ src = sc_src(s->scf);
if (!src)
send_log(fe, LOG_INFO, "Connect from unknown source to listener %d (%s/%s)\n",
l->luid, fe->id, (fe->mode == PR_MODE_HTTP) ? "HTTP" : "TCP");
@@ -73,7 +73,7 @@
switch (addr_to_str(src, pn, sizeof(pn))) {
case AF_INET:
case AF_INET6:
- dst = cs_dst(s->scf);
+ dst = sc_dst(s->scf);
if (dst) {
addr_to_str(dst, sn, sizeof(sn));
port = get_host_port(dst);
@@ -113,7 +113,7 @@
}
}
- src = cs_src(s->scf);
+ src = sc_src(s->scf);
if (!src) {
chunk_printf(&trash, "%08x:%s.accept(%04x)=%04x from [listener:%d] ALPN=%s\n",
s->uniq_id, fe->id, (unsigned short)l->rx.fd, (unsigned short)conn->handle.fd,