sin_port 127 arch/um/drivers/port_user.c addr.sin_port = htons(port); sin_port 37 arch/um/drivers/umcast_user.c sin->sin_port = htons(port); sin_port 75 arch/um/drivers/umcast_user.c (lsin->sin_port == 0) || (rsin->sin_port == 0)) sin_port 614 drivers/block/drbd/drbd_receiver.c ((struct sockaddr_in *)&src_in6)->sin_port = 0; /* AF_INET & AF_SCI */ sin_port 1217 drivers/infiniband/core/cma.c return ((struct sockaddr_in *) addr)->sin_port; sin_port 1280 drivers/infiniband/core/cma.c .sin_port = local_port, sin_port 1288 drivers/infiniband/core/cma.c .sin_port = hdr->port, sin_port 3253 drivers/infiniband/core/cma.c ((struct sockaddr_in *) addr)->sin_port = port; sin_port 3656 drivers/infiniband/core/cma.c cma_hdr->port = src4->sin_port; sin_port 463 drivers/infiniband/core/iwpm_util.c && a4_sockaddr->sin_port == b4_sockaddr->sin_port) sin_port 543 drivers/infiniband/core/iwpm_util.c ntohs(sockaddr_v4->sin_port), sin_port 544 drivers/infiniband/core/iwpm_util.c ntohs(sockaddr_v4->sin_port)); sin_port 568 drivers/infiniband/core/iwpm_util.c u32 hash = jhash_2words(ipv4_hash, (__force u32) ipv4_sockaddr->sin_port, 0); sin_port 459 drivers/infiniband/hw/cxgb3/iwch_cm.c req->local_port = ep->com.local_addr.sin_port; sin_port 460 drivers/infiniband/hw/cxgb3/iwch_cm.c req->peer_port = ep->com.remote_addr.sin_port; sin_port 1209 drivers/infiniband/hw/cxgb3/iwch_cm.c req->local_port = ep->com.local_addr.sin_port; sin_port 1389 drivers/infiniband/hw/cxgb3/iwch_cm.c child_ep->com.local_addr.sin_port = req->local_port; sin_port 1392 drivers/infiniband/hw/cxgb3/iwch_cm.c child_ep->com.remote_addr.sin_port = req->peer_port; sin_port 1932 drivers/infiniband/hw/cxgb3/iwch_cm.c raddr->sin_addr.s_addr, laddr->sin_port, sin_port 1933 drivers/infiniband/hw/cxgb3/iwch_cm.c raddr->sin_port, IPTOS_LOWDELAY); sin_port 851 drivers/infiniband/hw/cxgb4/cm.c req->local_port = la->sin_port; sin_port 852 drivers/infiniband/hw/cxgb4/cm.c req->peer_port = ra->sin_port; sin_port 1975 drivers/infiniband/hw/cxgb4/cm.c req->le.lport = sin->sin_port; sin_port 1978 drivers/infiniband/hw/cxgb4/cm.c req->le.pport = sin->sin_port; sin_port 2202 drivers/infiniband/hw/cxgb4/cm.c laddr->sin_port, sin_port 2203 drivers/infiniband/hw/cxgb4/cm.c raddr->sin_port, ep->com.cm_id->tos); sin_port 2343 drivers/infiniband/hw/cxgb4/cm.c &la->sin_addr.s_addr, ntohs(la->sin_port), sin_port 2344 drivers/infiniband/hw/cxgb4/cm.c &ra->sin_addr.s_addr, ntohs(ra->sin_port)); sin_port 2610 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = local_port; sin_port 2615 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = ((struct sockaddr_in *) sin_port 2616 drivers/infiniband/hw/cxgb4/cm.c &parent_ep->com.local_addr)->sin_port; sin_port 2621 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = peer_port; sin_port 3390 drivers/infiniband/hw/cxgb4/cm.c &laddr->sin_addr, ntohs(laddr->sin_port), sin_port 3391 drivers/infiniband/hw/cxgb4/cm.c ra, ntohs(raddr->sin_port)); sin_port 3395 drivers/infiniband/hw/cxgb4/cm.c laddr->sin_port, sin_port 3396 drivers/infiniband/hw/cxgb4/cm.c raddr->sin_port, cm_id->tos); sin_port 3506 drivers/infiniband/hw/cxgb4/cm.c sin->sin_addr.s_addr, sin->sin_port, 0, sin_port 3520 drivers/infiniband/hw/cxgb4/cm.c ep->stid, sin->sin_addr.s_addr, sin->sin_port, sin_port 3532 drivers/infiniband/hw/cxgb4/cm.c &sin->sin_addr, ntohs(sin->sin_port)); sin_port 276 drivers/infiniband/hw/cxgb4/device.c &lsin->sin_addr, ntohs(lsin->sin_port), sin_port 277 drivers/infiniband/hw/cxgb4/device.c ntohs(m_lsin->sin_port), sin_port 278 drivers/infiniband/hw/cxgb4/device.c &rsin->sin_addr, ntohs(rsin->sin_port), sin_port 279 drivers/infiniband/hw/cxgb4/device.c ntohs(m_rsin->sin_port)); sin_port 584 drivers/infiniband/hw/cxgb4/device.c &lsin->sin_addr, ntohs(lsin->sin_port), sin_port 585 drivers/infiniband/hw/cxgb4/device.c ntohs(m_lsin->sin_port), sin_port 586 drivers/infiniband/hw/cxgb4/device.c &rsin->sin_addr, ntohs(rsin->sin_port), sin_port 587 drivers/infiniband/hw/cxgb4/device.c ntohs(m_rsin->sin_port)); sin_port 636 drivers/infiniband/hw/cxgb4/device.c &lsin->sin_addr, ntohs(lsin->sin_port), sin_port 637 drivers/infiniband/hw/cxgb4/device.c ntohs(m_lsin->sin_port)); sin_port 179 drivers/infiniband/hw/i40iw/i40iw_cm.c laddr->sin_port = htons(cm_node->loc_port); sin_port 180 drivers/infiniband/hw/i40iw/i40iw_cm.c raddr->sin_port = htons(cm_node->rem_port); sin_port 3847 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!(laddr->sin_port) || !(raddr->sin_port)) sin_port 3861 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.loc_port = ntohs(laddr->sin_port); sin_port 3862 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.rem_port = ntohs(raddr->sin_port); sin_port 3978 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.loc_port = ntohs(laddr->sin_port); sin_port 52 drivers/infiniband/hw/qedr/qedr_iw_cm.c laddr->sin_port = htons(cm_info->local_port); sin_port 53 drivers/infiniband/hw/qedr/qedr_iw_cm.c raddr->sin_port = htons(cm_info->remote_port); sin_port 543 drivers/infiniband/hw/qedr/qedr_iw_cm.c ntohs(((struct sockaddr_in *)&cm_id->remote_addr)->sin_port), sin_port 544 drivers/infiniband/hw/qedr/qedr_iw_cm.c ntohs(raddr->sin_port)); sin_port 550 drivers/infiniband/hw/qedr/qedr_iw_cm.c if (!laddr->sin_port || !raddr->sin_port) sin_port 583 drivers/infiniband/hw/qedr/qedr_iw_cm.c cm_info->remote_port = ntohs(raddr->sin_port); sin_port 584 drivers/infiniband/hw/qedr/qedr_iw_cm.c cm_info->local_port = ntohs(laddr->sin_port); sin_port 682 drivers/infiniband/hw/qedr/qedr_iw_cm.c iparams.port = ntohs(laddr->sin_port); sin_port 192 drivers/infiniband/hw/usnic/usnic_transport.c *port = ntohs(((struct sockaddr_in *)&sock_addr)->sin_port); sin_port 1365 drivers/infiniband/sw/siw/siw_cm.c if ((v4 && to_sockaddr_in(id->remote_addr).sin_port != 0) || sin_port 1380 drivers/infiniband/sw/siw/siw_cm.c ntohs(((struct sockaddr_in *)(laddr))->sin_port), sin_port 1382 drivers/infiniband/sw/siw/siw_cm.c ntohs(((struct sockaddr_in *)(raddr))->sin_port)); sin_port 3671 drivers/infiniband/ulp/srpt/ib_srpt.c addr4.sin_port = cpu_to_be16(val); sin_port 287 drivers/isdn/mISDN/l1oip_core.c if (!hc->sin_remote.sin_addr.s_addr || !hc->sin_remote.sin_port) { sin_port 612 drivers/isdn/mISDN/l1oip_core.c || (hc->sin_remote.sin_port != sin->sin_port)) { sin_port 618 drivers/isdn/mISDN/l1oip_core.c ntohs(hc->sin_remote.sin_port), sin_port 619 drivers/isdn/mISDN/l1oip_core.c ntohs(sin->sin_port)); sin_port 621 drivers/isdn/mISDN/l1oip_core.c hc->sin_remote.sin_port = sin->sin_port; sin_port 668 drivers/isdn/mISDN/l1oip_core.c hc->sin_local.sin_port = htons((unsigned short)hc->localport); sin_port 673 drivers/isdn/mISDN/l1oip_core.c hc->sin_remote.sin_port = htons((unsigned short)hc->remoteport); sin_port 3791 drivers/net/ethernet/broadcom/cnic.c csk->dst_port = saddr->remote.v4.sin_port; sin_port 3792 drivers/net/ethernet/broadcom/cnic.c local_port = saddr->local.v4.sin_port; sin_port 169 drivers/scsi/be2iscsi/be_mgmt.c req->tcp_port = ntohs(daddr_in->sin_port); sin_port 171 drivers/scsi/be2iscsi/be_mgmt.c beiscsi_ep->dst_tcpport = ntohs(daddr_in->sin_port); sin_port 167 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c req->local_port = csk->saddr.sin_port; sin_port 168 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c req->peer_port = csk->daddr.sin_port; sin_port 578 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c &csk->saddr.sin_addr.s_addr, ntohs(csk->saddr.sin_port), sin_port 579 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c &csk->daddr.sin_addr.s_addr, ntohs(csk->daddr.sin_port)); sin_port 1007 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c &csk->saddr.sin_addr.s_addr, ntohs(csk->saddr.sin_port), sin_port 1008 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c &csk->daddr.sin_addr.s_addr, ntohs(csk->daddr.sin_port)); sin_port 233 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; sin_port 234 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->peer_port = csk->daddr.sin_port; sin_port 257 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; sin_port 258 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->peer_port = csk->daddr.sin_port; sin_port 285 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; sin_port 286 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->peer_port = csk->daddr.sin_port; sin_port 428 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c &csk->saddr6.sin6_addr, ntohs(csk->saddr.sin_port), sin_port 429 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c &csk->daddr6.sin6_addr, ntohs(csk->daddr.sin_port), sin_port 452 drivers/scsi/cxgbi/libcxgbi.c port = &csk->saddr.sin_port; sin_port 505 drivers/scsi/cxgbi/libcxgbi.c port = &csk->saddr.sin_port; sin_port 617 drivers/scsi/cxgbi/libcxgbi.c daddr->sin_port, 0, ifindex); sin_port 621 drivers/scsi/cxgbi/libcxgbi.c be16_to_cpu(daddr->sin_port)); sin_port 635 drivers/scsi/cxgbi/libcxgbi.c &daddr->sin_addr.s_addr, ntohs(daddr->sin_port), sin_port 669 drivers/scsi/cxgbi/libcxgbi.c &daddr->sin_addr.s_addr, ntohs(daddr->sin_port), sin_port 684 drivers/scsi/cxgbi/libcxgbi.c csk->daddr.sin_port = daddr->sin_port; sin_port 860 drivers/scsi/cxgbi/libcxgbi.c if (csk->saddr.sin_port) sin_port 909 drivers/scsi/cxgbi/libcxgbi.c &csk->saddr.sin_addr.s_addr, csk->saddr.sin_port, sin_port 910 drivers/scsi/cxgbi/libcxgbi.c &csk->daddr.sin_addr.s_addr, csk->daddr.sin_port, sin_port 2293 drivers/scsi/cxgbi/libcxgbi.c len = sprintf(buf, "%hu\n", ntohs(csk->daddr.sin_port)); sin_port 3484 drivers/scsi/libiscsi.c len = sprintf(buf, "%hu\n", be16_to_cpu(sin->sin_port)); sin_port 851 drivers/scsi/qedi/qedi_iscsi.c qedi_ep->dst_port = ntohs(addr->sin_port); sin_port 2049 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->port = cpu_to_le16(ntohs(addr->sin_port)); sin_port 6579 drivers/scsi/qla4xxx/ql4_os.c addr->sin_port = htons(le16_to_cpu(fw_ddb_entry->port)); sin_port 204 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); sin_port 211 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_port, 0, sin_port 224 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret, stid, &sin->sin_addr, ntohs(sin->sin_port)); sin_port 1331 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_port = local_port; sin_port 1336 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_port = peer_port; sin_port 553 drivers/target/iscsi/cxgbit/cxgbit_main.c local_port = ntohs(sock_in->sin_port); sin_port 292 drivers/target/iscsi/iscsi_target.c port = ntohs(sock_in->sin_port); sin_port 293 drivers/target/iscsi/iscsi_target.c port_e = ntohs(sock_in_e->sin_port); sin_port 995 drivers/target/iscsi/iscsi_target_login.c sock_in.sin_port = sock_in6.sin6_port; sin_port 1009 drivers/target/iscsi/iscsi_target_login.c sock_in.sin_port = sock_in6.sin6_port; sin_port 286 fs/afs/addr_list.c u16 a_port = ntohs(a->sin_port); sin_port 306 fs/afs/addr_list.c srx->transport.sin.sin_port = htons(port); sin_port 70 fs/afs/server.c diff = ((u16 __force)a->sin_port - sin_port 71 fs/afs/server.c (u16 __force)b->sin_port); sin_port 2558 fs/cifs/connect.c sport = &((struct sockaddr_in *) &server->dstaddr)->sin_port; sin_port 2559 fs/cifs/connect.c port = ((struct sockaddr_in *) addr)->sin_port; sin_port 3875 fs/cifs/connect.c sport = ((struct sockaddr_in *) saddr)->sin_port; sin_port 3964 fs/cifs/connect.c sport = &addr->sin_port; sin_port 60 fs/cifs/fscache.c key.hdr.port = addr->sin_port; sin_port 195 fs/cifs/netmisc.c ((struct sockaddr_in *)addr)->sin_port = htons(port); sin_port 505 fs/cifs/smb2ops.c addr4->sin_port = cpu_to_be16(CIFS_PORT); sin_port 597 fs/cifs/smbdirect.c sport = &((struct sockaddr_in *)dstaddr)->sin_port; sin_port 277 fs/dlm/lowcomms.c if (sinx->sin_port != siny->sin_port) sin_port 576 fs/dlm/lowcomms.c in4_addr->sin_port = cpu_to_be16(port); sin_port 2299 fs/nfs/flexfilelayout/flexfilelayout.c port = ntohs(((struct sockaddr_in *)sap)->sin_port); sin_port 64 fs/nfs/fscache.c key.hdr.port = sin->sin_port; sin_port 358 fs/nfs/pnfs_nfs.c a->sin_port == b->sin_port) sin_port 873 fs/nfs/pnfs_nfs.c ((struct sockaddr_in *)&da->da_addr)->sin_port = port; sin_port 2074 fs/nfs/super.c args->nfs_server.port = ntohs(data->addr.sin_port); sin_port 2509 fs/nfs/super.c if (sin1->sin_port != sin2->sin_port) sin_port 2863 fs/nfs/super.c args->nfs_server.port = ntohs(((struct sockaddr_in *)sap)->sin_port); sin_port 106 fs/nfsd/flexfilelayout.c port = ntohs(sin->sin_port); sin_port 1631 fs/ocfs2/cluster/tcp.c myaddr.sin_port = htons(0); /* any port */ sin_port 1662 fs/ocfs2/cluster/tcp.c remoteaddr.sin_port = node->nd_ipv4_port; sin_port 1859 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin_port 1875 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin_port 1886 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin_port 1903 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin_port 2016 fs/ocfs2/cluster/tcp.c .sin_port = port, sin_port 313 include/linux/lockd/lockd.h if (ntohs(sin->sin_port) > 1023) sin_port 27 include/linux/sunrpc/addr.h return ntohs(((struct sockaddr_in *)sap)->sin_port); sin_port 39 include/linux/sunrpc/addr.h ((struct sockaddr_in *)sap)->sin_port = htons(port); sin_port 167 include/linux/sunrpc/svc_xprt.h return ntohs(sin->sin_port); sin_port 205 include/linux/sunrpc/svc_xprt.h ntohs(sin->sin_port)); sin_port 540 include/net/sctp/sctp.h addr->v4.sin_port = addr->v6.sin6_port; sin_port 549 include/net/sctp/sctp.h port = addr->v4.sin_port; sin_port 11 include/trace/events/net_probe_common.h v4->sin_port = inet->inet_sport; \ sin_port 15 include/trace/events/net_probe_common.h v4->sin_port = inet->inet_dport; \ sin_port 234 include/uapi/linux/in.h __be16 sin_port; /* Port number */ sin_port 420 lib/test_printf.c sa.sin_port = cpu_to_be16(12345); sin_port 1510 lib/vsprintf.c p = number(p, pend, ntohs(sa->sin_port), spec); sin_port 934 net/9p/trans_fd.c cl.sin_port = htons((ushort)port); sin_port 964 net/9p/trans_fd.c sin_server.sin_port = htons(opts.port); sin_port 611 net/9p/trans_rdma.c cl.sin_port = htons((ushort)port); sin_port 669 net/9p/trans_rdma.c rdma->addr.sin_port = htons(opts.port); sin_port 204 net/ceph/messenger.c ntohs(in4->sin_port)); sin_port 1822 net/ceph/messenger.c return ntohs(get_unaligned(&((struct sockaddr_in *)&addr->in_addr)->sin_port)); sin_port 1833 net/ceph/messenger.c put_unaligned(htons(p), &((struct sockaddr_in *)&addr->in_addr)->sin_port); sin_port 4523 net/core/filter.c if (((struct sockaddr_in *)addr)->sin_port != htons(0)) sin_port 7919 net/core/filter.c BUILD_BUG_ON(offsetof(struct sockaddr_in, sin_port) != sin_port 7921 net/core/filter.c BUILD_BUG_ON(FIELD_SIZEOF(struct sockaddr_in, sin_port) != sin_port 315 net/core/utils.c addr4->sin_port = htons(port_num); sin_port 69 net/dccp/ipv4.c orig_dport = usin->sin_port; sin_port 89 net/dccp/ipv4.c inet->inet_dport = usin->sin_port; sin_port 884 net/dccp/ipv6.c sin.sin_port = usin->sin6_port; sin_port 496 net/ipv4/af_inet.c snum = ntohs(addr->sin_port); sin_port 773 net/ipv4/af_inet.c sin->sin_port = inet->inet_dport; sin_port 779 net/ipv4/af_inet.c sin->sin_port = inet->inet_sport; sin_port 51 net/ipv4/datagram.c inet->inet_sport, usin->sin_port, sk); sin_port 72 net/ipv4/datagram.c inet->inet_dport = usin->sin_port; sin_port 1046 net/ipv4/inet_connection_sock.c sin->sin_port = inet->inet_dport; sin_port 165 net/ipv4/ip_sockglue.c sin.sin_port = ports[1]; sin_port 535 net/ipv4/ip_sockglue.c sin->sin_port = serr->port; sin_port 336 net/ipv4/ipconfig.c sin->sin_port = port; sin_port 311 net/ipv4/ping.c sk, &addr->sin_addr.s_addr, ntohs(addr->sin_port)); sin_port 424 net/ipv4/ping.c snum = ntohs(((struct sockaddr_in *)uaddr)->sin_port); sin_port 890 net/ipv4/ping.c sin->sin_port = 0 /* skb->h.uh->source */; sin_port 787 net/ipv4/raw.c sin->sin_port = 0; sin_port 228 net/ipv4/tcp_ipv4.c orig_dport = usin->sin_port; sin_port 261 net/ipv4/tcp_ipv4.c inet->inet_dport = usin->sin_port; sin_port 300 net/ipv4/tcp_ipv4.c usin->sin_port)); sin_port 1028 net/ipv4/udp.c dport = usin->sin_port; sin_port 1077 net/ipv4/udp.c if (usin->sin_port == 0) { sin_port 1083 net/ipv4/udp.c dport = usin->sin_port; sin_port 1797 net/ipv4/udp.c sin->sin_port = udp_hdr(skb)->source; sin_port 34 net/ipv4/udp_tunnel.c udp_addr.sin_port = cfg->local_udp_port; sin_port 43 net/ipv4/udp_tunnel.c udp_addr.sin_port = cfg->peer_udp_port; sin_port 186 net/ipv6/datagram.c sin.sin_port = usin->sin6_port; sin_port 236 net/ipv6/tcp_ipv6.c sin.sin_port = usin->sin6_port; sin_port 1277 net/ipv6/udp.c sin.sin_port = sin6 ? sin6->sin6_port : inet->inet_dport; sin_port 743 net/key/af_key.c sin->sin_port = port; sin_port 2271 net/key/af_key.c xp->selector.sport = ((struct sockaddr_in *)(sa+1))->sin_port; sin_port 2284 net/key/af_key.c xp->selector.dport = ((struct sockaddr_in *)(sa+1))->sin_port; sin_port 2378 net/key/af_key.c sel.sport = ((struct sockaddr_in *)(sa+1))->sin_port; sin_port 2386 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa+1))->sin_port; sin_port 2586 net/key/af_key.c sel.sport = ((struct sockaddr_in *)(sa + 1))->sin_port; sin_port 2595 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa + 1))->sin_port; sin_port 559 net/l2tp/l2tp_ip.c sin->sin_port = 0; sin_port 942 net/l2tp/l2tp_ppp.c sp.pppol2tp.addr.sin_port = inet->inet_dport; sin_port 998 net/l2tp/l2tp_ppp.c sp.pppol2tp.addr.sin_port = inet->inet_dport; sin_port 1445 net/netfilter/ipvs/ip_vs_sync.c sin.sin_port = 0; sin_port 1463 net/netfilter/ipvs/ip_vs_sync.c .sin_port = htons(c->mcast_port + id), sin_port 275 net/netfilter/nf_conntrack_proto.c sin.sin_port = ct->tuplehash[IP_CT_DIR_ORIGINAL] sin_port 282 net/netfilter/nf_conntrack_proto.c &sin.sin_addr.s_addr, ntohs(sin.sin_port)); sin_port 131 net/rds/af_rds.c sin->sin_port = rs->rs_conn_port; sin_port 178 net/rds/af_rds.c sin->sin_port = rs->rs_bound_port; sin_port 316 net/rds/af_rds.c sin6.sin6_port = sin.sin_port; sin_port 568 net/rds/af_rds.c rs->rs_conn_port = sin->sin_port; sin_port 188 net/rds/bind.c port = sin->sin_port; sin_port 941 net/rds/ib_cm.c sin->sin_port = 0; sin_port 946 net/rds/ib_cm.c sin->sin_port = htons(RDS_PORT); sin_port 254 net/rds/rdma_transport.c sin.sin_port = htons(RDS_PORT); sin_port 727 net/rds/recv.c sin->sin_port = inc->i_hdr.h_sport; sin_port 1152 net/rds/send.c dport = usin->sin_port; sin_port 139 net/rds/tcp_connect.c sin.sin_port = 0; sin_port 162 net/rds/tcp_connect.c sin.sin_port = htons(RDS_TCP_PORT); sin_port 325 net/rds/tcp_listen.c sin->sin_port = (__force u16)htons(RDS_TCP_PORT); sin_port 132 net/rxrpc/conn_object.c if (peer->srx.transport.sin.sin_port != sin_port 133 net/rxrpc/conn_object.c srx.transport.sin.sin_port || sin_port 50 net/rxrpc/local_object.c return ((u16 __force)local->srx.transport.sin.sin_port - sin_port 51 net/rxrpc/local_object.c (u16 __force)srx->transport.sin.sin_port) ?: sin_port 48 net/rxrpc/peer_event.c srx->transport.sin.sin_port = serr->port; sin_port 83 net/rxrpc/peer_event.c srx->transport.sin.sin_port = serr->port; sin_port 44 net/rxrpc/peer_object.c hash_key += (u16 __force)srx->transport.sin.sin_port; sin_port 50 net/rxrpc/peer_object.c hash_key += (u16 __force)srx->transport.sin.sin_port; sin_port 93 net/rxrpc/peer_object.c return ((u16 __force)peer->srx.transport.sin.sin_port - sin_port 94 net/rxrpc/peer_object.c (u16 __force)srx->transport.sin.sin_port) ?: sin_port 25 net/rxrpc/utils.c srx->transport.sin.sin_port = udp_hdr(skb)->source; sin_port 590 net/sctp/associola.c port = ntohs(addr->v4.sin_port); sin_port 1608 net/sctp/associola.c if ((asoc->base.bind_addr.port == ntohs(laddr->v4.sin_port)) && sin_port 153 net/sctp/bind_addr.c if (!addr->a.v4.sin_port) sin_port 154 net/sctp/bind_addr.c addr->a.v4.sin_port = htons(bp->port); sin_port 445 net/sctp/diag.c laddr.v4.sin_port = req->id.idiag_sport; sin_port 449 net/sctp/diag.c paddr.v4.sin_port = req->id.idiag_dport; sin_port 246 net/sctp/endpointola.c if ((htons(ep->base.bind_addr.port) == laddr->v4.sin_port) && sin_port 822 net/sctp/input.c return jhash_3words(addr, ((__force __u32)paddr->v4.sin_port) << 16 | sin_port 839 net/sctp/input.c lport = laddr->v4.sin_port; sin_port 983 net/sctp/input.c .lport = laddr->v4.sin_port, sin_port 1314 net/sctp/input.c &laddr->v4.sin_addr, ntohs(laddr->v4.sin_port), sin_port 1315 net/sctp/input.c &paddr->v4.sin_addr, ntohs(paddr->v4.sin_port)); sin_port 821 net/sctp/ipv6.c addr->v4.sin_port = htons(asoc->peer.port); sin_port 852 net/sctp/ipv6.c addr->v4.sin_port = sh->source; sin_port 160 net/sctp/protocol.c laddr.v4.sin_port = htons(bp->port); sin_port 224 net/sctp/protocol.c sa->sin_port = sh->source; sin_port 227 net/sctp/protocol.c sa->sin_port = sh->dest; sin_port 237 net/sctp/protocol.c addr->v4.sin_port = 0; sin_port 260 net/sctp/protocol.c addr->v4.sin_port = port; sin_port 285 net/sctp/protocol.c saddr->v4.sin_port = port; sin_port 296 net/sctp/protocol.c if (addr1->v4.sin_port != addr2->v4.sin_port) sin_port 309 net/sctp/protocol.c addr->v4.sin_port = port; sin_port 425 net/sctp/protocol.c fl4->fl4_dport = daddr->v4.sin_port; sin_port 435 net/sctp/protocol.c fl4->fl4_sport = saddr->v4.sin_port; sin_port 492 net/sctp/protocol.c fl4->fl4_sport = laddr->a.v4.sin_port; sin_port 904 net/sctp/protocol.c sin->sin_port = htons(asoc->peer.port); sin_port 917 net/sctp/protocol.c sin->sin_port = sh->source; sin_port 1779 net/sctp/sm_make_chunk.c if (chunk->sctp_hdr->source != bear_cookie->peer_addr.v4.sin_port || sin_port 379 net/sctp/socket.c snum = ntohs(addr->v4.sin_port); sin_port 416 net/sctp/socket.c addr->v4.sin_port = htons(snum); sin_port 700 net/sctp/socket.c if (sa_addr->v4.sin_port && sin_port 701 net/sctp/socket.c sa_addr->v4.sin_port != htons(bp->port)) { sin_port 706 net/sctp/socket.c if (!sa_addr->v4.sin_port) sin_port 707 net/sctp/socket.c sa_addr->v4.sin_port = htons(bp->port); sin_port 821 net/sctp/socket.c asoc->asconf_addr_del_pending->v4.sin_port = sin_port 901 net/sctp/socket.c addr->v4.sin_port = htons(sp->ep->base.bind_addr.port); sin_port 1208 net/sctp/socket.c if (asoc->peer.port != ntohs(daddr->v4.sin_port)) sin_port 1727 net/sctp/socket.c daddr->v4.sin_port = htons(asoc->peer.port); sin_port 6235 net/sctp/socket.c if (!temp.v4.sin_port) sin_port 6236 net/sctp/socket.c temp.v4.sin_port = htons(port); sin_port 8175 net/sctp/socket.c snum = ntohs(addr->v4.sin_port); sin_port 8344 net/sctp/socket.c addr.v4.sin_port = htons(snum); sin_port 279 net/sunrpc/addr.c port = ntohs(((struct sockaddr_in *)sap)->sin_port); sin_port 349 net/sunrpc/addr.c ((struct sockaddr_in *)sap)->sin_port = htons(port); sin_port 293 net/sunrpc/rpcb_clnt.c .sin_port = htons(RPCBIND_PORT), sin_port 384 net/sunrpc/rpcb_clnt.c ((struct sockaddr_in *)srvaddr)->sin_port = htons(RPCBIND_PORT); sin_port 486 net/sunrpc/rpcb_clnt.c unsigned short port = ntohs(sin->sin_port); sin_port 890 net/sunrpc/svc.c .sin_port = htons(port), sin_port 191 net/sunrpc/svc_xprt.c .sin_port = htons(port), sin_port 570 net/sunrpc/svc_xprt.c return ntohs(((struct sockaddr_in *)sin)->sin_port) sin_port 1733 net/sunrpc/xprtsock.c port = ntohs(((struct sockaddr_in *)&buf)->sin_port); sin_port 3004 net/sunrpc/xprtsock.c if (((struct sockaddr_in *)addr)->sin_port != htons(0)) sin_port 3086 net/sunrpc/xprtsock.c if (((struct sockaddr_in *)addr)->sin_port != htons(0)) sin_port 424 net/tipc/udp_media.c ip4.sin_port = addr->port; sin_port 586 net/tipc/udp_media.c addr->port = ip4->sin_port; sin_port 225 samples/bpf/cookie_uid_helper_example.c si_other.sin_port = htons(PORT); sin_port 39 samples/bpf/test_probe_write_user_user.c serv_addr_in->sin_port = 0; sin_port 47 samples/bpf/test_probe_write_user_user.c printf("Server bound to: %s:%d\n", ip, ntohs(serv_addr_in->sin_port)); sin_port 51 samples/bpf/test_probe_write_user_user.c mapped_addr_in->sin_port = htons(5555); sin_port 60 samples/bpf/test_probe_write_user_user.c ip, ntohs(mapped_addr_in->sin_port)); sin_port 67 samples/bpf/test_probe_write_user_user.c ip, ntohs(tmp_addr_in->sin_port)); sin_port 73 samples/bpf/test_probe_write_user_user.c ip, ntohs(tmp_addr_in->sin_port)); sin_port 4614 security/selinux/hooks.c snum = ntohs(addr4->sin_port); sin_port 4745 security/selinux/hooks.c snum = ntohs(addr4->sin_port); sin_port 2464 security/smack/smack_lsm.c ad.a.u.net->dport = sap->sin_port; sin_port 525 security/tomoyo/network.c i->port = ((struct sockaddr_in *) addr)->sin_port; sin_port 234 tools/include/uapi/linux/in.h __be16 sin_port; /* Port number */ sin_port 4806 tools/lib/traceevent/event-parse.c trace_seq_printf(s, ":%d", ntohs(sa4->sin_port)); sin_port 24 tools/perf/trace/beauty/sockaddr.c return scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin->sin_port), sin_port 15 tools/testing/selftests/bpf/prog_tests/sockmap_basic.c .sin_port = htons(80), sin_port 63 tools/testing/selftests/bpf/progs/connect4_prog.c sa.sin_port = bpf_htons(0); sin_port 86 tools/testing/selftests/bpf/test_flow_dissector.c .sin_port = __constant_htons(port), \ sin_port 684 tools/testing/selftests/bpf/test_maps.c addr.sin_port = htons(ports[i]); sin_port 711 tools/testing/selftests/bpf/test_maps.c addr.sin_port = htons(ports[i - 2]); sin_port 274 tools/testing/selftests/bpf/test_select_reuseport.c expected.skb_ports[0] = cli_sa.v4.sin_port; sin_port 275 tools/testing/selftests/bpf/test_select_reuseport.c expected.skb_ports[1] = srv_sa.v4.sin_port; sin_port 374 tools/testing/selftests/bpf/test_sock.c addr4->sin_port = htons(port); sin_port 621 tools/testing/selftests/bpf/test_sock_addr.c addr4->sin_port = htons(port); sin_port 750 tools/testing/selftests/bpf/test_sock_addr.c BPF_MOV32_IMM(BPF_REG_7, addr4_rw.sin_port), sin_port 930 tools/testing/selftests/bpf/test_sock_addr.c BPF_MOV32_IMM(BPF_REG_7, dst4_rw_addr.sin_port), sin_port 971 tools/testing/selftests/bpf/test_sock_addr.c BPF_MOV32_IMM(BPF_REG_7, src4_rw_addr.sin_port), sin_port 1107 tools/testing/selftests/bpf/test_sock_addr.c return !((four1->sin_port == four2->sin_port || !cmp_port) && sin_port 240 tools/testing/selftests/bpf/test_sockmap.c addr.sin_port = htons(S1_PORT); sin_port 247 tools/testing/selftests/bpf/test_sockmap.c addr.sin_port = htons(S2_PORT); sin_port 255 tools/testing/selftests/bpf/test_sockmap.c addr.sin_port = htons(S1_PORT); sin_port 262 tools/testing/selftests/bpf/test_sockmap.c addr.sin_port = htons(S2_PORT); sin_port 270 tools/testing/selftests/bpf/test_sockmap.c addr.sin_port = htons(S1_PORT); sin_port 277 tools/testing/selftests/bpf/test_sockmap.c addr.sin_port = htons(S2_PORT); sin_port 226 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c addr4.sin_port = 0; sin_port 414 tools/testing/selftests/net/ip_defrag.c addr.sin_port = htons(cfg_port); sin_port 305 tools/testing/selftests/net/msg_zerocopy.c addr4->sin_port = htons(cfg_port); sin_port 186 tools/testing/selftests/net/nettest.c ntohs(s->sin_port)); sin_port 241 tools/testing/selftests/net/nettest.c sin.sin_port = htons(args->port); sin_port 1012 tools/testing/selftests/net/nettest.c .sin_port = htons(args->port), sin_port 1086 tools/testing/selftests/net/nettest.c serv_addr.sin_port = htons(args->port); sin_port 1360 tools/testing/selftests/net/nettest.c sin.sin_port = htons(args->port); sin_port 88 tools/testing/selftests/net/psock_lib.h saddr.sin_port = htons(port); sin_port 93 tools/testing/selftests/net/psock_lib.h daddr.sin_port = htons(port + 1); sin_port 265 tools/testing/selftests/net/psock_snd.c raddr.sin_port = htons(cfg_port); sin_port 38 tools/testing/selftests/net/reuseaddr_conflict.c .sin_port = htons(PORT), sin_port 51 tools/testing/selftests/net/reuseport_addr_any.c addr4.sin_port = htons(PORT); sin_port 114 tools/testing/selftests/net/reuseport_addr_any.c saddr4.sin_port = 0; sin_port 119 tools/testing/selftests/net/reuseport_addr_any.c daddr4.sin_port = htons(PORT); sin_port 59 tools/testing/selftests/net/reuseport_bpf.c addr4->sin_port = htons(port); sin_port 47 tools/testing/selftests/net/reuseport_bpf_cpu.c addr4->sin_port = htons(PORT); sin_port 107 tools/testing/selftests/net/reuseport_bpf_cpu.c saddr4->sin_port = 0; sin_port 112 tools/testing/selftests/net/reuseport_bpf_cpu.c daddr4->sin_port = htons(PORT); sin_port 43 tools/testing/selftests/net/reuseport_bpf_numa.c addr4->sin_port = htons(PORT); sin_port 119 tools/testing/selftests/net/reuseport_bpf_numa.c saddr4->sin_port = 0; sin_port 124 tools/testing/selftests/net/reuseport_bpf_numa.c daddr4->sin_port = htons(PORT); sin_port 43 tools/testing/selftests/net/reuseport_dualstack.c addr4->sin_port = htons(PORT); sin_port 80 tools/testing/selftests/net/reuseport_dualstack.c saddr.sin_port = 0; sin_port 84 tools/testing/selftests/net/reuseport_dualstack.c daddr.sin_port = htons(PORT); sin_port 364 tools/testing/selftests/net/so_txtime.c addr4.sin_port = htons(cfg_port); sin_port 104 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr4.sin_port = htons(PORT); sin_port 157 tools/testing/selftests/net/tcp_fastopen_backup_key.c saddr4.sin_port = 0; sin_port 162 tools/testing/selftests/net/tcp_fastopen_backup_key.c daddr4.sin_port = htons(PORT); sin_port 46 tools/testing/selftests/net/tcp_inq.c addr4->sin_port = htons(port); sin_port 253 tools/testing/selftests/net/tcp_mmap.c addr4->sin_port = htons(cfg_port); sin_port 45 tools/testing/selftests/net/tls.c addr.sin_port = 0; sin_port 120 tools/testing/selftests/net/tls.c addr.sin_port = 0; sin_port 1134 tools/testing/selftests/net/tls.c addr.sin_port = 0; sin_port 1161 tools/testing/selftests/net/tls.c addr.sin_port = 0; sin_port 1215 tools/testing/selftests/net/tls.c addr.sin_port = 0; sin_port 1279 tools/testing/selftests/net/tls.c addr.sin_port = 0; sin_port 624 tools/testing/selftests/net/udpgso.c addr.sin_port = htons(cfg_port); sin_port 69 tools/testing/selftests/net/udpgso_bench_rx.c addr4->sin_port = htons(cfg_port); sin_port 123 tools/testing/selftests/net/udpgso_bench_tx.c addr4->sin_port = htons(cfg_port); sin_port 292 tools/testing/selftests/networking/timestamping/rxtimestamp.c addr.sin_port = htons(port); sin_port 383 tools/testing/selftests/networking/timestamping/timestamping.c addr.sin_port = htons(319 /* PTP event port */); sin_port 675 tools/testing/selftests/networking/timestamping/txtimestamp.c daddr.sin_port = htons(dest_port);