Lines Matching refs:fwdargs
1960 struct fwdarg fwdargs[4]; in parse_forward() local
1965 memset(fwdargs, 0, sizeof(fwdargs)); in parse_forward()
1974 if (parse_fwd_field(&cp, &fwdargs[i]) != 0) in parse_forward()
1985 if (fwdargs[0].ispath) { in parse_forward()
1986 fwd->listen_path = xstrdup(fwdargs[0].arg); in parse_forward()
1990 fwd->listen_port = a2port(fwdargs[0].arg); in parse_forward()
1996 if (fwdargs[0].ispath && fwdargs[1].ispath) { in parse_forward()
1997 fwd->listen_path = xstrdup(fwdargs[0].arg); in parse_forward()
1999 fwd->connect_path = xstrdup(fwdargs[1].arg); in parse_forward()
2001 } else if (fwdargs[1].ispath) { in parse_forward()
2003 fwd->listen_port = a2port(fwdargs[0].arg); in parse_forward()
2004 fwd->connect_path = xstrdup(fwdargs[1].arg); in parse_forward()
2007 fwd->listen_host = xstrdup(fwdargs[0].arg); in parse_forward()
2008 fwd->listen_port = a2port(fwdargs[1].arg); in parse_forward()
2014 if (fwdargs[0].ispath) { in parse_forward()
2015 fwd->listen_path = xstrdup(fwdargs[0].arg); in parse_forward()
2017 fwd->connect_host = xstrdup(fwdargs[1].arg); in parse_forward()
2018 fwd->connect_port = a2port(fwdargs[2].arg); in parse_forward()
2019 } else if (fwdargs[2].ispath) { in parse_forward()
2020 fwd->listen_host = xstrdup(fwdargs[0].arg); in parse_forward()
2021 fwd->listen_port = a2port(fwdargs[1].arg); in parse_forward()
2022 fwd->connect_path = xstrdup(fwdargs[2].arg); in parse_forward()
2026 fwd->listen_port = a2port(fwdargs[0].arg); in parse_forward()
2027 fwd->connect_host = xstrdup(fwdargs[1].arg); in parse_forward()
2028 fwd->connect_port = a2port(fwdargs[2].arg); in parse_forward()
2033 fwd->listen_host = xstrdup(fwdargs[0].arg); in parse_forward()
2034 fwd->listen_port = a2port(fwdargs[1].arg); in parse_forward()
2035 fwd->connect_host = xstrdup(fwdargs[2].arg); in parse_forward()
2036 fwd->connect_port = a2port(fwdargs[3].arg); in parse_forward()