Home
last modified time | relevance | path

Searched refs:host_af (Results 1 – 25 of 49) sorted by relevance

12

/dports/mail/exim-sa-exim/exim-4.95/src/
H A Dsmtp_out.c38 smtp_get_interface(uschar *istring, int host_af, address_item *addr, in smtp_get_interface() argument
80 if (((Ustrchr(iface, ':') == NULL)? AF_INET:AF_INET6) == host_af) in smtp_get_interface()
263 smtp_sock_connect(host_item * host, int host_af, int port, uschar * interface, in smtp_sock_connect() argument
283 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1; in smtp_sock_connect()
294 if (dscp && dscp_lookup(dscp, host_af, &dscp_level, &dscp_option, &dscp_value)) in smtp_sock_connect()
303 if (host_af == AF_INET6 && in smtp_sock_connect()
311 if (interface && ip_bind(sock, host_af, interface, 0) < 0) in smtp_sock_connect()
345 if (ip_connect(sock, host_af, host->address, port, timeout, fastopen_blob) < 0) in smtp_sock_connect()
470 int sock = socks_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
495 return smtp_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
H A Dverify.c358 int host_af; in cutthrough_multi() local
368 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in cutthrough_multi()
370 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in cutthrough_multi()
612 int host_af; in do_callout() local
633 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in do_callout()
647 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in do_callout()
659 sx->conn_args.host_af = host_af, in do_callout()
2712 int host_af, qlen; in verify_get_ident() local
2732 if ((ident_conn_ctx.sock = ip_socket(SOCK_STREAM, host_af)) < 0) return; in verify_get_ident()
2734 if (ip_bind(ident_conn_ctx.sock, host_af, interface_address, 0) < 0) in verify_get_ident()
[all …]
/dports/mail/exim-postgresql/exim-4.95/src/
H A Dsmtp_out.c38 smtp_get_interface(uschar *istring, int host_af, address_item *addr, in smtp_get_interface() argument
80 if (((Ustrchr(iface, ':') == NULL)? AF_INET:AF_INET6) == host_af) in smtp_get_interface()
263 smtp_sock_connect(host_item * host, int host_af, int port, uschar * interface, in smtp_sock_connect() argument
283 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1; in smtp_sock_connect()
294 if (dscp && dscp_lookup(dscp, host_af, &dscp_level, &dscp_option, &dscp_value)) in smtp_sock_connect()
303 if (host_af == AF_INET6 && in smtp_sock_connect()
311 if (interface && ip_bind(sock, host_af, interface, 0) < 0) in smtp_sock_connect()
345 if (ip_connect(sock, host_af, host->address, port, timeout, fastopen_blob) < 0) in smtp_sock_connect()
470 int sock = socks_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
495 return smtp_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
/dports/mail/exim-mysql/exim-4.95/src/
H A Dsmtp_out.c38 smtp_get_interface(uschar *istring, int host_af, address_item *addr, in smtp_get_interface() argument
80 if (((Ustrchr(iface, ':') == NULL)? AF_INET:AF_INET6) == host_af) in smtp_get_interface()
263 smtp_sock_connect(host_item * host, int host_af, int port, uschar * interface, in smtp_sock_connect() argument
283 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1; in smtp_sock_connect()
294 if (dscp && dscp_lookup(dscp, host_af, &dscp_level, &dscp_option, &dscp_value)) in smtp_sock_connect()
303 if (host_af == AF_INET6 && in smtp_sock_connect()
311 if (interface && ip_bind(sock, host_af, interface, 0) < 0) in smtp_sock_connect()
345 if (ip_connect(sock, host_af, host->address, port, timeout, fastopen_blob) < 0) in smtp_sock_connect()
470 int sock = socks_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
495 return smtp_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
H A Dverify.c358 int host_af; in cutthrough_multi() local
368 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in cutthrough_multi()
370 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in cutthrough_multi()
612 int host_af; in do_callout() local
633 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in do_callout()
647 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in do_callout()
659 sx->conn_args.host_af = host_af, in do_callout()
2712 int host_af, qlen; in verify_get_ident() local
2732 if ((ident_conn_ctx.sock = ip_socket(SOCK_STREAM, host_af)) < 0) return; in verify_get_ident()
2734 if (ip_bind(ident_conn_ctx.sock, host_af, interface_address, 0) < 0) in verify_get_ident()
[all …]
/dports/mail/exim-ldap2/exim-4.95/src/
H A Dsmtp_out.c38 smtp_get_interface(uschar *istring, int host_af, address_item *addr, in smtp_get_interface() argument
80 if (((Ustrchr(iface, ':') == NULL)? AF_INET:AF_INET6) == host_af) in smtp_get_interface()
263 smtp_sock_connect(host_item * host, int host_af, int port, uschar * interface, in smtp_sock_connect() argument
283 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1; in smtp_sock_connect()
294 if (dscp && dscp_lookup(dscp, host_af, &dscp_level, &dscp_option, &dscp_value)) in smtp_sock_connect()
303 if (host_af == AF_INET6 && in smtp_sock_connect()
311 if (interface && ip_bind(sock, host_af, interface, 0) < 0) in smtp_sock_connect()
345 if (ip_connect(sock, host_af, host->address, port, timeout, fastopen_blob) < 0) in smtp_sock_connect()
470 int sock = socks_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
495 return smtp_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
H A Dverify.c358 int host_af; in cutthrough_multi() local
368 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in cutthrough_multi()
370 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in cutthrough_multi()
612 int host_af; in do_callout() local
633 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in do_callout()
647 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in do_callout()
659 sx->conn_args.host_af = host_af, in do_callout()
2712 int host_af, qlen; in verify_get_ident() local
2732 if ((ident_conn_ctx.sock = ip_socket(SOCK_STREAM, host_af)) < 0) return; in verify_get_ident()
2734 if (ip_bind(ident_conn_ctx.sock, host_af, interface_address, 0) < 0) in verify_get_ident()
[all …]
/dports/mail/exim-monitor/exim-4.95/src/
H A Dsmtp_out.c38 smtp_get_interface(uschar *istring, int host_af, address_item *addr, in smtp_get_interface() argument
80 if (((Ustrchr(iface, ':') == NULL)? AF_INET:AF_INET6) == host_af) in smtp_get_interface()
263 smtp_sock_connect(host_item * host, int host_af, int port, uschar * interface, in smtp_sock_connect() argument
283 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1; in smtp_sock_connect()
294 if (dscp && dscp_lookup(dscp, host_af, &dscp_level, &dscp_option, &dscp_value)) in smtp_sock_connect()
303 if (host_af == AF_INET6 && in smtp_sock_connect()
311 if (interface && ip_bind(sock, host_af, interface, 0) < 0) in smtp_sock_connect()
345 if (ip_connect(sock, host_af, host->address, port, timeout, fastopen_blob) < 0) in smtp_sock_connect()
470 int sock = socks_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
495 return smtp_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
H A Dverify.c358 int host_af; in cutthrough_multi() local
368 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in cutthrough_multi()
370 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in cutthrough_multi()
612 int host_af; in do_callout() local
633 host_af = Ustrchr(host->address, ':') ? AF_INET6 : AF_INET; in do_callout()
647 if ( !smtp_get_interface(tf->interface, host_af, addr, &interface, in do_callout()
659 sx->conn_args.host_af = host_af, in do_callout()
2712 int host_af, qlen; in verify_get_ident() local
2732 if ((ident_conn_ctx.sock = ip_socket(SOCK_STREAM, host_af)) < 0) return; in verify_get_ident()
2734 if (ip_bind(ident_conn_ctx.sock, host_af, interface_address, 0) < 0) in verify_get_ident()
[all …]
/dports/mail/exim/exim-4.95/src/
H A Dsmtp_out.c38 smtp_get_interface(uschar *istring, int host_af, address_item *addr, in smtp_get_interface() argument
80 if (((Ustrchr(iface, ':') == NULL)? AF_INET:AF_INET6) == host_af) in smtp_get_interface()
263 smtp_sock_connect(host_item * host, int host_af, int port, uschar * interface, in smtp_sock_connect() argument
283 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1; in smtp_sock_connect()
294 if (dscp && dscp_lookup(dscp, host_af, &dscp_level, &dscp_option, &dscp_value)) in smtp_sock_connect()
303 if (host_af == AF_INET6 && in smtp_sock_connect()
311 if (interface && ip_bind(sock, host_af, interface, 0) < 0) in smtp_sock_connect()
345 if (ip_connect(sock, host_af, host->address, port, timeout, fastopen_blob) < 0) in smtp_sock_connect()
470 int sock = socks_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
495 return smtp_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
/dports/mail/exim-sqlite/exim-4.95/src/
H A Dsmtp_out.c38 smtp_get_interface(uschar *istring, int host_af, address_item *addr, in smtp_get_interface() argument
80 if (((Ustrchr(iface, ':') == NULL)? AF_INET:AF_INET6) == host_af) in smtp_get_interface()
263 smtp_sock_connect(host_item * host, int host_af, int port, uschar * interface, in smtp_sock_connect() argument
283 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1; in smtp_sock_connect()
294 if (dscp && dscp_lookup(dscp, host_af, &dscp_level, &dscp_option, &dscp_value)) in smtp_sock_connect()
303 if (host_af == AF_INET6 && in smtp_sock_connect()
311 if (interface && ip_bind(sock, host_af, interface, 0) < 0) in smtp_sock_connect()
345 if (ip_connect(sock, host_af, host->address, port, timeout, fastopen_blob) < 0) in smtp_sock_connect()
470 int sock = socks_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
495 return smtp_sock_connect(sc->host, sc->host_af, port, sc->interface, in smtp_connect()
/dports/mail/exim-mysql/exim-4.95/src/routers/
H A Diplookup.c230 int host_af; in iplookup_router_entry() local
240 host_af = (Ustrchr(h->address, ':') != NULL)? AF_INET6 : AF_INET; in iplookup_router_entry()
243 host_af); in iplookup_router_entry()
257 if (ip_connect(query_cctx.sock, host_af, h->address,ob->port, ob->timeout, in iplookup_router_entry()
/dports/mail/exim-sa-exim/exim-4.95/src/routers/
H A Diplookup.c230 int host_af; in iplookup_router_entry() local
240 host_af = (Ustrchr(h->address, ':') != NULL)? AF_INET6 : AF_INET; in iplookup_router_entry()
243 host_af); in iplookup_router_entry()
257 if (ip_connect(query_cctx.sock, host_af, h->address,ob->port, ob->timeout, in iplookup_router_entry()
/dports/mail/exim-ldap2/exim-4.95/src/routers/
H A Diplookup.c230 int host_af; in iplookup_router_entry() local
240 host_af = (Ustrchr(h->address, ':') != NULL)? AF_INET6 : AF_INET; in iplookup_router_entry()
243 host_af); in iplookup_router_entry()
257 if (ip_connect(query_cctx.sock, host_af, h->address,ob->port, ob->timeout, in iplookup_router_entry()
/dports/mail/exim-monitor/exim-4.95/src/routers/
H A Diplookup.c230 int host_af; in iplookup_router_entry() local
240 host_af = (Ustrchr(h->address, ':') != NULL)? AF_INET6 : AF_INET; in iplookup_router_entry()
243 host_af); in iplookup_router_entry()
257 if (ip_connect(query_cctx.sock, host_af, h->address,ob->port, ob->timeout, in iplookup_router_entry()
/dports/mail/exim/exim-4.95/src/routers/
H A Diplookup.c230 int host_af; in iplookup_router_entry() local
240 host_af = (Ustrchr(h->address, ':') != NULL)? AF_INET6 : AF_INET; in iplookup_router_entry()
243 host_af); in iplookup_router_entry()
257 if (ip_connect(query_cctx.sock, host_af, h->address,ob->port, ob->timeout, in iplookup_router_entry()
/dports/mail/exim-sqlite/exim-4.95/src/routers/
H A Diplookup.c230 int host_af; in iplookup_router_entry() local
240 host_af = (Ustrchr(h->address, ':') != NULL)? AF_INET6 : AF_INET; in iplookup_router_entry()
243 host_af); in iplookup_router_entry()
257 if (ip_connect(query_cctx.sock, host_af, h->address,ob->port, ob->timeout, in iplookup_router_entry()
/dports/mail/exim-postgresql/exim-4.95/src/routers/
H A Diplookup.c230 int host_af; in iplookup_router_entry() local
240 host_af = (Ustrchr(h->address, ':') != NULL)? AF_INET6 : AF_INET; in iplookup_router_entry()
243 host_af); in iplookup_router_entry()
257 if (ip_connect(query_cctx.sock, host_af, h->address,ob->port, ob->timeout, in iplookup_router_entry()
/dports/mail/exim-ldap2/exim-4.95/src/transports/
H A Dsmtp_socks.c209 socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, in socks_sock_connect() argument
326 (void) ip_addr(&sin, host_af, host->address, port); in socks_sock_connect()
330 buf[0] = 5; buf[1] = 1; buf[2] = 0; buf[3] = host_af == AF_INET6 ? 4 : 1; in socks_sock_connect()
332 if (host_af == AF_INET6) in socks_sock_connect()
/dports/mail/exim-monitor/exim-4.95/src/transports/
H A Dsmtp_socks.c209 socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, in socks_sock_connect() argument
326 (void) ip_addr(&sin, host_af, host->address, port); in socks_sock_connect()
330 buf[0] = 5; buf[1] = 1; buf[2] = 0; buf[3] = host_af == AF_INET6 ? 4 : 1; in socks_sock_connect()
332 if (host_af == AF_INET6) in socks_sock_connect()
/dports/mail/exim-mysql/exim-4.95/src/transports/
H A Dsmtp_socks.c209 socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, in socks_sock_connect() argument
326 (void) ip_addr(&sin, host_af, host->address, port); in socks_sock_connect()
330 buf[0] = 5; buf[1] = 1; buf[2] = 0; buf[3] = host_af == AF_INET6 ? 4 : 1; in socks_sock_connect()
332 if (host_af == AF_INET6) in socks_sock_connect()
/dports/mail/exim-postgresql/exim-4.95/src/transports/
H A Dsmtp_socks.c209 socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, in socks_sock_connect() argument
326 (void) ip_addr(&sin, host_af, host->address, port); in socks_sock_connect()
330 buf[0] = 5; buf[1] = 1; buf[2] = 0; buf[3] = host_af == AF_INET6 ? 4 : 1; in socks_sock_connect()
332 if (host_af == AF_INET6) in socks_sock_connect()
/dports/mail/exim-sa-exim/exim-4.95/src/transports/
H A Dsmtp_socks.c209 socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, in socks_sock_connect() argument
326 (void) ip_addr(&sin, host_af, host->address, port); in socks_sock_connect()
330 buf[0] = 5; buf[1] = 1; buf[2] = 0; buf[3] = host_af == AF_INET6 ? 4 : 1; in socks_sock_connect()
332 if (host_af == AF_INET6) in socks_sock_connect()
/dports/mail/exim/exim-4.95/src/transports/
H A Dsmtp_socks.c209 socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, in socks_sock_connect() argument
326 (void) ip_addr(&sin, host_af, host->address, port); in socks_sock_connect()
330 buf[0] = 5; buf[1] = 1; buf[2] = 0; buf[3] = host_af == AF_INET6 ? 4 : 1; in socks_sock_connect()
332 if (host_af == AF_INET6) in socks_sock_connect()
/dports/mail/exim-sqlite/exim-4.95/src/transports/
H A Dsmtp_socks.c209 socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, in socks_sock_connect() argument
326 (void) ip_addr(&sin, host_af, host->address, port); in socks_sock_connect()
330 buf[0] = 5; buf[1] = 1; buf[2] = 0; buf[3] = host_af == AF_INET6 ? 4 : 1; in socks_sock_connect()
332 if (host_af == AF_INET6) in socks_sock_connect()

12