Searched refs:rport (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibsysstat.c77 ib_portid_t rport; local
84 memset(&rport, 0, sizeof(rport));
86 rport.lid = ntohs(mad_addr->lid);
87 rport.qp = ntohl(mad_addr->qpn);
88 rport.qkey = ntohl(mad_addr->qkey);
89 rport.sl = mad_addr->sl;
90 if (!rport.qkey && rport.qp == 1)
91 rport
[all...]
/freebsd-11-stable/contrib/ofed/libibmad/
H A Dserv.c97 ib_portid_t rport; local
106 memset(&rport, 0, sizeof(rport));
108 rport.lid = ntohs(mad_addr->lid);
109 rport.qp = ntohl(mad_addr->qpn);
110 rport.qkey = ntohl(mad_addr->qkey);
111 rport.sl = mad_addr->sl;
114 rport.grh_present = 1;
115 memcpy(&rport.gid, &mad_addr->gid, sizeof(rport
[all...]
/freebsd-11-stable/lib/libc/net/
H A Drcmdsh.c57 * avoid having to be root. Note that rport is ignored.
60 rcmdsh(char **ahost, int rport, const char *locuser, const char *remuser, argument
88 (unsigned int)ntohs(rport));
H A Drcmd.c76 rcmd(char **ahost, int rport, const char *locuser, const char *remuser, argument
79 return rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, AF_INET);
83 rcmd_af(char **ahost, int rport, const char *locuser, const char *remuser, argument
101 if (sp && sp->s_port == rport)
102 return (rcmdsh(ahost, rport, locuser, remuser,
110 if (sp && sp->s_port == rport)
111 return (rcmdsh(ahost, rport, locuser, remuser,
122 (void)snprintf(num, sizeof(num), "%d", ntohs(rport));
/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dnet.c84 * Create a TCP connection to host "rhost" at port "rport".
85 * If rport == 0, then use the printer service port.
89 getport(const struct printer *pp, const char *rhost, int rport) argument
104 error = getaddrinfo(rhost, (rport == 0 ? "printer" : NULL),
108 if (rport != 0)
109 ((struct sockaddr_in *) res->ai_addr)->sin_port = htons(rport);
/freebsd-11-stable/sys/netinet/
H A Dsctp_pcb.h137 uint16_t rport; /* the remote port used in vtag */ member in struct:sctp_timewait
467 uint16_t rport; /* remote port in network format */ member in struct:sctp_tcb
592 int sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport);
595 sctp_add_vtag_to_timewait(uint32_t tag, uint32_t time, uint16_t lport, uint16_t rport);
622 int sctp_is_vtag_good(uint32_t, uint16_t lport, uint16_t rport, struct timeval *);
H A Dsctp_indata.h68 (_ctl)->port_from = (in_it)->rport; \
H A Dsctp_pcb.c1019 uint16_t lport, rport; local
1035 rport = ((struct sockaddr_in *)from)->sin_port;
1045 rport = ((struct sockaddr_in6 *)from)->sin6_port;
1054 ephead = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hashtcpmark))];
1180 if (stcb->rport != rport) {
1281 uint16_t rport; local
1287 rport = (((struct sockaddr_in *)remote)->sin_port);
1292 rport = (((struct sockaddr_in6 *)remote)->sin6_port);
1343 if (stcb->rport !
2140 sctp_findassoc_by_vtag(struct sockaddr *from, struct sockaddr *to, uint32_t vtag, struct sctp_inpcb **inp_p, struct sctp_nets **netp, uint16_t rport, uint16_t lport, int skip_src_check, uint32_t vrf_id, uint32_t remote_tag) argument
2644 uint16_t lport, rport; local
4197 uint16_t rport; local
4531 sctp_delete_from_timewait(uint32_t tag, uint16_t lport, uint16_t rport) argument
4558 sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport) argument
4585 sctp_add_vtag_to_timewait(uint32_t tag, uint32_t time, uint16_t lport, uint16_t rport) argument
6747 sctp_is_vtag_good(uint32_t tag, uint16_t lport, uint16_t rport, struct timeval *now) argument
[all...]
H A Dsctp_cc_functions.c99 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net,
198 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net,
620 vtag = (rtt << 32) | (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | (stcb->rport);
809 (stcb->rport);
912 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)),
975 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)),
1006 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net,
1078 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)),
1139 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)),
1258 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)),
[all...]
H A Dip_fw.h482 u_short rport; /* remote port */ member in struct:cfg_redir
534 uint16_t rport; /* remote port */ member in struct:nat44_cfg_redir
H A Dsctputil.h79 uint32_t sctp_select_a_tag(struct sctp_inpcb *, uint16_t lport, uint16_t rport, int);
H A Dsctp_asconf.c199 sin->sin_port = stcb->rport;
222 sin6->sin6_port = stcb->rport;
359 sin->sin_port = stcb->rport;
379 sin6->sin6_port = stcb->rport;
2828 store.sin6.sin6_port = stcb->rport;
2849 store.sin.sin_port = stcb->rport;
H A Dsctp_output.c3671 sin.sin_port = stcb->rport;
3695 sin6.sin6_port = stcb->rport;
4948 inp->sctp_lport, stcb->rport, htonl(0),
8243 inp->sctp_lport, stcb->rport,
8521 inp->sctp_lport, stcb->rport,
8862 inp->sctp_lport, stcb->rport,
9566 inp->sctp_lport, stcb->rport, htonl(stcb->asoc.peer_vtag),
9843 inp->sctp_lport, stcb->rport, htonl(stcb->asoc.peer_vtag),
11021 stcb->sctp_ep->sctp_lport, stcb->rport, htonl(vtag),
11068 stcb->sctp_ep->sctp_lport, stcb->rport,
[all...]
H A Dsctp_sysctl.c448 xstcb.remote_port = ntohs(stcb->rport);
H A Dsctputil.c974 sctp_select_a_tag(struct sctp_inpcb *inp, uint16_t lport, uint16_t rport, int check) argument
988 if (!check || sctp_is_vtag_good(x, lport, rport, &now)) {
1098 asoc->my_vtag = sctp_select_a_tag(inp, stcb->sctp_ep->sctp_lport, stcb->rport, 1);
1101 asoc->my_vtag_nonce = sctp_select_a_tag(inp, stcb->sctp_ep->sctp_lport, stcb->rport, 0);
1102 asoc->peer_vtag_nonce = sctp_select_a_tag(inp, stcb->sctp_ep->sctp_lport, stcb->rport, 0);
H A Dsctp_input.c588 store.sin.sin_port = stcb->rport;
601 store.sin6.sin6_port = stcb->rport;
723 new_vtag = sctp_select_a_tag(stcb->sctp_ep, stcb->sctp_ep->sctp_lport, stcb->rport, 1);
2444 if ((stcb->asoc.my_vtag == tag) && (stcb->rport == rport) && (inp == stcb->sctp_ep)) {
/freebsd-11-stable/lib/libcompat/4.3/
H A Drexec.c295 rexec(ahost, rport, name, pass, cmd, fd2p)
297 int rport;
323 sin.sin_port = rport;
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_nat.c74 uint16_t rport; /* remote port */ member in struct:cfg_redir
208 r->rport = ser_r->rport;
226 u_short remotePortCopy = r->rport + i;
227 if (r->rport_cnt == 1 && r->rport == 0)
738 ser_r->rport = r->rport;
903 u_short rport; member in struct:cfg_redir_legacy
974 urdir->rport = rdir->rport;
[all...]
/freebsd-11-stable/sys/dev/sfxge/common/
H A Defx_filter.c359 __in uint16_t rport)
372 spec->efs_rem_port = rport;
547 uint16_t rport, port1, port2; local
592 rport = is_full ? gen_spec->efs_rem_port : 0;
603 port1 = rport;
607 port2 = rport;
613 port2 = rport;
615 port1 = rport;
353 efx_filter_spec_set_ipv4_full( __inout efx_filter_spec_t *spec, __in uint8_t proto, __in uint32_t lhost, __in uint16_t lport, __in uint32_t rhost, __in uint16_t rport) argument
H A Defx.h2317 __in uint16_t rport);
/freebsd-11-stable/sbin/ipfw/
H A Dnat.c508 r->rport = GETLOPORT(portRange);
520 (r->rport_cnt != 1 || r->rport != 0))
729 if (t->rport) {
730 printf(":%u", t->rport);
732 printf("-%u", t->rport +
/freebsd-11-stable/usr.sbin/ppp/
H A Dip.c152 PortMatch(int op, u_short pport, u_short rport) argument
156 return pport == rport;
158 return pport > rport;
160 return pport < rport;
/freebsd-11-stable/sbin/pfctl/
H A Dparse.y408 struct range rport;
3886 $$->rport.a = $$->rport.b = $$->rport.t = 0;
3893 $$->rport = $4;
4012 $$->rport.a = $$->rport.b = $$->rport.t = 0;
4019 $$->rport = $4;
4121 r.rpool.proxy_port[0] = ntohs($9->rport
[all...]
/freebsd-11-stable/sys/netinet6/
H A Dsctp6_usrreq.c1085 sin6->sin6_port = stcb->rport;
/freebsd-11-stable/contrib/sendmail/src/
H A Ddaemon.c2668 int rport = IPPORT_RESERVED - 1; local
2670 s = rresvport(&rport);

Completed in 246 milliseconds

12