Home | History | Annotate | Download | only in netinet

Lines Matching defs:port_attempt

1766 		uint16_t port_attempt;
1771 port_attempt = (port_guess & 0x0000ffff);
1772 if (port_attempt == 0) {
1775 if (port_attempt < IPPORT_RESERVED) {
1776 port_attempt += IPPORT_RESERVED;
1779 if (sctp_isport_inuse(inp, htons(port_attempt)) == 0) {
1786 port_attempt = ((port_guess >> 16) & 0x0000ffff);
1787 if (port_attempt == 0) {
1790 if (port_attempt < IPPORT_RESERVED) {
1791 port_attempt += IPPORT_RESERVED;
1793 if (sctp_isport_inuse(inp, htons(port_attempt)) == 0) {
1800 port_attempt = (((port_guess >> 16) & 0x0000ffff) + (port_guess & 0x0000ffff));
1801 if (port_attempt == 0) {
1805 if (port_attempt < IPPORT_RESERVED) {
1806 port_attempt += IPPORT_RESERVED;
1808 if (sctp_isport_inuse(inp, htons(port_attempt)) == 0) {
1815 lport = htons(port_attempt);