Home
last modified time | relevance | path

Searched refs:rport (Results 1 – 14 of 14) sorted by relevance

/third_party/toybox/toys/net/
Dnetstat.c126 unsigned lport, rport, state, txq, rxq, num, uid, nitems; in show_ip() local
134 &raddr.i6.u.c, &raddr.i6.u.d, &rport, &state, &txq, &rxq, in show_ip()
140 &num, &laddr.i4.u, &lport, &raddr.i4.u, &rport, &state, &txq, in show_ip()
148 if (!((toys.optflags & FLAG_l) && (!rport && (state & 0xA))) in show_ip()
149 && !(toys.optflags & FLAG_a) && !(rport & (0x10 | 0x20 | 0x40))) in show_ip()
153 addr2str(nitems, &raddr, rport, rip, TT.wpad, label); in show_ip()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_pcb.c1156 uint16_t lport, rport; local
1175 rport = ((struct sockaddr_in *)from)->sin_port;
1185 rport = ((struct sockaddr_in6 *)from)->sin6_port;
1195 rport = ((struct sockaddr_conn *)from)->sconn_port;
1204 …ephead = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR((lport | rport), SCTP_BASE_INFO(hash…
1358 if (stcb->rport != rport) {
1473 uint16_t rport; local
1479 rport = (((struct sockaddr_in *)remote)->sin_port);
1484 rport = (((struct sockaddr_in6 *)remote)->sin6_port);
1489 rport = (((struct sockaddr_conn *)remote)->sconn_port);
[all …]
Dsctp_pcb.h142 uint16_t rport; /* the remote port used in vtag */ member
620 uint16_t rport; /* remote port in network format */ member
812 int sctp_is_in_timewait(uint32_t tag, uint16_t lport, uint16_t rport);
815 sctp_add_vtag_to_timewait(uint32_t tag, uint32_t time, uint16_t lport, uint16_t rport);
846 int sctp_is_vtag_good(uint32_t, uint16_t lport, uint16_t rport, struct timeval *);
Dsctp_cc_functions.c106 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_set_initial_cc_param()
201 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_after_fr()
678 vtag = (rtt << 32) | (((uint32_t)(stcb->sctp_ep->sctp_lport)) << 16) | (stcb->rport); in cc_bw_limit()
889 (stcb->rport); in sctp_cwnd_update_after_sack_common()
993 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_sack_common()
1057 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_sack_common()
1097 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_exit_pf_common()
1171 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_timeout()
1226 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_ecn_echo_common()
1347 ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), in sctp_cwnd_update_after_packet_dropped()
[all …]
Dsctp_indata.h72 (_ctl)->port_from = (in_it)->rport; \
Dsctp_asconf.c204 sin->sin_port = stcb->rport; in sctp_process_asconf_add_ip()
229 sin6->sin6_port = stcb->rport; in sctp_process_asconf_add_ip()
368 sin->sin_port = stcb->rport; in sctp_process_asconf_delete_ip()
390 sin6->sin6_port = stcb->rport; in sctp_process_asconf_delete_ip()
2849 store.sin6.sin6_port = stcb->rport; in sctp_process_initack_addresses()
2872 store.sin.sin_port = stcb->rport; in sctp_process_initack_addresses()
Dsctputil.h85 uint32_t sctp_select_a_tag(struct sctp_inpcb *, uint16_t lport, uint16_t rport, int);
Dsctp_output.c3782 sin.sin_port = stcb->rport;
3808 sin6.sin6_port = stcb->rport;
5349 inp->sctp_lport, stcb->rport, htonl(0),
8767 inp->sctp_lport, stcb->rport,
9038 inp->sctp_lport, stcb->rport,
9380 inp->sctp_lport, stcb->rport,
10088 inp->sctp_lport, stcb->rport, htonl(stcb->asoc.peer_vtag),
10369 … inp->sctp_lport, stcb->rport, htonl(stcb->asoc.peer_vtag),
11555 stcb->sctp_ep->sctp_lport, stcb->rport, htonl(vtag),
11604 stcb->sctp_ep->sctp_lport, stcb->rport,
[all …]
Dsctp_input.c640 store.sin.sin_port = stcb->rport; in sctp_handle_heartbeat_ack()
655 store.sin6.sin6_port = stcb->rport; in sctp_handle_heartbeat_ack()
669 store.sconn.sconn_port = stcb->rport; in sctp_handle_heartbeat_ack()
789 new_vtag = sctp_select_a_tag(stcb->sctp_ep, stcb->sctp_ep->sctp_lport, stcb->rport, 1); in sctp_handle_nat_colliding_state()
Dsctputil.c1080 sctp_select_a_tag(struct sctp_inpcb *inp, uint16_t lport, uint16_t rport, int check) in sctp_select_a_tag() argument
1094 if (!check || sctp_is_vtag_good(x, lport, rport, &now)) { in sctp_select_a_tag()
1203 asoc->my_vtag = sctp_select_a_tag(inp, stcb->sctp_ep->sctp_lport, stcb->rport, 1); in sctp_init_asoc()
1206 asoc->my_vtag_nonce = sctp_select_a_tag(inp, stcb->sctp_ep->sctp_lport, stcb->rport, 0); in sctp_init_asoc()
1207 asoc->peer_vtag_nonce = sctp_select_a_tag(inp, stcb->sctp_ep->sctp_lport, stcb->rport, 0); in sctp_init_asoc()
Dsctp_sysctl.c564 xstcb.remote_port = ntohs(stcb->rport);
Dsctp_usrreq.c2878 ((struct sockaddr_in *)addr)->sin_port = stcb->rport;
3284 ((struct sockaddr_in *)&sstat->sstat_primary.spinfo_address)->sin_port = stcb->rport;
8787 sin->sin_port = stcb->rport;
Dsctp_indata.c171 read_queue_e->port_from = stcb->rport; in sctp_build_readq_entry()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c1469 sin6->sin6_port = stcb->rport;