Lines Matching defs:port
31 __be32 addr, u16 port)
41 port >> 8,
42 port & 0xFF);
44 return snprintf(buffer, buflen, "|1|%pI4|%u|", &addr, port);
46 return snprintf(buffer, buflen, "|||%u|", port);
62 u_int16_t port;
72 exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port;
79 /* Try to get same port: if not, try to change it. */
80 for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) {
81 exp->tuple.dst.u.tcp.port = htons(port);
86 if (port == 0)
89 buflen = nf_nat_ftp_fmt_cmd(type, buffer, sizeof(buffer), newip, port);