Searched defs:port (Results 1 - 6 of 6) sorted by relevance

/sendmail/libmilter/
H A Dlistener.c145 /* protocol:filename or protocol:port@host */
281 unsigned short port; local
283 /* Parse port@host */
306 port = htons((unsigned short) atoi(colon));
310 smi_log(SMI_LOG_ERR, "%s: invalid port number %s",
320 "%s: unknown port name %s",
324 port = sp->s_port;
351 addr.sin.sin_port = port;
362 addr.sin6.sin6_port = port;
403 addr.sin.sin_port = port;
[all...]
H A Dengine.c1171 unsigned short port = 0; local
1196 if (i + sizeof port >= l)
1204 (void) memcpy((void *) &port, (void *) (s + i),
1205 sizeof port);
1206 i += sizeof port;
1224 if (port > 0)
1225 sockaddr.sin.sin_port = port;
1242 if (port > 0)
1243 sockaddr.sin6.sin6_port = port;
/sendmail/sendmail/
H A Ddaemon.c86 ** Opens a port and initiates a connection.
95 ** makeconnection(host, port, mci, e, enough)
97 ** port. Returns zero on success, else an exit status
108 ** GETREQUESTS -- open mail IPC port and get requests.
166 sm_dprintf("getrequests: daemon %s: port %d\n",
920 /* close the port so that others will hang (for a while) */
1234 ** port number on which daemon should run
1242 unsigned short port; local
1263 port = daemonaddr->sin.sin_port;
1273 port
1441 char *port = NULL; local
3391 unsigned short SM_NONVOLATILE port = 0; local
[all...]
H A Ddeliver.c1313 SM_NONVOLATILE unsigned short port = 0; local
1996 port = htons((unsigned short) atoi(pv[2]));
1997 if (port == 0)
2000 syserr("Invalid port number: %s", pv[2]);
2007 port = sp->s_port;
2134 if (port == 0)
2138 message("Connecting to %s port %d via %s...",
2139 hostbuf, ntohs(port),
2141 i = makeconnection(hostbuf, port, mci, e,
H A Dmilter.c680 /* protocol:filename or protocol:port@host */
829 unsigned short port; local
831 /* Parse port@host */
836 sm_dprintf("X%s: bad address %s (expected port@host)\n",
839 syserr("X%s: bad address %s (expected port@host)",
843 "Milter (%s): bad address %s (expected port@host)",
850 port = htons((unsigned short) atoi(colon));
855 sm_dprintf("X%s: invalid port number %s\n",
858 syserr("X%s: invalid port number %s",
862 "Milter (%s): invalid port numbe
3887 unsigned short port; local
[all...]
H A Dmap.c3358 ** single server connection to a host (with the same host, port,
3805 ** Cache LDAP connections based on the host, port, bind DN,
4196 case 'p': /* ldap port */
7520 /* protocol:filename or protocol:port@host */
7638 unsigned short port; local
7640 /* Parse port@host */
7644 syserr("socket map \"%s\": bad address %s (expected port@host)",
7650 port = htons((unsigned short) atoi(colon));
7654 syserr("socket map \"%s\": invalid port number %s",
7663 syserr("socket map \"%s\": unknown port nam
[all...]

Completed in 99 milliseconds