sin 24 arch/um/drivers/umcast_user.c struct sockaddr_in *sin; sin 26 arch/um/drivers/umcast_user.c sin = uml_kmalloc(sizeof(struct sockaddr_in), UM_GFP_KERNEL); sin 27 arch/um/drivers/umcast_user.c if (sin == NULL) { sin 32 arch/um/drivers/umcast_user.c sin->sin_family = AF_INET; sin 34 arch/um/drivers/umcast_user.c sin->sin_addr.s_addr = in_aton(addr); sin 36 arch/um/drivers/umcast_user.c sin->sin_addr.s_addr = INADDR_ANY; sin 37 arch/um/drivers/umcast_user.c sin->sin_port = htons(port); sin 38 arch/um/drivers/umcast_user.c return sin; sin 109 drivers/gpu/drm/nouveau/dispnv50/atom.h u16 sin:12; sin 75 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->procamp.sat.sin = ((hue * 2047) / 100) & 0xfff; sin 32 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_data(push, asyh->procamp.sat.sin << 20 | sin 48 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_data(push, asyh->procamp.sat.sin << 20 | sin 62 drivers/gpu/drm/nouveau/dispnv50/headc37d.c asyh->procamp.sat.sin << 16 | sin 63 drivers/gpu/drm/nouveau/dispnv50/headc57d.c asyh->procamp.sat.sin << 16 | sin 4224 drivers/infiniband/core/cma.c struct sockaddr_in *sin = (struct sockaddr_in *) addr; sin 4242 drivers/infiniband/core/cma.c ip_ib_mc_map(sin->sin_addr.s_addr, dev_addr->broadcast, mc_map); sin 4319 drivers/infiniband/core/cma.c struct sockaddr_in *sin = (struct sockaddr_in *)addr; sin 4341 drivers/infiniband/core/cma.c *(__be32 *)(&mgid->raw[12]) = sin->sin_addr.s_addr; sin 1964 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *sin; sin 1974 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&ep->com.local_addr; sin 1975 drivers/infiniband/hw/cxgb4/cm.c req->le.lport = sin->sin_port; sin 1976 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.lip = sin->sin_addr.s_addr; sin 1977 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&ep->com.remote_addr; sin 1978 drivers/infiniband/hw/cxgb4/cm.c req->le.pport = sin->sin_port; sin 1979 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.pip = sin->sin_addr.s_addr; sin 2606 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sin 2609 drivers/infiniband/hw/cxgb4/cm.c sin->sin_family = AF_INET; sin 2610 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = local_port; sin 2611 drivers/infiniband/hw/cxgb4/cm.c sin->sin_addr.s_addr = *(__be32 *)local_ip; sin 2613 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&child_ep->com.local_addr; sin 2614 drivers/infiniband/hw/cxgb4/cm.c sin->sin_family = AF_INET; sin 2615 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = ((struct sockaddr_in *) sin 2617 drivers/infiniband/hw/cxgb4/cm.c sin->sin_addr.s_addr = *(__be32 *)local_ip; sin 2619 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&child_ep->com.remote_addr; sin 2620 drivers/infiniband/hw/cxgb4/cm.c sin->sin_family = AF_INET; sin 2621 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = peer_port; sin 2622 drivers/infiniband/hw/cxgb4/cm.c sin->sin_addr.s_addr = *(__be32 *)peer_ip; sin 3499 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sin 3506 drivers/infiniband/hw/cxgb4/cm.c sin->sin_addr.s_addr, sin->sin_port, 0, sin 3520 drivers/infiniband/hw/cxgb4/cm.c ep->stid, sin->sin_addr.s_addr, sin->sin_port, sin 3532 drivers/infiniband/hw/cxgb4/cm.c &sin->sin_addr, ntohs(sin->sin_port)); sin 444 drivers/isdn/mISDN/l1oip_core.c l1oip_socket_parse(struct l1oip *hc, struct sockaddr_in *sin, u8 *buf, int len) sin 611 drivers/isdn/mISDN/l1oip_core.c if ((hc->sin_remote.sin_addr.s_addr != sin->sin_addr.s_addr) sin 612 drivers/isdn/mISDN/l1oip_core.c || (hc->sin_remote.sin_port != sin->sin_port)) { sin 617 drivers/isdn/mISDN/l1oip_core.c ntohl(sin->sin_addr.s_addr), sin 619 drivers/isdn/mISDN/l1oip_core.c ntohs(sin->sin_port)); sin 620 drivers/isdn/mISDN/l1oip_core.c hc->sin_remote.sin_addr.s_addr = sin->sin_addr.s_addr; sin 621 drivers/isdn/mISDN/l1oip_core.c hc->sin_remote.sin_port = sin->sin_port; sin 58 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static const s8 sin[257] = { sin 78 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c #define cos(idx) sin[((idx) + 64) % sizeof(sin)] sin 942 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; sin 943 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; sin 102 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c config->ul_sip.addr4 = cfg->saddr.sin.sin_addr.s_addr; sin 2377 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c addr->addr4 = vxlan_addr->sin.sin_addr.s_addr; sin 2393 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_addr->sin.sin_addr.s_addr = addr->addr4; sin 103 drivers/net/vxlan.c return a->sin.sin_addr.s_addr == b->sin.sin_addr.s_addr; sin 113 drivers/net/vxlan.c ip->sin.sin_addr.s_addr = nla_get_in_addr(nla); sin 127 drivers/net/vxlan.c return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr); sin 135 drivers/net/vxlan.c return a->sin.sin_addr.s_addr == b->sin.sin_addr.s_addr; sin 143 drivers/net/vxlan.c ip->sin.sin_addr.s_addr = nla_get_in_addr(nla); sin 154 drivers/net/vxlan.c return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr); sin 1065 drivers/net/vxlan.c ip->sin.sin_addr.s_addr = htonl(INADDR_ANY); sin 1454 drivers/net/vxlan.c .imr_multiaddr.s_addr = ip->sin.sin_addr.s_addr, sin 1488 drivers/net/vxlan.c .imr_multiaddr.s_addr = ip->sin.sin_addr.s_addr, sin 1609 drivers/net/vxlan.c saddr.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; sin 1882 drivers/net/vxlan.c .sin.sin_addr.s_addr = tip, sin 1883 drivers/net/vxlan.c .sin.sin_family = AF_INET, sin 2070 drivers/net/vxlan.c .sin.sin_addr.s_addr = pip->daddr, sin 2071 drivers/net/vxlan.c .sin.sin_family = AF_INET, sin 2343 drivers/net/vxlan.c loopback.sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK); sin 2481 drivers/net/vxlan.c remote_ip.sin.sin_addr.s_addr = info->key.u.ipv4.dst; sin 2482 drivers/net/vxlan.c local_ip.sin.sin_addr.s_addr = info->key.u.ipv4.src; sin 2515 drivers/net/vxlan.c dst->sin.sin_addr.s_addr, sin 2516 drivers/net/vxlan.c &local_ip.sin.sin_addr.s_addr, sin 2556 drivers/net/vxlan.c udp_tunnel_xmit_skb(rt, sock4->sock->sk, skb, local_ip.sin.sin_addr.s_addr, sin 2557 drivers/net/vxlan.c dst->sin.sin_addr.s_addr, tos, ttl, df, sin 3717 drivers/net/vxlan.c conf->remote_ip.sin.sin_addr.s_addr = nla_get_in_addr(data[IFLA_VXLAN_GROUP]); sin 3740 drivers/net/vxlan.c conf->saddr.sin.sin_addr.s_addr = nla_get_in_addr(data[IFLA_VXLAN_LOCAL]); sin 4088 drivers/net/vxlan.c dst->remote_ip.sin.sin_addr.s_addr)) sin 4105 drivers/net/vxlan.c vxlan->cfg.saddr.sin.sin_addr.s_addr)) sin 3459 drivers/scsi/libiscsi.c struct sockaddr_in *sin = NULL; sin 3464 drivers/scsi/libiscsi.c sin = (struct sockaddr_in *)addr; sin 3476 drivers/scsi/libiscsi.c if (sin) sin 3477 drivers/scsi/libiscsi.c len = sprintf(buf, "%pI4\n", &sin->sin_addr.s_addr); sin 3483 drivers/scsi/libiscsi.c if (sin) sin 3484 drivers/scsi/libiscsi.c len = sprintf(buf, "%hu\n", be16_to_cpu(sin->sin_port)); sin 199 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sin 204 drivers/target/iscsi/cxgbit/cxgbit_cm.c __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); sin 210 drivers/target/iscsi/cxgbit/cxgbit_cm.c stid, sin->sin_addr.s_addr, sin 211 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_port, 0, sin 224 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret, stid, &sin->sin_addr, ntohs(sin->sin_port)); sin 299 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin; sin 301 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin = (struct sockaddr_in *)sockaddr; sin 302 drivers/target/iscsi/cxgbit/cxgbit_cm.c ndev = cxgbit_ipv4_netdev(sin->sin_addr.s_addr); sin 325 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin; sin 327 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin = (struct sockaddr_in *)sockaddr; sin 328 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (sin->sin_addr.s_addr == htonl(INADDR_ANY)) sin 1328 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sin 1330 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_family = AF_INET; sin 1331 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_port = local_port; sin 1332 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_addr.s_addr = *(__be32 *)local_ip; sin 1334 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin = (struct sockaddr_in *)&csk->com.remote_addr; sin 1335 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_family = AF_INET; sin 1336 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_port = peer_port; sin 1337 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_addr.s_addr = *(__be32 *)peer_ip; sin 284 fs/afs/addr_list.c struct sockaddr_in *a = &alist->addrs[i].transport.sin; sin 304 fs/afs/addr_list.c srx->transport_len = sizeof(srx->transport.sin); sin 305 fs/afs/addr_list.c srx->transport.sin.sin_family = AF_INET; sin 306 fs/afs/addr_list.c srx->transport.sin.sin_port = htons(port); sin 307 fs/afs/addr_list.c srx->transport.sin.sin_addr.s_addr = xdr; sin 65 fs/afs/server.c const struct sockaddr_in *a = &srx->transport.sin, *b; sin 69 fs/afs/server.c b = &alist->addrs[i].transport.sin; sin 77 fs/lockd/host.c const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sin 78 fs/lockd/host.c return __nlm_hash32(sin->sin_addr.s_addr); sin 70 fs/lockd/mon.c struct sockaddr_in sin = { sin 77 fs/lockd/mon.c .address = (struct sockaddr *)&sin, sin 78 fs/lockd/mon.c .addrsize = sizeof(sin), sin 303 fs/lockd/svc.c struct sockaddr_in sin; sin 312 fs/lockd/svc.c sin.sin_family = AF_INET; sin 313 fs/lockd/svc.c sin.sin_addr.s_addr = ifa->ifa_local; sin 315 fs/lockd/svc.c (struct sockaddr *)&sin); sin 2239 fs/nfs/flexfilelayout/flexfilelayout.c const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sin 2241 fs/nfs/flexfilelayout/flexfilelayout.c return snprintf(buf, buflen, "%pI4", &sin->sin_addr); sin 53 fs/nfs/fscache.c const struct sockaddr_in *sin = (struct sockaddr_in *) &clp->cl_addr; sin 64 fs/nfs/fscache.c key.hdr.port = sin->sin_port; sin 65 fs/nfs/fscache.c key.ipv4_addr = sin->sin_addr; sin 577 fs/nfs/super.c struct sockaddr_in *sin = (struct sockaddr_in *)sap; sin 578 fs/nfs/super.c seq_printf(m, ",mountaddr=%pI4", &sin->sin_addr.s_addr); sin 103 fs/nfsd/flexfilelayout.c struct sockaddr_in *sin; sin 105 fs/nfsd/flexfilelayout.c sin = (struct sockaddr_in *)&rqstp->rq_daddr; sin 106 fs/nfsd/flexfilelayout.c port = ntohs(sin->sin_port); sin 1178 fs/nfsd/nfs4xdr.c struct nfsd4_secinfo_no_name *sin) sin 1183 fs/nfsd/nfs4xdr.c sin->sin_style = be32_to_cpup(p++); sin 435 fs/nfsd/nfssvc.c struct sockaddr_in sin; sin 443 fs/nfsd/nfssvc.c sin.sin_family = AF_INET; sin 444 fs/nfsd/nfssvc.c sin.sin_addr.s_addr = ifa->ifa_local; sin 445 fs/nfsd/nfssvc.c svc_age_temp_xprts_now(nn->nfsd_serv, (struct sockaddr *)&sin); sin 1807 fs/ocfs2/cluster/tcp.c struct sockaddr_in sin; sin 1851 fs/ocfs2/cluster/tcp.c ret = new_sock->ops->getname(new_sock, (struct sockaddr *) &sin, 1); sin 1855 fs/ocfs2/cluster/tcp.c node = o2nm_get_node_by_ip(sin.sin_addr.s_addr); sin 1858 fs/ocfs2/cluster/tcp.c "node at %pI4:%d\n", &sin.sin_addr.s_addr, sin 1859 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin 1874 fs/ocfs2/cluster/tcp.c node->nd_num, &sin.sin_addr.s_addr, sin 1875 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin 1885 fs/ocfs2/cluster/tcp.c node->nd_name, &sin.sin_addr.s_addr, sin 1886 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin 1902 fs/ocfs2/cluster/tcp.c node->nd_name, &sin.sin_addr.s_addr, sin 1903 fs/ocfs2/cluster/tcp.c ntohs(sin.sin_port)); sin 2013 fs/ocfs2/cluster/tcp.c struct sockaddr_in sin = { sin 2036 fs/ocfs2/cluster/tcp.c ret = sock->ops->bind(sock, (struct sockaddr *)&sin, sizeof(sin)); sin 311 include/linux/lockd/lockd.h const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sin 313 include/linux/lockd/lockd.h if (ntohs(sin->sin_port) > 1023) sin 316 include/linux/lockd/lockd.h return ipv4_is_loopback(sin->sin_addr.s_addr); sin 130 include/linux/sunrpc/svc_xprt.h int svc_port_is_privileged(struct sockaddr *sin); sin 162 include/linux/sunrpc/svc_xprt.h const struct sockaddr_in *sin = (const struct sockaddr_in *)sa; sin 167 include/linux/sunrpc/svc_xprt.h return ntohs(sin->sin_port); sin 199 include/linux/sunrpc/svc_xprt.h const struct sockaddr_in *sin = (const struct sockaddr_in *)addr; sin 204 include/linux/sunrpc/svc_xprt.h snprintf(buf, len, "%pI4, port=%u", &sin->sin_addr, sin 205 include/linux/sunrpc/svc_xprt.h ntohs(sin->sin_port)); sin 189 include/net/vxlan.h struct sockaddr_in sin; sin 387 include/net/vxlan.h return ipa->sin.sin_addr.s_addr == htonl(INADDR_ANY); sin 395 include/net/vxlan.h return ipv4_is_multicast(ipa->sin.sin_addr.s_addr); sin 402 include/net/vxlan.h return ipa->sin.sin_addr.s_addr == htonl(INADDR_ANY); sin 407 include/net/vxlan.h return ipv4_is_multicast(ipa->sin.sin_addr.s_addr); sin 25 include/uapi/linux/rxrpc.h struct sockaddr_in sin; /* IPv4 transport address */ sin 876 net/dccp/ipv6.c struct sockaddr_in sin; sin 883 net/dccp/ipv6.c sin.sin_family = AF_INET; sin 884 net/dccp/ipv6.c sin.sin_port = usin->sin6_port; sin 885 net/dccp/ipv6.c sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; sin 890 net/dccp/ipv6.c err = dccp_v4_connect(sk, (struct sockaddr *)&sin, sizeof(sin)); sin 765 net/ipv4/af_inet.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, uaddr); sin 767 net/ipv4/af_inet.c sin->sin_family = AF_INET; sin 773 net/ipv4/af_inet.c sin->sin_port = inet->inet_dport; sin 774 net/ipv4/af_inet.c sin->sin_addr.s_addr = inet->inet_daddr; sin 779 net/ipv4/af_inet.c sin->sin_port = inet->inet_sport; sin 780 net/ipv4/af_inet.c sin->sin_addr.s_addr = addr; sin 782 net/ipv4/af_inet.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 783 net/ipv4/af_inet.c return sizeof(*sin); sin 1012 net/ipv4/devinet.c struct sockaddr_in *sin = (struct sockaddr_in *)&ifr->ifr_addr; sin 1024 net/ipv4/devinet.c memcpy(&sin_orig, sin, sizeof(*sin)); sin 1042 net/ipv4/devinet.c memset(sin, 0, sizeof(*sin)); sin 1043 net/ipv4/devinet.c sin->sin_family = AF_INET; sin 1059 net/ipv4/devinet.c if (sin->sin_family != AF_INET) sin 1115 net/ipv4/devinet.c sin->sin_addr.s_addr = ifa->ifa_local; sin 1120 net/ipv4/devinet.c sin->sin_addr.s_addr = ifa->ifa_broadcast; sin 1125 net/ipv4/devinet.c sin->sin_addr.s_addr = ifa->ifa_address; sin 1130 net/ipv4/devinet.c sin->sin_addr.s_addr = ifa->ifa_mask; sin 1148 net/ipv4/devinet.c if (inet_abc_len(sin->sin_addr.s_addr) < 0) sin 1163 net/ipv4/devinet.c if (ifa->ifa_local == sin->sin_addr.s_addr) sin 1170 net/ipv4/devinet.c ifa->ifa_address = ifa->ifa_local = sin->sin_addr.s_addr; sin 1189 net/ipv4/devinet.c if (ifa->ifa_broadcast != sin->sin_addr.s_addr) { sin 1191 net/ipv4/devinet.c ifa->ifa_broadcast = sin->sin_addr.s_addr; sin 1198 net/ipv4/devinet.c if (ifa->ifa_address == sin->sin_addr.s_addr) sin 1201 net/ipv4/devinet.c if (inet_abc_len(sin->sin_addr.s_addr) < 0) sin 1205 net/ipv4/devinet.c ifa->ifa_address = sin->sin_addr.s_addr; sin 1215 net/ipv4/devinet.c if (bad_mask(sin->sin_addr.s_addr, 0)) sin 1218 net/ipv4/devinet.c if (ifa->ifa_mask != sin->sin_addr.s_addr) { sin 1221 net/ipv4/devinet.c ifa->ifa_mask = sin->sin_addr.s_addr; sin 1235 net/ipv4/devinet.c ~sin->sin_addr.s_addr); sin 1041 net/ipv4/inet_connection_sock.c struct sockaddr_in *sin = (struct sockaddr_in *)uaddr; sin 1044 net/ipv4/inet_connection_sock.c sin->sin_family = AF_INET; sin 1045 net/ipv4/inet_connection_sock.c sin->sin_addr.s_addr = inet->inet_daddr; sin 1046 net/ipv4/inet_connection_sock.c sin->sin_port = inet->inet_dport; sin 152 net/ipv4/ip_sockglue.c struct sockaddr_in sin; sin 163 net/ipv4/ip_sockglue.c sin.sin_family = AF_INET; sin 164 net/ipv4/ip_sockglue.c sin.sin_addr.s_addr = ip_hdr(skb)->daddr; sin 165 net/ipv4/ip_sockglue.c sin.sin_port = ports[1]; sin 166 net/ipv4/ip_sockglue.c memset(sin.sin_zero, 0, sizeof(sin.sin_zero)); sin 168 net/ipv4/ip_sockglue.c put_cmsg(msg, SOL_IP, IP_ORIGDSTADDR, sizeof(sin), &sin); sin 504 net/ipv4/ip_sockglue.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sin 531 net/ipv4/ip_sockglue.c if (sin && ipv4_datagram_support_addr(serr)) { sin 532 net/ipv4/ip_sockglue.c sin->sin_family = AF_INET; sin 533 net/ipv4/ip_sockglue.c sin->sin_addr.s_addr = *(__be32 *)(skb_network_header(skb) + sin 535 net/ipv4/ip_sockglue.c sin->sin_port = serr->port; sin 536 net/ipv4/ip_sockglue.c memset(&sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 537 net/ipv4/ip_sockglue.c *addr_len = sizeof(*sin); sin 541 net/ipv4/ip_sockglue.c sin = &errhdr.offender; sin 542 net/ipv4/ip_sockglue.c memset(sin, 0, sizeof(*sin)); sin 545 net/ipv4/ip_sockglue.c sin->sin_family = AF_INET; sin 546 net/ipv4/ip_sockglue.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; sin 332 net/ipv4/ipconfig.c set_sockaddr(struct sockaddr_in *sin, __be32 addr, __be16 port) sin 334 net/ipv4/ipconfig.c sin->sin_family = AF_INET; sin 335 net/ipv4/ipconfig.c sin->sin_addr.s_addr = addr; sin 336 net/ipv4/ipconfig.c sin->sin_port = port; sin 346 net/ipv4/ipconfig.c struct sockaddr_in *sin = (void *) &ir.ifr_ifru.ifru_addr; sin 351 net/ipv4/ipconfig.c set_sockaddr(sin, ic_myaddr, 0); sin 357 net/ipv4/ipconfig.c set_sockaddr(sin, ic_netmask, 0); sin 363 net/ipv4/ipconfig.c set_sockaddr(sin, ic_myaddr | ~ic_netmask, 0); sin 886 net/ipv4/ping.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sin 888 net/ipv4/ping.c if (sin) { sin 889 net/ipv4/ping.c sin->sin_family = AF_INET; sin 890 net/ipv4/ping.c sin->sin_port = 0 /* skb->h.uh->source */; sin 891 net/ipv4/ping.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; sin 892 net/ipv4/ping.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 893 net/ipv4/ping.c *addr_len = sizeof(*sin); sin 756 net/ipv4/raw.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sin 784 net/ipv4/raw.c if (sin) { sin 785 net/ipv4/raw.c sin->sin_family = AF_INET; sin 786 net/ipv4/raw.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; sin 787 net/ipv4/raw.c sin->sin_port = 0; sin 788 net/ipv4/raw.c memset(&sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 789 net/ipv4/raw.c *addr_len = sizeof(*sin); sin 1153 net/ipv4/tcp_ipv4.c struct sockaddr_in *sin = (struct sockaddr_in *)&cmd.tcpm_addr; sin 1162 net/ipv4/tcp_ipv4.c if (sin->sin_family != AF_INET) sin 1173 net/ipv4/tcp_ipv4.c return tcp_md5_do_del(sk, (union tcp_md5_addr *)&sin->sin_addr.s_addr, sin 1179 net/ipv4/tcp_ipv4.c return tcp_md5_do_add(sk, (union tcp_md5_addr *)&sin->sin_addr.s_addr, sin 1729 net/ipv4/udp.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sin 1795 net/ipv4/udp.c if (sin) { sin 1796 net/ipv4/udp.c sin->sin_family = AF_INET; sin 1797 net/ipv4/udp.c sin->sin_port = udp_hdr(skb)->source; sin 1798 net/ipv4/udp.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; sin 1799 net/ipv4/udp.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 1800 net/ipv4/udp.c *addr_len = sizeof(*sin); sin 1804 net/ipv4/udp.c (struct sockaddr *)sin); sin 508 net/ipv6/af_inet6.c struct sockaddr_in6 *sin = (struct sockaddr_in6 *)uaddr; sin 513 net/ipv6/af_inet6.c sin->sin6_family = AF_INET6; sin 514 net/ipv6/af_inet6.c sin->sin6_flowinfo = 0; sin 515 net/ipv6/af_inet6.c sin->sin6_scope_id = 0; sin 522 net/ipv6/af_inet6.c sin->sin6_port = inet->inet_dport; sin 523 net/ipv6/af_inet6.c sin->sin6_addr = sk->sk_v6_daddr; sin 525 net/ipv6/af_inet6.c sin->sin6_flowinfo = np->flow_label; sin 528 net/ipv6/af_inet6.c sin->sin6_addr = np->saddr; sin 530 net/ipv6/af_inet6.c sin->sin6_addr = sk->sk_v6_rcv_saddr; sin 532 net/ipv6/af_inet6.c sin->sin6_port = inet->inet_sport; sin 534 net/ipv6/af_inet6.c sin->sin6_scope_id = ipv6_iface_scope_id(&sin->sin6_addr, sin 536 net/ipv6/af_inet6.c return sizeof(*sin); sin 178 net/ipv6/datagram.c struct sockaddr_in sin; sin 184 net/ipv6/datagram.c sin.sin_family = AF_INET; sin 185 net/ipv6/datagram.c sin.sin_addr.s_addr = daddr->s6_addr32[3]; sin 186 net/ipv6/datagram.c sin.sin_port = usin->sin6_port; sin 189 net/ipv6/datagram.c (struct sockaddr *) &sin, sin 190 net/ipv6/datagram.c sizeof(sin)); sin 437 net/ipv6/datagram.c DECLARE_SOCKADDR(struct sockaddr_in6 *, sin, msg->msg_name); sin 464 net/ipv6/datagram.c if (sin && ipv6_datagram_support_addr(serr)) { sin 466 net/ipv6/datagram.c sin->sin6_family = AF_INET6; sin 467 net/ipv6/datagram.c sin->sin6_flowinfo = 0; sin 468 net/ipv6/datagram.c sin->sin6_port = serr->port; sin 472 net/ipv6/datagram.c sin->sin6_addr = ip6h->daddr; sin 474 net/ipv6/datagram.c sin->sin6_flowinfo = ip6_flowinfo(ip6h); sin 475 net/ipv6/datagram.c sin->sin6_scope_id = sin 476 net/ipv6/datagram.c ipv6_iface_scope_id(&sin->sin6_addr, sin 480 net/ipv6/datagram.c &sin->sin6_addr); sin 481 net/ipv6/datagram.c sin->sin6_scope_id = 0; sin 483 net/ipv6/datagram.c *addr_len = sizeof(*sin); sin 487 net/ipv6/datagram.c sin = &errhdr.offender; sin 488 net/ipv6/datagram.c memset(sin, 0, sizeof(*sin)); sin 491 net/ipv6/datagram.c sin->sin6_family = AF_INET6; sin 495 net/ipv6/datagram.c sin->sin6_addr = ipv6_hdr(skb)->saddr; sin 498 net/ipv6/datagram.c sin->sin6_scope_id = sin 499 net/ipv6/datagram.c ipv6_iface_scope_id(&sin->sin6_addr, sin 503 net/ipv6/datagram.c &sin->sin6_addr); sin 531 net/ipv6/datagram.c DECLARE_SOCKADDR(struct sockaddr_in6 *, sin, msg->msg_name); sin 553 net/ipv6/datagram.c if (sin) { sin 554 net/ipv6/datagram.c sin->sin6_family = AF_INET6; sin 555 net/ipv6/datagram.c sin->sin6_flowinfo = 0; sin 556 net/ipv6/datagram.c sin->sin6_port = 0; sin 557 net/ipv6/datagram.c sin->sin6_scope_id = mtu_info.ip6m_addr.sin6_scope_id; sin 558 net/ipv6/datagram.c sin->sin6_addr = mtu_info.ip6m_addr.sin6_addr; sin 559 net/ipv6/datagram.c *addr_len = sizeof(*sin); sin 230 net/ipv6/tcp_ipv6.c struct sockaddr_in sin; sin 235 net/ipv6/tcp_ipv6.c sin.sin_family = AF_INET; sin 236 net/ipv6/tcp_ipv6.c sin.sin_port = usin->sin6_port; sin 237 net/ipv6/tcp_ipv6.c sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; sin 245 net/ipv6/tcp_ipv6.c err = tcp_v4_connect(sk, (struct sockaddr *)&sin, sizeof(sin)); sin 1275 net/ipv6/udp.c struct sockaddr_in sin; sin 1276 net/ipv6/udp.c sin.sin_family = AF_INET; sin 1277 net/ipv6/udp.c sin.sin_port = sin6 ? sin6->sin6_port : inet->inet_dport; sin 1278 net/ipv6/udp.c sin.sin_addr.s_addr = daddr->s6_addr32[3]; sin 1279 net/ipv6/udp.c msg->msg_name = &sin; sin 1280 net/ipv6/udp.c msg->msg_namelen = sizeof(sin); sin 384 net/key/af_key.c const struct sockaddr_in *sin; sin 397 net/key/af_key.c len = DIV_ROUND_UP(sizeof(*sp) + sizeof(*sin), sizeof(uint64_t)); sin 741 net/key/af_key.c struct sockaddr_in *sin = (struct sockaddr_in *)sa; sin 742 net/key/af_key.c sin->sin_family = AF_INET; sin 743 net/key/af_key.c sin->sin_port = port; sin 744 net/key/af_key.c sin->sin_addr.s_addr = xaddr->a4; sin 745 net/key/af_key.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 533 net/l2tp/l2tp_ip.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sin 556 net/l2tp/l2tp_ip.c if (sin) { sin 557 net/l2tp/l2tp_ip.c sin->sin_family = AF_INET; sin 558 net/l2tp/l2tp_ip.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; sin 559 net/l2tp/l2tp_ip.c sin->sin_port = 0; sin 560 net/l2tp/l2tp_ip.c memset(&sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 561 net/l2tp/l2tp_ip.c *addr_len = sizeof(*sin); sin 1432 net/netfilter/ipvs/ip_vs_sync.c struct sockaddr_in sin; sin 1443 net/netfilter/ipvs/ip_vs_sync.c sin.sin_family = AF_INET; sin 1444 net/netfilter/ipvs/ip_vs_sync.c sin.sin_addr.s_addr = addr; sin 1445 net/netfilter/ipvs/ip_vs_sync.c sin.sin_port = 0; sin 1447 net/netfilter/ipvs/ip_vs_sync.c return sock->ops->bind(sock, (struct sockaddr*)&sin, sizeof(sin)); sin 271 net/netfilter/nf_conntrack_proto.c struct sockaddr_in sin; sin 274 net/netfilter/nf_conntrack_proto.c sin.sin_family = AF_INET; sin 275 net/netfilter/nf_conntrack_proto.c sin.sin_port = ct->tuplehash[IP_CT_DIR_ORIGINAL] sin 277 net/netfilter/nf_conntrack_proto.c sin.sin_addr.s_addr = ct->tuplehash[IP_CT_DIR_ORIGINAL] sin 279 net/netfilter/nf_conntrack_proto.c memset(sin.sin_zero, 0, sizeof(sin.sin_zero)); sin 282 net/netfilter/nf_conntrack_proto.c &sin.sin_addr.s_addr, ntohs(sin.sin_port)); sin 284 net/netfilter/nf_conntrack_proto.c if (copy_to_user(user, &sin, sizeof(sin)) != 0) sin 119 net/rds/af_rds.c struct sockaddr_in *sin; sin 128 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sin 129 net/rds/af_rds.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 130 net/rds/af_rds.c sin->sin_family = AF_INET; sin 131 net/rds/af_rds.c sin->sin_port = rs->rs_conn_port; sin 132 net/rds/af_rds.c sin->sin_addr.s_addr = rs->rs_conn_addr_v4; sin 133 net/rds/af_rds.c uaddr_len = sizeof(*sin); sin 153 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sin 154 net/rds/af_rds.c memset(sin, 0, sizeof(*sin)); sin 155 net/rds/af_rds.c sin->sin_family = AF_UNSPEC; sin 156 net/rds/af_rds.c return sizeof(*sin); sin 169 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sin 170 net/rds/af_rds.c memset(sin, 0, sizeof(*sin)); sin 171 net/rds/af_rds.c sin->sin_family = AF_INET; sin 172 net/rds/af_rds.c return sizeof(*sin); sin 175 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sin 176 net/rds/af_rds.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 177 net/rds/af_rds.c sin->sin_family = AF_INET; sin 178 net/rds/af_rds.c sin->sin_port = rs->rs_bound_port; sin 179 net/rds/af_rds.c sin->sin_addr.s_addr = rs->rs_bound_addr_v4; sin 180 net/rds/af_rds.c uaddr_len = sizeof(*sin); sin 297 net/rds/af_rds.c struct sockaddr_in sin; sin 311 net/rds/af_rds.c if (copy_from_user(&sin, optval, sizeof(struct sockaddr_in))) { sin 315 net/rds/af_rds.c ipv6_addr_set_v4mapped(sin.sin_addr.s_addr, &sin6.sin6_addr); sin 316 net/rds/af_rds.c sin6.sin6_port = sin.sin_port; sin 542 net/rds/af_rds.c struct sockaddr_in *sin; sin 553 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sin 558 net/rds/af_rds.c if (sin->sin_addr.s_addr == htonl(INADDR_ANY)) { sin 562 net/rds/af_rds.c if (ipv4_is_multicast(sin->sin_addr.s_addr) || sin 563 net/rds/af_rds.c sin->sin_addr.s_addr == htonl(INADDR_BROADCAST)) { sin 567 net/rds/af_rds.c ipv6_addr_set_v4mapped(sin->sin_addr.s_addr, &rs->rs_conn_addr); sin 568 net/rds/af_rds.c rs->rs_conn_port = sin->sin_port; sin 179 net/rds/bind.c struct sockaddr_in *sin = (struct sockaddr_in *)uaddr; sin 182 net/rds/bind.c sin->sin_addr.s_addr == htonl(INADDR_ANY) || sin 183 net/rds/bind.c sin->sin_addr.s_addr == htonl(INADDR_BROADCAST) || sin 184 net/rds/bind.c ipv4_is_multicast(sin->sin_addr.s_addr)) sin 186 net/rds/bind.c ipv6_addr_set_v4mapped(sin->sin_addr.s_addr, &v6addr); sin 188 net/rds/bind.c port = sin->sin_port; sin 410 net/rds/ib.c struct sockaddr_in sin; sin 424 net/rds/ib.c memset(&sin, 0, sizeof(sin)); sin 425 net/rds/ib.c sin.sin_family = AF_INET; sin 426 net/rds/ib.c sin.sin_addr.s_addr = addr->s6_addr32[3]; sin 427 net/rds/ib.c sa = (struct sockaddr *)&sin; sin 936 net/rds/ib_cm.c struct sockaddr_in *sin; sin 938 net/rds/ib_cm.c sin = (struct sockaddr_in *)&src; sin 939 net/rds/ib_cm.c sin->sin_family = AF_INET; sin 940 net/rds/ib_cm.c sin->sin_addr.s_addr = conn->c_laddr.s6_addr32[3]; sin 941 net/rds/ib_cm.c sin->sin_port = 0; sin 943 net/rds/ib_cm.c sin = (struct sockaddr_in *)&dest; sin 944 net/rds/ib_cm.c sin->sin_family = AF_INET; sin 945 net/rds/ib_cm.c sin->sin_addr.s_addr = conn->c_faddr.s6_addr32[3]; sin 946 net/rds/ib_cm.c sin->sin_port = htons(RDS_PORT); sin 250 net/rds/rdma_transport.c struct sockaddr_in sin; sin 252 net/rds/rdma_transport.c sin.sin_family = PF_INET; sin 253 net/rds/rdma_transport.c sin.sin_addr.s_addr = htonl(INADDR_ANY); sin 254 net/rds/rdma_transport.c sin.sin_port = htons(RDS_PORT); sin 256 net/rds/rdma_transport.c (struct sockaddr *)&sin, sin 640 net/rds/recv.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sin 724 net/rds/recv.c sin = (struct sockaddr_in *)msg->msg_name; sin 726 net/rds/recv.c sin->sin_family = AF_INET; sin 727 net/rds/recv.c sin->sin_port = inc->i_hdr.h_sport; sin 728 net/rds/recv.c sin->sin_addr.s_addr = sin 730 net/rds/recv.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 731 net/rds/recv.c msg->msg_namelen = sizeof(*sin); sin 93 net/rds/tcp_connect.c struct sockaddr_in sin; sin 137 net/rds/tcp_connect.c sin.sin_family = AF_INET; sin 138 net/rds/tcp_connect.c sin.sin_addr.s_addr = conn->c_laddr.s6_addr32[3]; sin 139 net/rds/tcp_connect.c sin.sin_port = 0; sin 140 net/rds/tcp_connect.c addr = (struct sockaddr *)&sin; sin 141 net/rds/tcp_connect.c addrlen = sizeof(sin); sin 160 net/rds/tcp_connect.c sin.sin_family = AF_INET; sin 161 net/rds/tcp_connect.c sin.sin_addr.s_addr = conn->c_faddr.s6_addr32[3]; sin 162 net/rds/tcp_connect.c sin.sin_port = htons(RDS_TCP_PORT); sin 163 net/rds/tcp_connect.c addr = (struct sockaddr *)&sin; sin 164 net/rds/tcp_connect.c addrlen = sizeof(sin); sin 293 net/rds/tcp_listen.c struct sockaddr_in *sin; sin 322 net/rds/tcp_listen.c sin = (struct sockaddr_in *)&ss; sin 323 net/rds/tcp_listen.c sin->sin_family = PF_INET; sin 324 net/rds/tcp_listen.c sin->sin_addr.s_addr = INADDR_ANY; sin 325 net/rds/tcp_listen.c sin->sin_port = (__force u16)htons(RDS_TCP_PORT); sin 326 net/rds/tcp_listen.c addr_len = sizeof(*sin); sin 104 net/rxrpc/af_rxrpc.c tail = offsetof(struct sockaddr_rxrpc, transport.sin.__pad); sin 132 net/rxrpc/conn_object.c if (peer->srx.transport.sin.sin_port != sin 133 net/rxrpc/conn_object.c srx.transport.sin.sin_port || sin 134 net/rxrpc/conn_object.c peer->srx.transport.sin.sin_addr.s_addr != sin 135 net/rxrpc/conn_object.c srx.transport.sin.sin_addr.s_addr) sin 50 net/rxrpc/local_object.c return ((u16 __force)local->srx.transport.sin.sin_port - sin 51 net/rxrpc/local_object.c (u16 __force)srx->transport.sin.sin_port) ?: sin 52 net/rxrpc/local_object.c memcmp(&local->srx.transport.sin.sin_addr, sin 53 net/rxrpc/local_object.c &srx->transport.sin.sin_addr, sin 46 net/rxrpc/peer_event.c srx->transport_len = sizeof(srx->transport.sin); sin 48 net/rxrpc/peer_event.c srx->transport.sin.sin_port = serr->port; sin 52 net/rxrpc/peer_event.c memcpy(&srx->transport.sin.sin_addr, sin 58 net/rxrpc/peer_event.c memcpy(&srx->transport.sin.sin_addr, sin 63 net/rxrpc/peer_event.c memcpy(&srx->transport.sin.sin_addr, &ip_hdr(skb)->saddr, sin 81 net/rxrpc/peer_event.c srx->transport_len = sizeof(srx->transport.sin); sin 83 net/rxrpc/peer_event.c srx->transport.sin.sin_port = serr->port; sin 84 net/rxrpc/peer_event.c memcpy(&srx->transport.sin.sin_addr, sin 44 net/rxrpc/peer_object.c hash_key += (u16 __force)srx->transport.sin.sin_port; sin 45 net/rxrpc/peer_object.c size = sizeof(srx->transport.sin.sin_addr); sin 46 net/rxrpc/peer_object.c p = (u16 *)&srx->transport.sin.sin_addr; sin 50 net/rxrpc/peer_object.c hash_key += (u16 __force)srx->transport.sin.sin_port; sin 93 net/rxrpc/peer_object.c return ((u16 __force)peer->srx.transport.sin.sin_port - sin 94 net/rxrpc/peer_object.c (u16 __force)srx->transport.sin.sin_port) ?: sin 95 net/rxrpc/peer_object.c memcmp(&peer->srx.transport.sin.sin_addr, sin 96 net/rxrpc/peer_object.c &srx->transport.sin.sin_addr, sin 171 net/rxrpc/peer_object.c peer->srx.transport.sin.sin_addr.s_addr, 0, sin 23 net/rxrpc/utils.c srx->transport_len = sizeof(srx->transport.sin); sin 24 net/rxrpc/utils.c srx->transport.sin.sin_family = AF_INET; sin 25 net/rxrpc/utils.c srx->transport.sin.sin_port = udp_hdr(skb)->source; sin 26 net/rxrpc/utils.c srx->transport.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; sin 883 net/sctp/protocol.c struct sockaddr_in *sin; sin 885 net/sctp/protocol.c sin = (struct sockaddr_in *)msgname; sin 887 net/sctp/protocol.c sin->sin_family = AF_INET; sin 888 net/sctp/protocol.c memset(sin->sin_zero, 0, sizeof(sin->sin_zero)); sin 895 net/sctp/protocol.c struct sockaddr_in *sin, *sinfrom; sin 902 net/sctp/protocol.c sin = (struct sockaddr_in *)msgname; sin 904 net/sctp/protocol.c sin->sin_port = htons(asoc->peer.port); sin 905 net/sctp/protocol.c sin->sin_addr.s_addr = sinfrom->sin_addr.s_addr; sin 914 net/sctp/protocol.c struct sockaddr_in *sin = (struct sockaddr_in *)msgname; sin 917 net/sctp/protocol.c sin->sin_port = sh->source; sin 918 net/sctp/protocol.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; sin 824 net/sctp/socket.c struct sockaddr_in *sin; sin 826 net/sctp/socket.c sin = (struct sockaddr_in *)addrs; sin 827 net/sctp/socket.c asoc->asconf_addr_del_pending->v4.sin_addr.s_addr = sin->sin_addr.s_addr; sin 187 net/sctp/stream_interleave.c struct sctp_stream_in *sin; sin 192 net/sctp/stream_interleave.c sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); sin 201 net/sctp/stream_interleave.c cevent->mid != sin->mid) sin 209 net/sctp/stream_interleave.c if (cevent->fsn == sin->fsn) { sin 223 net/sctp/stream_interleave.c if (cevent->fsn == sin->fsn) { sin 248 net/sctp/stream_interleave.c sin->fsn = next_fsn; sin 251 net/sctp/stream_interleave.c sin->pd_mode = 0; sin 267 net/sctp/stream_interleave.c struct sctp_stream_in *sin; sin 273 net/sctp/stream_interleave.c sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); sin 290 net/sctp/stream_interleave.c if (cevent->mid == sin->mid) { sin 333 net/sctp/stream_interleave.c sin->fsn = next_fsn; sin 334 net/sctp/stream_interleave.c sin->pd_mode = 1; sin 354 net/sctp/stream_interleave.c struct sctp_stream_in *sin; sin 363 net/sctp/stream_interleave.c sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); sin 364 net/sctp/stream_interleave.c if (sin->pd_mode && event->mid == sin->mid && sin 365 net/sctp/stream_interleave.c event->fsn == sin->fsn) sin 573 net/sctp/stream_interleave.c struct sctp_stream_in *sin; sin 578 net/sctp/stream_interleave.c sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); sin 588 net/sctp/stream_interleave.c if (MID_lt(cevent->mid, sin->mid_uo)) sin 590 net/sctp/stream_interleave.c if (MID_lt(sin->mid_uo, cevent->mid)) sin 598 net/sctp/stream_interleave.c if (cevent->fsn == sin->fsn_uo) { sin 612 net/sctp/stream_interleave.c if (cevent->fsn == sin->fsn_uo) { sin 637 net/sctp/stream_interleave.c sin->fsn_uo = next_fsn; sin 640 net/sctp/stream_interleave.c sin->pd_mode_uo = 0; sin 656 net/sctp/stream_interleave.c struct sctp_stream_in *sin; sin 662 net/sctp/stream_interleave.c sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); sin 679 net/sctp/stream_interleave.c if (!sin->pd_mode_uo) { sin 680 net/sctp/stream_interleave.c sin->mid_uo = cevent->mid; sin 723 net/sctp/stream_interleave.c sin->fsn_uo = next_fsn; sin 724 net/sctp/stream_interleave.c sin->pd_mode_uo = 1; sin 744 net/sctp/stream_interleave.c struct sctp_stream_in *sin; sin 753 net/sctp/stream_interleave.c sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); sin 754 net/sctp/stream_interleave.c if (sin->pd_mode_uo && event->mid == sin->mid_uo && sin 755 net/sctp/stream_interleave.c event->fsn == sin->fsn_uo) sin 766 net/sctp/stream_interleave.c struct sctp_stream_in *csin, *sin = NULL; sin 788 net/sctp/stream_interleave.c sin = csin; sin 790 net/sctp/stream_interleave.c sin->mid_uo = cevent->mid; sin 796 net/sctp/stream_interleave.c cevent->mid == sin->mid_uo && sin 821 net/sctp/stream_interleave.c sin->fsn_uo = next_fsn; sin 822 net/sctp/stream_interleave.c sin->pd_mode_uo = 1; sin 872 net/sctp/stream_interleave.c struct sctp_stream_in *csin, *sin = NULL; sin 895 net/sctp/stream_interleave.c sin = csin; sin 903 net/sctp/stream_interleave.c cevent->mid == sin->mid && sin 928 net/sctp/stream_interleave.c sin->fsn = next_fsn; sin 929 net/sctp/stream_interleave.c sin->pd_mode = 1; sin 1070 net/sctp/stream_interleave.c struct sctp_stream_in *sin = SCTP_SI(stream, sid); sin 1073 net/sctp/stream_interleave.c if (sin->pd_mode_uo) { sin 1074 net/sctp/stream_interleave.c sin->pd_mode_uo = 0; sin 1076 net/sctp/stream_interleave.c mid = sin->mid_uo; sin 1080 net/sctp/stream_interleave.c if (sin->pd_mode) { sin 1081 net/sctp/stream_interleave.c sin->pd_mode = 0; sin 1083 net/sctp/stream_interleave.c mid = sin->mid; sin 1264 net/sctp/stream_interleave.c struct sctp_stream_in *sin = sctp_stream_in(&ulpq->asoc->stream, sid); sin 1268 net/sctp/stream_interleave.c if (sin->pd_mode_uo && MID_lt(sin->mid_uo, mid)) { sin 1269 net/sctp/stream_interleave.c sin->pd_mode_uo = 0; sin 1279 net/sctp/stream_interleave.c if (sin->pd_mode) { sin 1280 net/sctp/stream_interleave.c sin->pd_mode = 0; sin 115 net/sunrpc/addr.c const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sin 117 net/sunrpc/addr.c return snprintf(buf, buflen, "%pI4", &sin->sin_addr); sin 145 net/sunrpc/addr.c struct sockaddr_in *sin = (struct sockaddr_in *)sap; sin 146 net/sunrpc/addr.c u8 *addr = (u8 *)&sin->sin_addr.s_addr; sin 156 net/sunrpc/addr.c sin->sin_family = AF_INET; sin 554 net/sunrpc/clnt.c struct sockaddr_in *sin = sin 567 net/sunrpc/clnt.c &sin->sin_addr.s_addr); sin 484 net/sunrpc/rpcb_clnt.c const struct sockaddr_in *sin = (const struct sockaddr_in *)sap; sin 486 net/sunrpc/rpcb_clnt.c unsigned short port = ntohs(sin->sin_port); sin 887 net/sunrpc/svc.c const struct sockaddr_in sin = { sin 907 net/sunrpc/svc.c (const struct sockaddr *)&sin, netid); sin 188 net/sunrpc/svc_xprt.c struct sockaddr_in sin = { sin 205 net/sunrpc/svc_xprt.c sap = (struct sockaddr *)&sin; sin 206 net/sunrpc/svc_xprt.c len = sizeof(sin); sin 566 net/sunrpc/svc_xprt.c int svc_port_is_privileged(struct sockaddr *sin) sin 568 net/sunrpc/svc_xprt.c switch (sin->sa_family) { sin 570 net/sunrpc/svc_xprt.c return ntohs(((struct sockaddr_in *)sin)->sin_port) sin 573 net/sunrpc/svc_xprt.c return ntohs(((struct sockaddr_in6 *)sin)->sin6_port) sin 667 net/sunrpc/svcauth_unix.c struct sockaddr_in *sin; sin 678 net/sunrpc/svcauth_unix.c sin = svc_addr_in(rqstp); sin 680 net/sunrpc/svcauth_unix.c ipv6_addr_set_v4mapped(sin->sin_addr.s_addr, &sin6->sin6_addr); sin 779 net/sunrpc/svcsock.c struct sockaddr *sin = (struct sockaddr *) &addr; sin 804 net/sunrpc/svcsock.c err = kernel_getpeername(newsock, sin); sin 816 net/sunrpc/svcsock.c if (!svc_port_is_privileged(sin)) { sin 819 net/sunrpc/svcsock.c __svc_print_addr(sin, buf, sizeof(buf))); sin 822 net/sunrpc/svcsock.c __svc_print_addr(sin, buf, sizeof(buf))); sin 838 net/sunrpc/svcsock.c svc_xprt_set_remote(&newsvsk->sk_xprt, sin, slen); sin 839 net/sunrpc/svcsock.c err = kernel_getsockname(newsock, sin); sin 845 net/sunrpc/svcsock.c svc_xprt_set_local(&newsvsk->sk_xprt, sin, slen); sin 1353 net/sunrpc/svcsock.c struct sockaddr *sin = (struct sockaddr *)&addr; sin 1377 net/sunrpc/svcsock.c salen = kernel_getsockname(svsk->sk_sock, sin); sin 1379 net/sunrpc/svcsock.c svc_xprt_set_local(&svsk->sk_xprt, sin, salen); sin 1395 net/sunrpc/svcsock.c struct sockaddr *sin, int len, sin 1411 net/sunrpc/svcsock.c __svc_print_addr(sin, buf, sizeof(buf))); sin 1420 net/sunrpc/svcsock.c switch (sin->sa_family) { sin 1449 net/sunrpc/svcsock.c error = kernel_bind(sock, sin, len); sin 162 net/sunrpc/xprtrdma/transport.c struct sockaddr_in *sin = (struct sockaddr_in *)sap; sin 165 net/sunrpc/xprtrdma/transport.c snprintf(buf, sizeof(buf), "%08x", ntohl(sin->sin_addr.s_addr)); sin 250 net/sunrpc/xprtsock.c struct sockaddr_in *sin; sin 265 net/sunrpc/xprtsock.c sin = xs_addr_in(xprt); sin 266 net/sunrpc/xprtsock.c snprintf(buf, sizeof(buf), "%08x", ntohl(sin->sin_addr.s_addr)); sin 2828 net/sunrpc/xprtsock.c static const struct sockaddr_in sin = { sin 2841 net/sunrpc/xprtsock.c memcpy(sap, &sin, sizeof(sin)); sin 22 tools/perf/trace/beauty/sockaddr.c struct sockaddr_in *sin = (struct sockaddr_in *)sa; sin 24 tools/perf/trace/beauty/sockaddr.c return scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin->sin_port), sin 25 tools/perf/trace/beauty/sockaddr.c inet_ntop(sin->sin_family, &sin->sin_addr, tmp, sizeof(tmp))); sin 230 tools/testing/selftests/net/nettest.c struct sockaddr_in sin = { sin 241 tools/testing/selftests/net/nettest.c sin.sin_port = htons(args->port); sin 242 tools/testing/selftests/net/nettest.c sin.sin_addr = args->remote_addr.in; sin 243 tools/testing/selftests/net/nettest.c addr = &sin; sin 244 tools/testing/selftests/net/nettest.c alen = sizeof(sin); sin 779 tools/testing/selftests/net/nettest.c struct sockaddr_in *sin; sin 781 tools/testing/selftests/net/nettest.c sin = (struct sockaddr_in *) addr; sin 784 tools/testing/selftests/net/nettest.c sin->sin_addr = in4; sin 785 tools/testing/selftests/net/nettest.c sin->sin_family = AF_INET; sin 1342 tools/testing/selftests/net/nettest.c struct sockaddr_in sin = { sin 1360 tools/testing/selftests/net/nettest.c sin.sin_port = htons(args->port); sin 1362 tools/testing/selftests/net/nettest.c sin.sin_addr = args->grp; sin 1364 tools/testing/selftests/net/nettest.c sin.sin_addr = args->remote_addr.in; sin 1365 tools/testing/selftests/net/nettest.c addr = &sin; sin 1366 tools/testing/selftests/net/nettest.c alen = sizeof(sin);