Home | History | Annotate | Download | only in identd

Lines Matching defs:lport

333 	int lport, fport;
339 lport = fport = 0;
395 lport = atoi(p);
401 if (lport < 1 || lport > 65535 || fport < 1 || fport > 65535) {
403 lport, fport, gethost((struct sockaddr *)&ss[0]));
412 idparse(fd, lport, fport, charset, osname, idbuf);
420 satosin(&ss[1])->sin_port = htons(lport);
424 satosin6(&ss[1])->sin6_port = htons(lport);
442 nat_lport, fport, lport)) {
453 idparse(fd, lport, fport, charset, osname, idbuf);
458 iderror(fd, lport, fport, eflag ? "UNKNOWN-ERROR" : "NO-USER");
468 lport, fport, pw->pw_name,
477 iderror(fd, lport, fport, "HIDDEN-USER");
496 idparse(fd, lport, fport, charset, osname, idbuf);
512 idparse(fd, lport, fport, charset, osname, idbuf);
527 idparse(fd, lport, fport, charset, osname, buf);
529 idparse(fd, lport, fport, charset, osname, idbuf);
536 idparse(int fd, int lport, int fport, const char *charset, const char *osname,
541 if (asprintf(&p, "%d,%d:USERID:%s%s%s:%s\r\n", lport, fport,
553 iderror(int fd, int lport, int fport, const char *error)
557 if (asprintf(&p, "%d,%d:ERROR:%s\r\n", lport, fport, error) < 0)
801 forward(int fd, struct sockaddr *nat_addr, int nat_lport, int fport, int lport)
855 (void)snprintf(buf, sizeof(buf), "%d,%d:%s", lport, fport, p);