Lines Matching refs:port
76 # define SANED_SERVICE_DNS "_sane-port._tcp"
185 error = getaddrinfo (name, "sane-port", &hints, &res);
701 uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags flags,
730 host_name, port, a, t, avahi_string_list_get_service_cookie (txt),
994 DBG (2, "sane_init: determining sane service port\n");
995 serv = getservbyname ("sane-port", "tcp");
999 DBG (2, "sane_init: found port %d\n", ntohs (serv->s_port));
1005 DBG (1, "sane_init: could not find `sane-port' service (%s); using default "
1006 "port %d\n", strerror (errno), ntohs (saned_port));
1888 uint16_t port; /* Internet-specific */
1943 port = reply.port;
1984 DBG (3, "sane_start: remote start finished, data at port %hu\n", port);
1989 sin.sin_port = htons (port);
1993 sin6.sin6_port = htons (port);
2023 uint16_t port; /* Internet-specific */
2061 port = reply.port;
2102 DBG (3, "sane_start: remote start finished, data at port %hu\n", port);
2103 sin.sin_port = htons (port);