/titanic_50/usr/src/uts/common/inet/sctp/ |
H A D | sctp_conn.c | 355 in_port_t dstport; in sctp_connect() local 411 dstport = sin->sin_port; in sctp_connect() 435 dstport = sin6->sin6_port; in sctp_connect() 504 connp->conn_fport = dstport; in sctp_connect()
|
/titanic_50/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 2060 const in6_addr_t *v6src, const in6_addr_t *v6dst, in_port_t dstport, in udp_prepend_hdr() argument 2089 udpha->uha_dst_port = dstport; in udp_prepend_hdr() 2142 const in6_addr_t *v6dst, in_port_t dstport, uint32_t flowinfo) in udp_build_hdr_template() argument 2165 udpha->uha_dst_port = dstport; in udp_build_hdr_template() 2705 in_port_t dstport; in udp_output_ancillary() local 2807 dstport = sin->sin_port; in udp_output_ancillary() 2815 dstport = sin6->sin6_port; in udp_output_ancillary() 2841 dstport = connp->conn_fport; in udp_output_ancillary() 2858 error = ip_attr_connect(connp, ixa, &v6src, &v6dst, &v6nexthop, dstport, in udp_output_ancillary() 2933 mp = udp_prepend_hdr(connp, ixa, ipp, &v6src, &v6dst, dstport, in udp_output_ancillary() [all …]
|
/titanic_50/usr/src/uts/common/inet/ |
H A D | sadb.h | 640 #define SA_UNIQUE_ID(srcport, dstport, proto, iproto) \ argument 641 ((srcport) | ((uint64_t)(dstport) << 16U) | \ 649 #define SA_UNIQUE_MASK(srcport, dstport, proto, iproto) \ argument 651 (dstport != 0) ? 0xffff : 0, \
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 1210 uint16_t srcport = 0, dstport = 0; in doaddresses() local 1227 dstport = ntohs(sin6->sin6_port); in doaddresses() 1351 sin6->sin6_port = htons(dstport); in doaddresses() 1669 uint16_t srcport = 0, dstport = 0, natt_lport = 0, natt_rport = 0, in doaddup() local 1872 if (dstport != 0) { in doaddup() 1877 dstport = parsenum(*argv, B_TRUE, ebuf); in doaddup() 2847 ((struct sockaddr_in6 *)(dst + 1))->sin6_port = htons(dstport); in doaddup() 2985 uint16_t srcport = 0, dstport = 0; in dodelget() local 3055 if (dstport != 0) { in dodelget() 3061 dstport = parsenum(*argv, B_TRUE, ebuf); in dodelget() [all …]
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | ipmon_y.y | 61 %type <opt> direction dstip dstport every execute group interface 98 | dstport { $$ = $1; } 136 dstport:
|
H A D | ipf_y.y | 872 | dstaddr dstport 873 | '!' dstaddr dstport 910 dstport:
|
/titanic_50/usr/src/uts/common/inet/tcp/ |
H A D | tcp.c | 281 in_port_t dstport, uint_t srcid); 283 in_port_t dstport, uint32_t flowinfo, 1554 tcp_connect_ipv4(tcp_t *tcp, ipaddr_t *dstaddrp, in_port_t dstport, in tcp_connect_ipv4() argument 1596 connp->conn_fport = dstport; in tcp_connect_ipv4() 1643 tcp_connect_ipv6(tcp_t *tcp, in6_addr_t *dstaddrp, in_port_t dstport, in tcp_connect_ipv6() argument 1692 connp->conn_fport = dstport; in tcp_connect_ipv6() 4086 in_port_t dstport; in tcp_do_connect() local 4193 dstport = sin6->sin6_port; in tcp_do_connect() 4195 error = tcp_connect_ipv4(tcp, dstaddrp, dstport, in tcp_do_connect() 4200 dstport = sin->sin_port; in tcp_do_connect() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | DNSCommon.h | 263 …const mDNSAddr *dstaddr, mDNSIPPort dstport, const DNSMessage *const msg, const mDNSu8 *const end); 279 mDNSIPPort dstport, TCPSocket *sock, DomainAuthInfo *authInfo,
|
H A D | mDNS.c | 7685 … const mDNSAddr *srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, in mDNSCoreReceiveQuery() argument 7696 srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), InterfaceID, in mDNSCoreReceiveQuery() 7706 srcaddr, mDNSVal16(srcport), dstaddr, mDNSVal16(dstport), InterfaceID, in mDNSCoreReceiveQuery() 8183 mDNSIPPort dstport, const mDNSInterfaceID InterfaceID) in mDNSCoreReceiveNoDNSSECAnswers() argument 8193 …if (ptr && (qptr = ExpectingUnicastResponseForQuestion(m, dstport, response->h.id, &pktq, !dstaddr… in mDNSCoreReceiveNoDNSSECAnswers() 8226 …mDNSIPPort dstport, const mDNSInterfaceID InterfaceID, uDNS_LLQType LLQType, mDNSu8 rcode, CacheRe… in mDNSCoreReceiveNoUnicastAnswers() argument 8237 … if (ptr && (qptr = ExpectingUnicastResponseForQuestion(m, dstport, response->h.id, &q, !dstaddr))) in mDNSCoreReceiveNoUnicastAnswers() 8738 … const mDNSAddr *srcaddr, const mDNSIPPort srcport, const mDNSAddr *dstaddr, mDNSIPPort dstport, in mDNSCoreReceiveResponse() argument 8825 … if (ptr && (qptr = ExpectingUnicastResponseForQuestion(m, dstport, response->h.id, &q, !dstaddr))) in mDNSCoreReceiveResponse() 9005 …ion *q = ExpectingUnicastResponseForRecord(m, srcaddr, ResponseSrcLocal, dstport, response->h.id, … in mDNSCoreReceiveResponse() [all …]
|
H A D | mDNSEmbeddedAPI.h | 3086 mDNSIPPort dstport, mDNSBool useBackgroundTrafficClass); 3172 extern mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstport… 3267 … const mDNSAddr *dstaddr, const mDNSIPPort dstport, const mDNSInterfaceID InterfaceID); 3334 …const mDNSIPPort srcport, const mDNSAddr *dstaddr, const mDNSIPPort dstport, const mDNSInterfaceID…
|
H A D | DNSCommon.c | 3675 … const mDNSAddr *dstaddr, mDNSIPPort dstport, const DNSMessage *const msg, const mDNSu8 *const end) in DumpPacket() argument 3686 if (dstaddr || !mDNSIPPortIsZero(dstport)) in DumpPacket() 3687 … dbuffer[mDNS_snprintf(dbuffer, sizeof(dbuffer), " to %#a:%d", dstaddr, mDNSVal16(dstport))] = 0; in DumpPacket() 3738 mDNSIPPort dstport, TCPSocket *sock, DomainAuthInfo *authInfo, in mDNSSendDNSMessage() argument 3774 …status = mDNSPlatformSendUDP(m, msg, end, InterfaceID, src, dst, dstport, useBackgroundTrafficClas… in mDNSSendDNSMessage() 3827 src ? src->port : port, dst, dstport, msg, end); in mDNSSendDNSMessage()
|
H A D | mDNSPosix.c | 358 …DNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstport, domainname *host… in mDNSPlatformTCPConnect() argument 363 (void)dstport; // Unused in mDNSPlatformTCPConnect()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | icmp.c | 723 uint16_t dstport; in rawip_do_connect() local 752 dstport = sin->sin_port; in rawip_do_connect() 765 dstport = sin6->sin6_port; in rawip_do_connect() 822 connp->conn_fport = dstport; in rawip_do_connect() 3343 in_port_t dstport; in icmp_output_ancillary() local 3442 dstport = sin->sin_port; in icmp_output_ancillary() 3451 dstport = sin6->sin6_port; in icmp_output_ancillary() 3512 error = ip_attr_connect(connp, ixa, &v6src, &v6dst, &v6nexthop, dstport, in icmp_output_ancillary() 4388 in_port_t dstport; in icmp_output_newdst() local 4433 dstport = sin->sin_port; in icmp_output_newdst() [all …]
|
H A D | conn_opt.c | 2504 const in6_addr_t *v6nexthop, in_port_t dstport, in6_addr_t *laddrp, in ip_attr_connect() argument 2559 ipsec_cache_outbound_policy(connp, v6src, v6dst, dstport, ixa); in ip_attr_connect()
|
H A D | spd.c | 4407 const in6_addr_t *v6dst, in_port_t dstport, ip_xmit_attr_t *ixa) in ipsec_cache_outbound_policy() argument 4449 sel.ips_remote_port = dstport; in ipsec_cache_outbound_policy()
|
/titanic_50/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 1264 in_port_t dstport; in tcp_connect() local 1277 dstport = sockets[sock_id].remote.sin_port; in tcp_connect() 1323 dstport == tcp->tcp_lport) { in tcp_connect() 1331 *(uint16_t *)tcph->th_fport = dstport; in tcp_connect() 1332 tcp->tcp_fport = dstport; in tcp_connect()
|
/titanic_50/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_proto.c | 5140 ushort_t dstport = (ushort_t)dp->dcpu; in idn_send_data() local 5197 dstport = *(ushort_t *)dstporta; in idn_send_data() 5205 IDN_ASSIGN_DCPU(dp, dstport); in idn_send_data() 5208 proc, dst_domid, (int)dstport, dp->dcpu); in idn_send_data()
|