Lines Matching refs:proxyprotocol

260    if (route->gw.state.proxyprotocol.upnp) {
295 if (memcmp(&nilstate.proxyprotocol,
296 &route->gw.state.proxyprotocol,
297 sizeof(nilstate.proxyprotocol)) == 0) {
299 route->gw.state.proxyprotocol.direct = 1;
302 route->gw.state.proxyprotocol.upnp = 1;
315 if (memcmp(&nilstate.proxyprotocol, &route->gw.state.proxyprotocol,
316 sizeof(nilstate.proxyprotocol)) == 0) {
317 memset(&route->gw.state.proxyprotocol, 0,
318 sizeof(route->gw.state.proxyprotocol));
320 route->gw.state.proxyprotocol.socks_v4 = 1;
321 route->gw.state.proxyprotocol.socks_v5 = 1;
326 if (route->gw.state.proxyprotocol.socks_v4
327 || route->gw.state.proxyprotocol.socks_v5) {
328 if (route->gw.state.proxyprotocol.http
329 || route->gw.state.proxyprotocol.upnp)
334 else if (route->gw.state.proxyprotocol.http) {
338 if (memcmp(&proxy, &route->gw.state.proxyprotocol, sizeof(proxy)) != 0)
343 else if (route->gw.state.proxyprotocol.upnp) {
351 if (memcmp(&proxy, &route->gw.state.proxyprotocol, sizeof(proxy)) != 0)
360 if (route->gw.state.proxyprotocol.socks_v4
361 || route->gw.state.proxyprotocol.socks_v5)
364 else if (route->gw.state.proxyprotocol.http)
370 if (route->gw.state.proxyprotocol.direct) {
395 if (route->gw.state.proxyprotocol.socks_v5) {
405 if (route->gw.state.proxyprotocol.socks_v4) {
413 if (route->gw.state.proxyprotocol.http) {
417 if (route->gw.state.proxyprotocol.upnp) {
430 if (!route->gw.state.proxyprotocol.direct) {
443 if (route->gw.state.proxyprotocol.direct) {
448 if (route->gw.state.proxyprotocol.socks_v5) {
455 if (route->gw.state.proxyprotocol.socks_v4)
458 if (route->gw.state.proxyprotocol.http)
461 if (route->gw.state.proxyprotocol.upnp) {
510 if (route->gw.state.proxyprotocol.socks_v5)
524 if (route->gw.state.proxyprotocol.socks_v5)
549 if (!route->gw.state.proxyprotocol.socks_v5)
553 proxyprotocols2string(&route->gw.state.proxyprotocol,
737 if (!route->gw.state.proxyprotocol.direct
738 && !( route->gw.state.proxyprotocol.upnp
756 if (route->gw.state.proxyprotocol.upnp
828 route.gw.state.proxyprotocol.direct = 1;
879 if (!route->gw.state.proxyprotocol.socks_v4) {
906 if (!route->gw.state.proxyprotocol.socks_v5) {
924 if (!route->gw.state.proxyprotocol.http) {
941 if (!route->gw.state.proxyprotocol.upnp) {
948 if (!route->gw.state.proxyprotocol.direct) {
1117 if (!route->gw.state.proxyprotocol.direct
1205 proxyprotocols2string(&route->gw.state.proxyprotocol, NULL, 0),
1266 proxyprotocols2string(&route->gw.state.proxyprotocol, NULL, 0),
1272 if (route->gw.state.proxyprotocol.direct)
1276 if (route->gw.state.proxyprotocol.upnp) {
1400 directroute.gw.state.proxyprotocol.direct = 1;
1463 directroute.gw.state.proxyprotocol.direct = 1;
1477 directroute.gw.state.proxyprotocol.direct = 1;