sockaddr_in 113 arch/um/drivers/port_user.c struct sockaddr_in addr; sockaddr_in 22 arch/um/drivers/umcast_user.c static struct sockaddr_in *new_addr(char *addr, unsigned short port) sockaddr_in 24 arch/um/drivers/umcast_user.c struct sockaddr_in *sin; sockaddr_in 26 arch/um/drivers/umcast_user.c sin = uml_kmalloc(sizeof(struct sockaddr_in), UM_GFP_KERNEL); sockaddr_in 67 arch/um/drivers/umcast_user.c struct sockaddr_in *lsin = pri->listen_addr; sockaddr_in 68 arch/um/drivers/umcast_user.c struct sockaddr_in *rsin = pri->remote_addr; sockaddr_in 154 arch/um/drivers/umcast_user.c struct sockaddr_in *lsin = pri->listen_addr; sockaddr_in 170 arch/um/drivers/umcast_user.c struct sockaddr_in *data_addr = pri->remote_addr; sockaddr_in 345 drivers/block/drbd/drbd_nl.c &((struct sockaddr_in *)&connection->peer_addr)->sin_addr); sockaddr_in 350 drivers/block/drbd/drbd_nl.c &((struct sockaddr_in *)&connection->peer_addr)->sin_addr); sockaddr_in 614 drivers/block/drbd/drbd_receiver.c ((struct sockaddr_in *)&src_in6)->sin_port = 0; /* AF_INET & AF_SCI */ sockaddr_in 198 drivers/infiniband/core/addr.c return sizeof(struct sockaddr_in); sockaddr_in 253 drivers/infiniband/core/addr.c ((const struct sockaddr_in *)src_in)->sin_addr.s_addr, sockaddr_in 365 drivers/infiniband/core/addr.c const struct sockaddr_in *dst_in4 = sockaddr_in 366 drivers/infiniband/core/addr.c (const struct sockaddr_in *)dst_in; sockaddr_in 386 drivers/infiniband/core/addr.c struct sockaddr_in *src_in = (struct sockaddr_in *)src_sock; sockaddr_in 387 drivers/infiniband/core/addr.c const struct sockaddr_in *dst_in = sockaddr_in 388 drivers/infiniband/core/addr.c (const struct sockaddr_in *)dst_sock; sockaddr_in 724 drivers/infiniband/core/addr.c struct sockaddr_in _sockaddr_in; sockaddr_in 817 drivers/infiniband/core/addr.c struct sockaddr_in _sockaddr_in; sockaddr_in 1148 drivers/infiniband/core/cma.c return ipv4_is_zeronet(((struct sockaddr_in *)addr)->sin_addr.s_addr); sockaddr_in 1163 drivers/infiniband/core/cma.c ((struct sockaddr_in *)addr)->sin_addr.s_addr); sockaddr_in 1187 drivers/infiniband/core/cma.c return ((struct sockaddr_in *)src)->sin_addr.s_addr != sockaddr_in 1188 drivers/infiniband/core/cma.c ((struct sockaddr_in *)dst)->sin_addr.s_addr; sockaddr_in 1217 drivers/infiniband/core/cma.c return ((struct sockaddr_in *) addr)->sin_port; sockaddr_in 1271 drivers/infiniband/core/cma.c static void cma_save_ip4_info(struct sockaddr_in *src_addr, sockaddr_in 1272 drivers/infiniband/core/cma.c struct sockaddr_in *dst_addr, sockaddr_in 1277 drivers/infiniband/core/cma.c *src_addr = (struct sockaddr_in) { sockaddr_in 1285 drivers/infiniband/core/cma.c *dst_addr = (struct sockaddr_in) { sockaddr_in 1336 drivers/infiniband/core/cma.c cma_save_ip4_info((struct sockaddr_in *)src_addr, sockaddr_in 1337 drivers/infiniband/core/cma.c (struct sockaddr_in *)dst_addr, hdr, port); sockaddr_in 1409 drivers/infiniband/core/cma.c const struct sockaddr_in *dst_addr, sockaddr_in 1410 drivers/infiniband/core/cma.c const struct sockaddr_in *src_addr) sockaddr_in 1466 drivers/infiniband/core/cma.c const struct sockaddr_in *daddr4 = (const struct sockaddr_in *)daddr; sockaddr_in 1467 drivers/infiniband/core/cma.c const struct sockaddr_in *saddr4 = (const struct sockaddr_in *)saddr; sockaddr_in 1553 drivers/infiniband/core/cma.c ip4_addr = ((struct sockaddr_in *)addr)->sin_addr.s_addr; sockaddr_in 2954 drivers/infiniband/core/cma.c ((struct sockaddr_in *) addr)->sin_addr.s_addr = htonl(INADDR_LOOPBACK); sockaddr_in 3253 drivers/infiniband/core/cma.c ((struct sockaddr_in *) addr)->sin_port = port; sockaddr_in 3648 drivers/infiniband/core/cma.c struct sockaddr_in *src4, *dst4; sockaddr_in 3650 drivers/infiniband/core/cma.c src4 = (struct sockaddr_in *) cma_src_addr(id_priv); sockaddr_in 3651 drivers/infiniband/core/cma.c dst4 = (struct sockaddr_in *) cma_dst_addr(id_priv); sockaddr_in 4224 drivers/infiniband/core/cma.c struct sockaddr_in *sin = (struct sockaddr_in *) addr; sockaddr_in 4319 drivers/infiniband/core/cma.c struct sockaddr_in *sin = (struct sockaddr_in *)addr; sockaddr_in 473 drivers/infiniband/core/iwcm.c struct sockaddr_in *pm4_addr = (struct sockaddr_in *)pm_addr; sockaddr_in 476 drivers/infiniband/core/iwcm.c struct sockaddr_in *cm4_addr = sockaddr_in 477 drivers/infiniband/core/iwcm.c (struct sockaddr_in *)cm_addr; sockaddr_in 478 drivers/infiniband/core/iwcm.c struct sockaddr_in *cm4_outaddr = sockaddr_in 479 drivers/infiniband/core/iwcm.c (struct sockaddr_in *)cm_outaddr; sockaddr_in 457 drivers/infiniband/core/iwpm_util.c struct sockaddr_in *a4_sockaddr = sockaddr_in 458 drivers/infiniband/core/iwpm_util.c (struct sockaddr_in *)a_sockaddr; sockaddr_in 459 drivers/infiniband/core/iwpm_util.c struct sockaddr_in *b4_sockaddr = sockaddr_in 460 drivers/infiniband/core/iwpm_util.c (struct sockaddr_in *)b_sockaddr; sockaddr_in 536 drivers/infiniband/core/iwpm_util.c struct sockaddr_in *sockaddr_v4; sockaddr_in 540 drivers/infiniband/core/iwpm_util.c sockaddr_v4 = (struct sockaddr_in *)sockaddr; sockaddr_in 565 drivers/infiniband/core/iwpm_util.c static u32 iwpm_ipv4_jhash(struct sockaddr_in *ipv4_sockaddr) sockaddr_in 578 drivers/infiniband/core/iwpm_util.c a_hash = iwpm_ipv4_jhash((struct sockaddr_in *) a_sockaddr); sockaddr_in 579 drivers/infiniband/core/iwpm_util.c b_hash = iwpm_ipv4_jhash((struct sockaddr_in *) b_sockaddr); sockaddr_in 337 drivers/infiniband/core/roce_gid_mgmt.c struct sockaddr_in ip; sockaddr_in 857 drivers/infiniband/core/roce_gid_mgmt.c struct sockaddr_in in; sockaddr_in 862 drivers/infiniband/core/ucma.c sizeof(struct sockaddr_in) : sockaddr_in 866 drivers/infiniband/core/ucma.c sizeof(struct sockaddr_in) : sockaddr_in 694 drivers/infiniband/core/verbs.c struct sockaddr_in src_in; sockaddr_in 695 drivers/infiniband/core/verbs.c struct sockaddr_in dst_in; sockaddr_in 1866 drivers/infiniband/hw/cxgb3/iwch_cm.c struct sockaddr_in *raddr = (struct sockaddr_in *)&cm_id->m_remote_addr; sockaddr_in 1881 drivers/infiniband/hw/cxgb3/iwch_cm.c struct sockaddr_in *laddr = (struct sockaddr_in *)&cm_id->m_local_addr; sockaddr_in 1882 drivers/infiniband/hw/cxgb3/iwch_cm.c struct sockaddr_in *raddr = (struct sockaddr_in *)&cm_id->m_remote_addr; sockaddr_in 161 drivers/infiniband/hw/cxgb3/iwch_cm.h struct sockaddr_in local_addr; sockaddr_in 162 drivers/infiniband/hw/cxgb3/iwch_cm.h struct sockaddr_in remote_addr; sockaddr_in 727 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *la = (struct sockaddr_in *) sockaddr_in 729 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *ra = (struct sockaddr_in *) sockaddr_in 1964 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *sin; sockaddr_in 1974 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&ep->com.local_addr; sockaddr_in 1977 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&ep->com.remote_addr; sockaddr_in 2155 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *laddr = (struct sockaddr_in *) sockaddr_in 2157 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *raddr = (struct sockaddr_in *) sockaddr_in 2272 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *la; sockaddr_in 2273 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *ra; sockaddr_in 2279 drivers/infiniband/hw/cxgb4/cm.c la = (struct sockaddr_in *)&ep->com.local_addr; sockaddr_in 2280 drivers/infiniband/hw/cxgb4/cm.c ra = (struct sockaddr_in *)&ep->com.remote_addr; sockaddr_in 2606 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sockaddr_in 2613 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&child_ep->com.local_addr; sockaddr_in 2615 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = ((struct sockaddr_in *) sockaddr_in 2619 drivers/infiniband/hw/cxgb4/cm.c sin = (struct sockaddr_in *)&child_ep->com.remote_addr; sockaddr_in 3235 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *laddr = (struct sockaddr_in *)&cm_id->m_local_addr; sockaddr_in 3236 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *raddr = (struct sockaddr_in *)&cm_id->m_remote_addr; sockaddr_in 3302 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *laddr; sockaddr_in 3303 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *raddr; sockaddr_in 3370 drivers/infiniband/hw/cxgb4/cm.c laddr = (struct sockaddr_in *)&ep->com.local_addr; sockaddr_in 3371 drivers/infiniband/hw/cxgb4/cm.c raddr = (struct sockaddr_in *)&ep->com.remote_addr; sockaddr_in 3499 drivers/infiniband/hw/cxgb4/cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sockaddr_in 199 drivers/infiniband/hw/cxgb4/device.c static struct sockaddr_in zero_sin = { sockaddr_in 208 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in **lsin, sockaddr_in 209 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in **rsin, sockaddr_in 210 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in **m_lsin, sockaddr_in 211 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in **m_rsin) sockaddr_in 215 drivers/infiniband/hw/cxgb4/device.c *m_lsin = (struct sockaddr_in *)&ep->com.local_addr; sockaddr_in 216 drivers/infiniband/hw/cxgb4/device.c *m_rsin = (struct sockaddr_in *)&ep->com.remote_addr; sockaddr_in 218 drivers/infiniband/hw/cxgb4/device.c *lsin = (struct sockaddr_in *)&id->local_addr; sockaddr_in 219 drivers/infiniband/hw/cxgb4/device.c *rsin = (struct sockaddr_in *)&id->remote_addr; sockaddr_in 261 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *lsin; sockaddr_in 262 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *rsin; sockaddr_in 263 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *m_lsin; sockaddr_in 264 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *m_rsin; sockaddr_in 568 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *lsin; sockaddr_in 569 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *rsin; sockaddr_in 570 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *m_lsin; sockaddr_in 571 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *m_rsin; sockaddr_in 626 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *lsin = (struct sockaddr_in *) sockaddr_in 628 drivers/infiniband/hw/cxgb4/device.c struct sockaddr_in *m_lsin = (struct sockaddr_in *) sockaddr_in 173 drivers/infiniband/hw/i40iw/i40iw_cm.c struct sockaddr_in *laddr = (struct sockaddr_in *)&event->local_addr; sockaddr_in 174 drivers/infiniband/hw/i40iw/i40iw_cm.c struct sockaddr_in *raddr = (struct sockaddr_in *)&event->remote_addr; sockaddr_in 3663 drivers/infiniband/hw/i40iw/i40iw_cm.c if (((struct sockaddr_in *)&cm_id->local_addr)->sin_family == AF_INET) { sockaddr_in 3826 drivers/infiniband/hw/i40iw/i40iw_cm.c struct sockaddr_in *laddr; sockaddr_in 3827 drivers/infiniband/hw/i40iw/i40iw_cm.c struct sockaddr_in *raddr; sockaddr_in 3842 drivers/infiniband/hw/i40iw/i40iw_cm.c laddr = (struct sockaddr_in *)&cm_id->m_local_addr; sockaddr_in 3843 drivers/infiniband/hw/i40iw/i40iw_cm.c raddr = (struct sockaddr_in *)&cm_id->m_remote_addr; sockaddr_in 3964 drivers/infiniband/hw/i40iw/i40iw_cm.c struct sockaddr_in *laddr; sockaddr_in 3972 drivers/infiniband/hw/i40iw/i40iw_cm.c laddr = (struct sockaddr_in *)&cm_id->m_local_addr; sockaddr_in 86 drivers/infiniband/hw/ocrdma/ocrdma_ah.c struct sockaddr_in _sockaddr_in; sockaddr_in 2498 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct sockaddr_in _sockaddr_in; sockaddr_in 46 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct sockaddr_in *laddr = (struct sockaddr_in *)&event->local_addr; sockaddr_in 47 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct sockaddr_in *raddr = (struct sockaddr_in *)&event->remote_addr; sockaddr_in 432 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct sockaddr_in *src_in, sockaddr_in 433 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct sockaddr_in *dst_in, u8 *dst_mac) sockaddr_in 530 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct sockaddr_in *laddr; sockaddr_in 531 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct sockaddr_in *raddr; sockaddr_in 537 drivers/infiniband/hw/qedr/qedr_iw_cm.c laddr = (struct sockaddr_in *)&cm_id->m_local_addr; sockaddr_in 538 drivers/infiniband/hw/qedr/qedr_iw_cm.c raddr = (struct sockaddr_in *)&cm_id->m_remote_addr; sockaddr_in 543 drivers/infiniband/hw/qedr/qedr_iw_cm.c ntohs(((struct sockaddr_in *)&cm_id->remote_addr)->sin_port), sockaddr_in 652 drivers/infiniband/hw/qedr/qedr_iw_cm.c struct sockaddr_in *laddr; sockaddr_in 657 drivers/infiniband/hw/qedr/qedr_iw_cm.c laddr = (struct sockaddr_in *)&cm_id->m_local_addr; sockaddr_in 178 drivers/infiniband/hw/usnic/usnic_transport.c struct sockaddr_in sock_addr; sockaddr_in 192 drivers/infiniband/hw/usnic/usnic_transport.c *port = ntohs(((struct sockaddr_in *)&sock_addr)->sin_port); sockaddr_in 194 drivers/infiniband/hw/usnic/usnic_transport.c *addr = ntohl(((struct sockaddr_in *) sockaddr_in 1317 drivers/infiniband/sw/siw/siw_cm.c sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6); sockaddr_in 1379 drivers/infiniband/sw/siw/siw_cm.c &((struct sockaddr_in *)(laddr))->sin_addr, sockaddr_in 1380 drivers/infiniband/sw/siw/siw_cm.c ntohs(((struct sockaddr_in *)(laddr))->sin_port), sockaddr_in 1381 drivers/infiniband/sw/siw/siw_cm.c &((struct sockaddr_in *)(raddr))->sin_addr, sockaddr_in 1382 drivers/infiniband/sw/siw/siw_cm.c ntohs(((struct sockaddr_in *)(raddr))->sin_port)); sockaddr_in 1818 drivers/infiniband/sw/siw/siw_cm.c struct sockaddr_in *laddr = &to_sockaddr_in(id->local_addr); sockaddr_in 1825 drivers/infiniband/sw/siw/siw_cm.c sizeof(struct sockaddr_in)); sockaddr_in 92 drivers/infiniband/sw/siw/siw_cm.h #define to_sockaddr_in(a) (*(struct sockaddr_in *)(&(a))) sockaddr_in 292 drivers/infiniband/ulp/ipoib/ipoib_main.c struct sockaddr_in *addr_in = (struct sockaddr_in *)addr; sockaddr_in 246 drivers/infiniband/ulp/srp/ib_srp.h struct sockaddr_in ip4; sockaddr_in 251 drivers/infiniband/ulp/srp/ib_srp.h struct sockaddr_in ip4; sockaddr_in 3654 drivers/infiniband/ulp/srpt/ib_srpt.c struct sockaddr_in addr4 = { .sin_family = AF_INET }; sockaddr_in 77 drivers/isdn/mISDN/l1oip.h struct sockaddr_in sin_local; /* local socket name */ sockaddr_in 78 drivers/isdn/mISDN/l1oip.h struct sockaddr_in sin_remote; /* remote socket name */ sockaddr_in 444 drivers/isdn/mISDN/l1oip_core.c l1oip_socket_parse(struct l1oip *hc, struct sockaddr_in *sin, u8 *buf, int len) sockaddr_in 634 drivers/isdn/mISDN/l1oip_core.c struct sockaddr_in sin_rx; sockaddr_in 3674 drivers/net/ethernet/broadcom/cnic.c static int cnic_get_v4_route(struct sockaddr_in *dst_addr, sockaddr_in 3714 drivers/net/ethernet/broadcom/cnic.c static struct cnic_dev *cnic_cm_select_dev(struct sockaddr_in *dst_addr, sockaddr_in 251 drivers/net/ethernet/broadcom/cnic_if.h struct sockaddr_in v4; sockaddr_in 255 drivers/net/ethernet/broadcom/cnic_if.h struct sockaddr_in v4; sockaddr_in 330 drivers/net/ethernet/broadcom/cnic_if.h struct cnic_dev *(*cm_select_dev)(struct sockaddr_in *, int ulp_type); sockaddr_in 20 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h struct sockaddr_in addr; sockaddr_in 115 drivers/scsi/be2iscsi/be_mgmt.c struct sockaddr_in *daddr_in = (struct sockaddr_in *)dst_addr; sockaddr_in 1665 drivers/scsi/bnx2i/bnx2i_iscsi.c struct sockaddr_in *desti = (struct sockaddr_in *) dst_addr; sockaddr_in 1775 drivers/scsi/bnx2i/bnx2i_iscsi.c struct sockaddr_in *desti = (struct sockaddr_in *) dst_addr; sockaddr_in 1886 drivers/scsi/bnx2i/bnx2i_iscsi.c desti = (struct sockaddr_in *) dst_addr; sockaddr_in 604 drivers/scsi/cxgbi/libcxgbi.c struct sockaddr_in *daddr = (struct sockaddr_in *)dst_addr; sockaddr_in 141 drivers/scsi/cxgbi/libcxgbi.h struct sockaddr_in saddr; sockaddr_in 145 drivers/scsi/cxgbi/libcxgbi.h struct sockaddr_in daddr; sockaddr_in 3459 drivers/scsi/libiscsi.c struct sockaddr_in *sin = NULL; sockaddr_in 3464 drivers/scsi/libiscsi.c sin = (struct sockaddr_in *)addr; sockaddr_in 807 drivers/scsi/qedi/qedi_iscsi.c struct sockaddr_in *addr; sockaddr_in 848 drivers/scsi/qedi/qedi_iscsi.c addr = (struct sockaddr_in *)dst_addr; sockaddr_in 1993 drivers/scsi/qla4xxx/ql4_mbx.c struct sockaddr_in *addr; sockaddr_in 2046 drivers/scsi/qla4xxx/ql4_mbx.c addr = (struct sockaddr_in *)dst_addr; sockaddr_in 287 drivers/scsi/qla4xxx/ql4_os.c struct sockaddr_in *addr; sockaddr_in 297 drivers/scsi/qla4xxx/ql4_os.c addr = (struct sockaddr_in *)dst_addr; sockaddr_in 1681 drivers/scsi/qla4xxx/ql4_os.c struct sockaddr_in *addr; sockaddr_in 1700 drivers/scsi/qla4xxx/ql4_os.c memcpy(&qla_ep->dst_addr, dst_addr, sizeof(struct sockaddr_in)); sockaddr_in 1701 drivers/scsi/qla4xxx/ql4_os.c addr = (struct sockaddr_in *)&qla_ep->dst_addr; sockaddr_in 6554 drivers/scsi/qla4xxx/ql4_os.c struct sockaddr_in *addr; sockaddr_in 6576 drivers/scsi/qla4xxx/ql4_os.c addr = (struct sockaddr_in *)dst_addr; sockaddr_in 199 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sockaddr_in 299 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin; sockaddr_in 301 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin = (struct sockaddr_in *)sockaddr; sockaddr_in 325 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin; sockaddr_in 327 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin = (struct sockaddr_in *)sockaddr; sockaddr_in 1328 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct sockaddr_in *sin = (struct sockaddr_in *) sockaddr_in 1334 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin = (struct sockaddr_in *)&csk->com.remote_addr; sockaddr_in 550 drivers/target/iscsi/cxgbit/cxgbit_main.c struct sockaddr_in *sock_in; sockaddr_in 552 drivers/target/iscsi/cxgbit/cxgbit_main.c sock_in = (struct sockaddr_in *)&csk->com.local_addr; sockaddr_in 269 drivers/target/iscsi/iscsi_target.c struct sockaddr_in *sock_in, *sock_in_e; sockaddr_in 286 drivers/target/iscsi/iscsi_target.c sock_in = (struct sockaddr_in *)sockaddr; sockaddr_in 287 drivers/target/iscsi/iscsi_target.c sock_in_e = (struct sockaddr_in *)&np->np_sockaddr; sockaddr_in 896 drivers/target/iscsi/iscsi_target_login.c len = sizeof(struct sockaddr_in); sockaddr_in 973 drivers/target/iscsi/iscsi_target_login.c struct sockaddr_in sock_in; sockaddr_in 1015 drivers/target/iscsi/iscsi_target_login.c memset(&sock_in, 0, sizeof(struct sockaddr_in)); sockaddr_in 284 fs/afs/addr_list.c struct sockaddr_in *a = &alist->addrs[i].transport.sin; sockaddr_in 65 fs/afs/server.c const struct sockaddr_in *a = &srx->transport.sin, *b; sockaddr_in 127 fs/cifs/cifs_debug.c struct sockaddr_in *ipv4 = (struct sockaddr_in *)&iface->sockaddr; sockaddr_in 102 fs/cifs/cifs_spnego.c struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; sockaddr_in 374 fs/cifs/cifsfs.c struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; sockaddr_in 493 fs/cifs/cifsfs.c struct sockaddr_in *saddr4; sockaddr_in 495 fs/cifs/cifsfs.c saddr4 = (struct sockaddr_in *)srcaddr; sockaddr_in 2527 fs/cifs/connect.c struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; sockaddr_in 2528 fs/cifs/connect.c struct sockaddr_in *vaddr4 = (struct sockaddr_in *)rhs; sockaddr_in 2558 fs/cifs/connect.c sport = &((struct sockaddr_in *) &server->dstaddr)->sin_port; sockaddr_in 2559 fs/cifs/connect.c port = ((struct sockaddr_in *) addr)->sin_port; sockaddr_in 2587 fs/cifs/connect.c struct sockaddr_in *addr4 = (struct sockaddr_in *)addr; sockaddr_in 2588 fs/cifs/connect.c struct sockaddr_in *srv_addr4 = sockaddr_in 2589 fs/cifs/connect.c (struct sockaddr_in *)&server->dstaddr; sockaddr_in 3089 fs/cifs/connect.c struct sockaddr_in *sa; sockaddr_in 3100 fs/cifs/connect.c sa = (struct sockaddr_in *)&server->dstaddr; sockaddr_in 3239 fs/cifs/connect.c struct sockaddr_in *addr = (struct sockaddr_in *)&server->dstaddr; sockaddr_in 3772 fs/cifs/connect.c struct sockaddr_in *saddr4; sockaddr_in 3774 fs/cifs/connect.c saddr4 = (struct sockaddr_in *)&server->srcaddr; sockaddr_in 3875 fs/cifs/connect.c sport = ((struct sockaddr_in *) saddr)->sin_port; sockaddr_in 3876 fs/cifs/connect.c slen = sizeof(struct sockaddr_in); sockaddr_in 3959 fs/cifs/connect.c struct sockaddr_in *addr = (struct sockaddr_in *)&server->dstaddr; sockaddr_in 46 fs/cifs/fscache.c const struct sockaddr_in *addr = (struct sockaddr_in *) sa; sockaddr_in 157 fs/cifs/netmisc.c struct sockaddr_in *s4 = (struct sockaddr_in *) dst; sockaddr_in 195 fs/cifs/netmisc.c ((struct sockaddr_in *)addr)->sin_port = htons(port); sockaddr_in 429 fs/cifs/smb2ops.c struct sockaddr_in *addr4; sockaddr_in 499 fs/cifs/smb2ops.c addr4 = (struct sockaddr_in *)&info->sockaddr; sockaddr_in 597 fs/cifs/smbdirect.c sport = &((struct sockaddr_in *)dstaddr)->sin_port; sockaddr_in 1598 fs/cifs/smbdirect.c struct sockaddr_in *addr_in = (struct sockaddr_in *) dstaddr; sockaddr_in 625 fs/dlm/config.c struct sockaddr_in *addr_in; sockaddr_in 641 fs/dlm/config.c addr_in = (struct sockaddr_in *)addr; sockaddr_in 273 fs/dlm/lowcomms.c struct sockaddr_in *sinx = (struct sockaddr_in *)x; sockaddr_in 274 fs/dlm/lowcomms.c struct sockaddr_in *siny = (struct sockaddr_in *)y; sockaddr_in 332 fs/dlm/lowcomms.c struct sockaddr_in *in4 = (struct sockaddr_in *) &sas; sockaddr_in 333 fs/dlm/lowcomms.c struct sockaddr_in *ret4 = (struct sockaddr_in *) sa_out; sockaddr_in 499 fs/dlm/lowcomms.c struct sockaddr_in *sin4 = (struct sockaddr_in *)&saddr; sockaddr_in 575 fs/dlm/lowcomms.c struct sockaddr_in *in4_addr = (struct sockaddr_in *)saddr; sockaddr_in 577 fs/dlm/lowcomms.c *addr_len = sizeof(struct sockaddr_in); sockaddr_in 1231 fs/dlm/lowcomms.c addr_len = sizeof(struct sockaddr_in); sockaddr_in 77 fs/lockd/host.c const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sockaddr_in 70 fs/lockd/mon.c struct sockaddr_in sin = { sockaddr_in 303 fs/lockd/svc.c struct sockaddr_in sin; sockaddr_in 2239 fs/nfs/flexfilelayout/flexfilelayout.c const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sockaddr_in 2299 fs/nfs/flexfilelayout/flexfilelayout.c port = ntohs(((struct sockaddr_in *)sap)->sin_port); sockaddr_in 53 fs/nfs/fscache.c const struct sockaddr_in *sin = (struct sockaddr_in *) &clp->cl_addr; sockaddr_in 346 fs/nfs/pnfs_nfs.c struct sockaddr_in *a, *b; sockaddr_in 354 fs/nfs/pnfs_nfs.c a = (struct sockaddr_in *)addr1; sockaddr_in 355 fs/nfs/pnfs_nfs.c b = (struct sockaddr_in *)addr2; sockaddr_in 873 fs/nfs/pnfs_nfs.c ((struct sockaddr_in *)&da->da_addr)->sin_port = port; sockaddr_in 874 fs/nfs/pnfs_nfs.c da->da_addrlen = sizeof(struct sockaddr_in); sockaddr_in 577 fs/nfs/super.c struct sockaddr_in *sin = (struct sockaddr_in *)sap; sockaddr_in 981 fs/nfs/super.c struct sockaddr_in *sa = (struct sockaddr_in *)addr; sockaddr_in 2505 fs/nfs/super.c struct sockaddr_in *sin1 = (struct sockaddr_in *)sap1; sockaddr_in 2506 fs/nfs/super.c struct sockaddr_in *sin2 = (struct sockaddr_in *)sap2; sockaddr_in 2863 fs/nfs/super.c args->nfs_server.port = ntohs(((struct sockaddr_in *)sap)->sin_port); sockaddr_in 103 fs/nfsd/flexfilelayout.c struct sockaddr_in *sin; sockaddr_in 105 fs/nfsd/flexfilelayout.c sin = (struct sockaddr_in *)&rqstp->rq_daddr; sockaddr_in 435 fs/nfsd/nfssvc.c struct sockaddr_in sin; sockaddr_in 1570 fs/ocfs2/cluster/tcp.c struct sockaddr_in myaddr = {0, }, remoteaddr = {0, }; sockaddr_in 1807 fs/ocfs2/cluster/tcp.c struct sockaddr_in sin; sockaddr_in 2013 fs/ocfs2/cluster/tcp.c struct sockaddr_in sin = { sockaddr_in 102 include/linux/lockd/lockd.h static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host) sockaddr_in 104 include/linux/lockd/lockd.h return (struct sockaddr_in *)&host->h_addr; sockaddr_in 112 include/linux/lockd/lockd.h static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host) sockaddr_in 114 include/linux/lockd/lockd.h return (struct sockaddr_in *)&host->h_srcaddr; sockaddr_in 311 include/linux/lockd/lockd.h const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sockaddr_in 27 include/linux/sunrpc/addr.h return ntohs(((struct sockaddr_in *)sap)->sin_port); sockaddr_in 39 include/linux/sunrpc/addr.h ((struct sockaddr_in *)sap)->sin_port = htons(port); sockaddr_in 53 include/linux/sunrpc/addr.h const struct sockaddr_in *sin1 = (const struct sockaddr_in *)sap1; sockaddr_in 54 include/linux/sunrpc/addr.h const struct sockaddr_in *sin2 = (const struct sockaddr_in *)sap2; sockaddr_in 62 include/linux/sunrpc/addr.h const struct sockaddr_in *ssin = (struct sockaddr_in *) src; sockaddr_in 63 include/linux/sunrpc/addr.h struct sockaddr_in *dsin = (struct sockaddr_in *) dst; sockaddr_in 309 include/linux/sunrpc/svc.h static inline struct sockaddr_in *svc_addr_in(const struct svc_rqst *rqst) sockaddr_in 311 include/linux/sunrpc/svc.h return (struct sockaddr_in *) &rqst->rq_addr; sockaddr_in 324 include/linux/sunrpc/svc.h static inline struct sockaddr_in *svc_daddr_in(const struct svc_rqst *rqst) sockaddr_in 326 include/linux/sunrpc/svc.h return (struct sockaddr_in *) &rqst->rq_daddr; sockaddr_in 162 include/linux/sunrpc/svc_xprt.h const struct sockaddr_in *sin = (const struct sockaddr_in *)sa; sockaddr_in 179 include/linux/sunrpc/svc_xprt.h return sizeof(struct sockaddr_in); sockaddr_in 199 include/linux/sunrpc/svc_xprt.h const struct sockaddr_in *sin = (const struct sockaddr_in *)addr; sockaddr_in 54 include/net/sctp/structs.h struct sockaddr_in v4; sockaddr_in 189 include/net/vxlan.h struct sockaddr_in sin; sockaddr_in 144 include/rdma/ib_addr.h ipv6_addr_set_v4mapped(((struct sockaddr_in *) sockaddr_in 162 include/rdma/ib_addr.h struct sockaddr_in *out_in = (struct sockaddr_in *)out; sockaddr_in 8 include/trace/events/net_probe_common.h struct sockaddr_in *v4 = (void *)__entry->saddr; \ sockaddr_in 32 include/uapi/linux/if_pppol2tp.h struct sockaddr_in addr; /* IP address and port to send to */ sockaddr_in 60 include/uapi/linux/if_pppol2tp.h struct sockaddr_in addr; /* IP address and port to send to */ sockaddr_in 40 include/uapi/linux/nfs_mount.h struct sockaddr_in addr; /* 1 */ sockaddr_in 25 include/uapi/linux/rxrpc.h struct sockaddr_in sin; /* IPv4 transport address */ sockaddr_in 64 include/uapi/rdma/rdma_user_rxe.h struct sockaddr_in _sockaddr_in; sockaddr_in 417 lib/test_printf.c struct sockaddr_in sa; sockaddr_in 1483 lib/vsprintf.c char *ip4_addr_string_sa(char *buf, char *end, const struct sockaddr_in *sa, sockaddr_in 1534 lib/vsprintf.c struct sockaddr_in v4; sockaddr_in 927 net/9p/trans_fd.c struct sockaddr_in cl; sockaddr_in 948 net/9p/trans_fd.c struct sockaddr_in sin_server; sockaddr_in 985 net/9p/trans_fd.c sizeof(struct sockaddr_in), 0); sockaddr_in 91 net/9p/trans_rdma.c struct sockaddr_in addr; sockaddr_in 604 net/9p/trans_rdma.c struct sockaddr_in cl = { sockaddr_in 194 net/ceph/messenger.c struct sockaddr_in *in4 = (struct sockaddr_in *)&ss; sockaddr_in 1805 net/ceph/messenger.c struct in_addr *addr4 = &((struct sockaddr_in *)&ss)->sin_addr; sockaddr_in 1822 net/ceph/messenger.c return ntohs(get_unaligned(&((struct sockaddr_in *)&addr->in_addr)->sin_port)); sockaddr_in 1833 net/ceph/messenger.c put_unaligned(htons(p), &((struct sockaddr_in *)&addr->in_addr)->sin_port); sockaddr_in 1849 net/ceph/messenger.c if (in4_pton(str, len, (u8 *)&((struct sockaddr_in *)&addr->in_addr)->sin_addr.s_addr, delim, ipend)) { sockaddr_in 4521 net/core/filter.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 4523 net/core/filter.c if (((struct sockaddr_in *)addr)->sin_port != htons(0)) sockaddr_in 7898 net/core/filter.c struct bpf_sock_addr_kern, struct sockaddr_in, uaddr, sockaddr_in 7919 net/core/filter.c BUILD_BUG_ON(offsetof(struct sockaddr_in, sin_port) != sockaddr_in 7921 net/core/filter.c BUILD_BUG_ON(FIELD_SIZEOF(struct sockaddr_in, sin_port) != sockaddr_in 304 net/core/utils.c struct sockaddr_in *addr4 = (struct sockaddr_in *)addr; sockaddr_in 413 net/core/utils.c struct sockaddr_in *in = (struct sockaddr_in *)addr; sockaddr_in 40 net/dccp/ipv4.c const struct sockaddr_in *usin = (struct sockaddr_in *)uaddr; sockaddr_in 52 net/dccp/ipv4.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 913 net/dccp/ipv4.c .sockaddr_len = sizeof(struct sockaddr_in), sockaddr_in 876 net/dccp/ipv6.c struct sockaddr_in sin; sockaddr_in 443 net/ipv4/af_inet.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 460 net/ipv4/af_inet.c struct sockaddr_in *addr = (struct sockaddr_in *)uaddr; sockaddr_in 765 net/ipv4/af_inet.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, uaddr); sockaddr_in 998 net/ipv4/arp.c __be32 ip = ((struct sockaddr_in *)&r->arp_pa)->sin_addr.s_addr; sockaddr_in 999 net/ipv4/arp.c __be32 mask = ((struct sockaddr_in *)&r->arp_netmask)->sin_addr.s_addr; sockaddr_in 1028 net/ipv4/arp.c ip = ((struct sockaddr_in *)&r->arp_pa)->sin_addr.s_addr; sockaddr_in 1093 net/ipv4/arp.c __be32 ip = ((struct sockaddr_in *) &r->arp_pa)->sin_addr.s_addr; sockaddr_in 1136 net/ipv4/arp.c __be32 ip = ((struct sockaddr_in *) &r->arp_pa)->sin_addr.s_addr; sockaddr_in 1137 net/ipv4/arp.c __be32 mask = ((struct sockaddr_in *)&r->arp_netmask)->sin_addr.s_addr; sockaddr_in 1156 net/ipv4/arp.c ip = ((struct sockaddr_in *)&r->arp_pa)->sin_addr.s_addr; sockaddr_in 1201 net/ipv4/arp.c ((struct sockaddr_in *)&r.arp_netmask)->sin_addr.s_addr = sockaddr_in 23 net/ipv4/datagram.c struct sockaddr_in *usin = (struct sockaddr_in *) uaddr; sockaddr_in 1011 net/ipv4/devinet.c struct sockaddr_in sin_orig; sockaddr_in 1012 net/ipv4/devinet.c struct sockaddr_in *sin = (struct sockaddr_in *)&ifr->ifr_addr; sockaddr_in 1270 net/ipv4/devinet.c (*(struct sockaddr_in *)&ifr.ifr_addr).sin_family = AF_INET; sockaddr_in 1271 net/ipv4/devinet.c (*(struct sockaddr_in *)&ifr.ifr_addr).sin_addr.s_addr = sockaddr_in 460 net/ipv4/fib_frontend.c return ((struct sockaddr_in *) addr)->sin_addr.s_addr; sockaddr_in 2573 net/ipv4/igmp.c struct sockaddr_in *psin; sockaddr_in 2581 net/ipv4/igmp.c psin = (struct sockaddr_in *)&gsf->gf_group; sockaddr_in 2609 net/ipv4/igmp.c psin = (struct sockaddr_in *)&ss; sockaddr_in 1041 net/ipv4/inet_connection_sock.c struct sockaddr_in *sin = (struct sockaddr_in *)uaddr; sockaddr_in 152 net/ipv4/ip_sockglue.c struct sockaddr_in sin; sockaddr_in 504 net/ipv4/ip_sockglue.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sockaddr_in 507 net/ipv4/ip_sockglue.c struct sockaddr_in offender; sockaddr_in 1005 net/ipv4/ip_sockglue.c struct sockaddr_in *psin; sockaddr_in 1013 net/ipv4/ip_sockglue.c psin = (struct sockaddr_in *)&greq.gr_group; sockaddr_in 1033 net/ipv4/ip_sockglue.c struct sockaddr_in *psin; sockaddr_in 1047 net/ipv4/ip_sockglue.c psin = (struct sockaddr_in *)&greqs.gsr_group; sockaddr_in 1049 net/ipv4/ip_sockglue.c psin = (struct sockaddr_in *)&greqs.gsr_source; sockaddr_in 1062 net/ipv4/ip_sockglue.c psin = (struct sockaddr_in *)&greqs.gsr_group; sockaddr_in 1082 net/ipv4/ip_sockglue.c struct sockaddr_in *psin; sockaddr_in 1116 net/ipv4/ip_sockglue.c psin = (struct sockaddr_in *)&gsf->gf_group; sockaddr_in 1127 net/ipv4/ip_sockglue.c psin = (struct sockaddr_in *)&gsf->gf_slist[i]; sockaddr_in 332 net/ipv4/ipconfig.c set_sockaddr(struct sockaddr_in *sin, __be32 addr, __be16 port) sockaddr_in 346 net/ipv4/ipconfig.c struct sockaddr_in *sin = (void *) &ir.ifr_ifru.ifru_addr; sockaddr_in 396 net/ipv4/ipconfig.c set_sockaddr((struct sockaddr_in *) &rm.rt_dst, 0, 0); sockaddr_in 397 net/ipv4/ipconfig.c set_sockaddr((struct sockaddr_in *) &rm.rt_genmask, 0, 0); sockaddr_in 398 net/ipv4/ipconfig.c set_sockaddr((struct sockaddr_in *) &rm.rt_gateway, ic_gateway, 0); sockaddr_in 299 net/ipv4/ping.c struct sockaddr_in *addr = (struct sockaddr_in *) uaddr; sockaddr_in 375 net/ipv4/ping.c struct sockaddr_in *addr = (struct sockaddr_in *) saddr; sockaddr_in 424 net/ipv4/ping.c snum = ntohs(((struct sockaddr_in *)uaddr)->sin_port); sockaddr_in 721 net/ipv4/ping.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); sockaddr_in 886 net/ipv4/ping.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sockaddr_in 537 net/ipv4/raw.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); sockaddr_in 718 net/ipv4/raw.c struct sockaddr_in *addr = (struct sockaddr_in *) uaddr; sockaddr_in 723 net/ipv4/raw.c if (sk->sk_state != TCP_CLOSE || addr_len < sizeof(struct sockaddr_in)) sockaddr_in 756 net/ipv4/raw.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sockaddr_in 190 net/ipv4/tcp_ipv4.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 201 net/ipv4/tcp_ipv4.c struct sockaddr_in *usin = (struct sockaddr_in *)uaddr; sockaddr_in 212 net/ipv4/tcp_ipv4.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 1153 net/ipv4/tcp_ipv4.c struct sockaddr_in *sin = (struct sockaddr_in *)&cmd.tcpm_addr; sockaddr_in 2058 net/ipv4/tcp_ipv4.c .sockaddr_len = sizeof(struct sockaddr_in), sockaddr_in 969 net/ipv4/udp.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); sockaddr_in 1729 net/ipv4/udp.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sockaddr_in 1840 net/ipv4/udp.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 18 net/ipv4/udp_tunnel.c struct sockaddr_in udp_addr; sockaddr_in 178 net/ipv6/datagram.c struct sockaddr_in sin; sockaddr_in 230 net/ipv6/tcp_ipv6.c struct sockaddr_in sin; sockaddr_in 1275 net/ipv6/udp.c struct sockaddr_in sin; sockaddr_in 384 net/key/af_key.c const struct sockaddr_in *sin; sockaddr_in 621 net/key/af_key.c return sizeof(struct sockaddr_in); sockaddr_in 636 net/key/af_key.c ((struct sockaddr_in *)sa)->sin_addr.s_addr; sockaddr_in 680 net/key/af_key.c xaddr = (xfrm_address_t *)&((const struct sockaddr_in *)(addr + 1))->sin_addr; sockaddr_in 741 net/key/af_key.c struct sockaddr_in *sin = (struct sockaddr_in *)sa; sockaddr_in 1350 net/key/af_key.c xdaddr = (xfrm_address_t *)&((struct sockaddr_in *)(daddr + 1))->sin_addr.s_addr; sockaddr_in 1351 net/key/af_key.c xsaddr = (xfrm_address_t *)&((struct sockaddr_in *)(saddr + 1))->sin_addr.s_addr; sockaddr_in 2271 net/key/af_key.c xp->selector.sport = ((struct sockaddr_in *)(sa+1))->sin_port; sockaddr_in 2284 net/key/af_key.c xp->selector.dport = ((struct sockaddr_in *)(sa+1))->sin_port; sockaddr_in 2378 net/key/af_key.c sel.sport = ((struct sockaddr_in *)(sa+1))->sin_port; sockaddr_in 2386 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa+1))->sin_port; sockaddr_in 2586 net/key/af_key.c sel.sport = ((struct sockaddr_in *)(sa + 1))->sin_port; sockaddr_in 2595 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa + 1))->sin_port; sockaddr_in 533 net/l2tp/l2tp_ip.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sockaddr_in 269 net/netfilter/ipvs/ip_vs_sync.c struct sockaddr_in in; sockaddr_in 1432 net/netfilter/ipvs/ip_vs_sync.c struct sockaddr_in sin; sockaddr_in 1461 net/netfilter/ipvs/ip_vs_sync.c sa->in = (struct sockaddr_in) { sockaddr_in 263 net/netfilter/nf_conntrack_proto.c if ((unsigned int)*len < sizeof(struct sockaddr_in)) { sockaddr_in 265 net/netfilter/nf_conntrack_proto.c *len, sizeof(struct sockaddr_in)); sockaddr_in 271 net/netfilter/nf_conntrack_proto.c struct sockaddr_in sin; sockaddr_in 1107 net/netlabel/netlabel_kapi.c struct sockaddr_in *addr4; sockaddr_in 1116 net/netlabel/netlabel_kapi.c addr4 = (struct sockaddr_in *)addr; sockaddr_in 119 net/rds/af_rds.c struct sockaddr_in *sin; sockaddr_in 128 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sockaddr_in 153 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sockaddr_in 169 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sockaddr_in 175 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sockaddr_in 297 net/rds/af_rds.c struct sockaddr_in sin; sockaddr_in 306 net/rds/af_rds.c if (len < sizeof(struct sockaddr_in)) { sockaddr_in 311 net/rds/af_rds.c if (copy_from_user(&sin, optval, sizeof(struct sockaddr_in))) { sockaddr_in 542 net/rds/af_rds.c struct sockaddr_in *sin; sockaddr_in 553 net/rds/af_rds.c sin = (struct sockaddr_in *)uaddr; sockaddr_in 554 net/rds/af_rds.c if (addr_len < sizeof(struct sockaddr_in)) { sockaddr_in 179 net/rds/bind.c struct sockaddr_in *sin = (struct sockaddr_in *)uaddr; sockaddr_in 181 net/rds/bind.c if (addr_len < sizeof(struct sockaddr_in) || sockaddr_in 410 net/rds/ib.c struct sockaddr_in sin; sockaddr_in 936 net/rds/ib_cm.c struct sockaddr_in *sin; sockaddr_in 938 net/rds/ib_cm.c sin = (struct sockaddr_in *)&src; sockaddr_in 943 net/rds/ib_cm.c sin = (struct sockaddr_in *)&dest; sockaddr_in 250 net/rds/rdma_transport.c struct sockaddr_in sin; sockaddr_in 913 net/rds/rds.h struct sockaddr_in; sockaddr_in 640 net/rds/recv.c DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); sockaddr_in 724 net/rds/recv.c sin = (struct sockaddr_in *)msg->msg_name; sockaddr_in 1106 net/rds/send.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); sockaddr_in 93 net/rds/tcp_connect.c struct sockaddr_in sin; sockaddr_in 293 net/rds/tcp_listen.c struct sockaddr_in *sin; sockaddr_in 322 net/rds/tcp_listen.c sin = (struct sockaddr_in *)&ss; sockaddr_in 102 net/rxrpc/af_rxrpc.c if (srx->transport_len < sizeof(struct sockaddr_in)) sockaddr_in 529 net/rxrpc/af_rxrpc.c rx->srx.transport_len = sizeof(struct sockaddr_in); sockaddr_in 776 net/sctp/ipv6.c return sizeof(struct sockaddr_in); sockaddr_in 219 net/sctp/protocol.c struct sockaddr_in *sa = &addr->v4; sockaddr_in 604 net/sctp/protocol.c return sizeof(struct sockaddr_in); sockaddr_in 883 net/sctp/protocol.c struct sockaddr_in *sin; sockaddr_in 885 net/sctp/protocol.c sin = (struct sockaddr_in *)msgname; sockaddr_in 886 net/sctp/protocol.c *addr_len = sizeof(struct sockaddr_in); sockaddr_in 895 net/sctp/protocol.c struct sockaddr_in *sin, *sinfrom; sockaddr_in 902 net/sctp/protocol.c sin = (struct sockaddr_in *)msgname; sockaddr_in 914 net/sctp/protocol.c struct sockaddr_in *sin = (struct sockaddr_in *)msgname; sockaddr_in 1093 net/sctp/protocol.c .sockaddr_len = sizeof(struct sockaddr_in), sockaddr_in 824 net/sctp/socket.c struct sockaddr_in *sin; sockaddr_in 826 net/sctp/socket.c sin = (struct sockaddr_in *)addrs; sockaddr_in 247 net/smc/af_smc.c struct sockaddr_in *addr = (struct sockaddr_in *)uaddr; sockaddr_in 256 net/smc/af_smc.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 154 net/smc/smc_clc.c struct sockaddr_in *addr; sockaddr_in 173 net/smc/smc_clc.c addr = (struct sockaddr_in *)&addrs; sockaddr_in 115 net/sunrpc/addr.c const struct sockaddr_in *sin = (struct sockaddr_in *)sap; sockaddr_in 145 net/sunrpc/addr.c struct sockaddr_in *sin = (struct sockaddr_in *)sap; sockaddr_in 148 net/sunrpc/addr.c if (buflen > INET_ADDRSTRLEN || salen < sizeof(struct sockaddr_in)) sockaddr_in 151 net/sunrpc/addr.c memset(sap, 0, sizeof(struct sockaddr_in)); sockaddr_in 157 net/sunrpc/addr.c return sizeof(struct sockaddr_in); sockaddr_in 279 net/sunrpc/addr.c port = ntohs(((struct sockaddr_in *)sap)->sin_port); sockaddr_in 349 net/sunrpc/addr.c ((struct sockaddr_in *)sap)->sin_port = htons(port); sockaddr_in 350 net/sunrpc/addr.c return sizeof(struct sockaddr_in); sockaddr_in 554 net/sunrpc/clnt.c struct sockaddr_in *sin = sockaddr_in 555 net/sunrpc/clnt.c (struct sockaddr_in *)args->address; sockaddr_in 1313 net/sunrpc/clnt.c static const struct sockaddr_in rpc_inaddr_loopback = { sockaddr_in 290 net/sunrpc/rpcb_clnt.c static const struct sockaddr_in rpcb_inaddr_loopback = { sockaddr_in 384 net/sunrpc/rpcb_clnt.c ((struct sockaddr_in *)srvaddr)->sin_port = htons(RPCBIND_PORT); sockaddr_in 484 net/sunrpc/rpcb_clnt.c const struct sockaddr_in *sin = (const struct sockaddr_in *)sap; sockaddr_in 887 net/sunrpc/svc.c const struct sockaddr_in sin = { sockaddr_in 188 net/sunrpc/svc_xprt.c struct sockaddr_in sin = { sockaddr_in 570 net/sunrpc/svc_xprt.c return ntohs(((struct sockaddr_in *)sin)->sin_port) sockaddr_in 182 net/sunrpc/svcauth_unix.c struct sockaddr_in s4; sockaddr_in 667 net/sunrpc/svcauth_unix.c struct sockaddr_in *sin; sockaddr_in 444 net/sunrpc/svcsock.c struct sockaddr_in *daddr = svc_daddr_in(rqstp); sockaddr_in 162 net/sunrpc/xprtrdma/transport.c struct sockaddr_in *sin = (struct sockaddr_in *)sap; sockaddr_in 236 net/sunrpc/xprtsock.c static inline struct sockaddr_in *xs_addr_in(struct rpc_xprt *xprt) sockaddr_in 238 net/sunrpc/xprtsock.c return (struct sockaddr_in *) &xprt->addr; sockaddr_in 250 net/sunrpc/xprtsock.c struct sockaddr_in *sin; sockaddr_in 1733 net/sunrpc/xprtsock.c port = ntohs(((struct sockaddr_in *)&buf)->sin_port); sockaddr_in 1820 net/sunrpc/xprtsock.c &((struct sockaddr_in *)&myaddr)->sin_addr, sockaddr_in 2828 net/sunrpc/xprtsock.c static const struct sockaddr_in sin = { sockaddr_in 3004 net/sunrpc/xprtsock.c if (((struct sockaddr_in *)addr)->sin_port != htons(0)) sockaddr_in 3086 net/sunrpc/xprtsock.c if (((struct sockaddr_in *)addr)->sin_port != htons(0)) sockaddr_in 420 net/tipc/udp_media.c struct sockaddr_in ip4; sockaddr_in 583 net/tipc/udp_media.c struct sockaddr_in *ip4 = (struct sockaddr_in *)&sa; sockaddr_in 210 samples/bpf/cookie_uid_helper_example.c struct sockaddr_in si_other = {0}; sockaddr_in 211 samples/bpf/cookie_uid_helper_example.c struct sockaddr_in si_me = {0}; sockaddr_in 15 samples/bpf/test_probe_write_user_kern.c .key_size = sizeof(struct sockaddr_in), sockaddr_in 16 samples/bpf/test_probe_write_user_kern.c .value_size = sizeof(struct sockaddr_in), sockaddr_in 31 samples/bpf/test_probe_write_user_kern.c struct sockaddr_in new_addr, orig_addr = {}; sockaddr_in 32 samples/bpf/test_probe_write_user_kern.c struct sockaddr_in *mapped_addr; sockaddr_in 18 samples/bpf/test_probe_write_user_user.c struct sockaddr_in *serv_addr_in, *mapped_addr_in, *tmp_addr_in; sockaddr_in 22 samples/bpf/test_probe_write_user_user.c serv_addr_in = (struct sockaddr_in *)&serv_addr; sockaddr_in 23 samples/bpf/test_probe_write_user_user.c mapped_addr_in = (struct sockaddr_in *)&mapped_addr; sockaddr_in 24 samples/bpf/test_probe_write_user_user.c tmp_addr_in = (struct sockaddr_in *)&tmp_addr; sockaddr_in 76 samples/bpf/test_probe_write_user_user.c assert(memcmp(&serv_addr, &tmp_addr, sizeof(struct sockaddr_in)) == 0); sockaddr_in 4585 security/selinux/hooks.c struct sockaddr_in *addr4 = NULL; sockaddr_in 4603 security/selinux/hooks.c if (addrlen < sizeof(struct sockaddr_in)) sockaddr_in 4605 security/selinux/hooks.c addr4 = (struct sockaddr_in *)address; sockaddr_in 4730 security/selinux/hooks.c struct sockaddr_in *addr4 = NULL; sockaddr_in 4742 security/selinux/hooks.c addr4 = (struct sockaddr_in *)address; sockaddr_in 4743 security/selinux/hooks.c if (addrlen < sizeof(struct sockaddr_in)) sockaddr_in 5288 security/selinux/hooks.c len = sizeof(struct sockaddr_in); sockaddr_in 277 security/selinux/netlabel.c struct sockaddr_in addr4; sockaddr_in 2306 security/smack/smack_lsm.c static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) sockaddr_in 2447 security/smack/smack_lsm.c static int smack_netlabel_send(struct sock *sk, struct sockaddr_in *sap) sockaddr_in 2856 security/smack/smack_lsm.c if (sap->sa_family != AF_INET || addrlen < sizeof(struct sockaddr_in)) sockaddr_in 2858 security/smack/smack_lsm.c rc = smack_netlabel_send(sock->sk, (struct sockaddr_in *)sap); sockaddr_in 3658 security/smack/smack_lsm.c struct sockaddr_in *sip = (struct sockaddr_in *) msg->msg_name; sockaddr_in 3676 security/smack/smack_lsm.c if (msg->msg_namelen < sizeof(struct sockaddr_in) || sockaddr_in 4080 security/smack/smack_lsm.c struct sockaddr_in addr; sockaddr_in 1136 security/smack/smackfs.c struct sockaddr_in newname; sockaddr_in 520 security/tomoyo/network.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 524 security/tomoyo/network.c &((struct sockaddr_in *) addr)->sin_addr; sockaddr_in 525 security/tomoyo/network.c i->port = ((struct sockaddr_in *) addr)->sin_port; sockaddr_in 768 tools/hv/hv_kvp_daemon.c struct sockaddr_in *addr; sockaddr_in 775 tools/hv/hv_kvp_daemon.c addr = (struct sockaddr_in *)addrp; sockaddr_in 4797 tools/lib/traceevent/event-parse.c struct sockaddr_in *sa4 = (struct sockaddr_in *) sa; sockaddr_in 4799 tools/lib/traceevent/event-parse.c if (arg->field.field->size < sizeof(struct sockaddr_in)) { sockaddr_in 22 tools/perf/trace/beauty/sockaddr.c struct sockaddr_in *sin = (struct sockaddr_in *)sa; sockaddr_in 13 tools/testing/selftests/bpf/prog_tests/sockmap_basic.c struct sockaddr_in addr = { sockaddr_in 105 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c struct sockaddr_in addr = { sockaddr_in 185 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c struct sockaddr_in addr = { sockaddr_in 25 tools/testing/selftests/bpf/progs/connect4_prog.c struct sockaddr_in sa; sockaddr_in 84 tools/testing/selftests/bpf/test_flow_dissector.c static struct sockaddr_in name = { \ sockaddr_in 126 tools/testing/selftests/bpf/test_flow_dissector.c off = __builtin_offsetof(struct sockaddr_in, sin_addr); sockaddr_in 602 tools/testing/selftests/bpf/test_flow_dissector.c static void parse_addr4(struct sockaddr_in *addr, const char *optarg) sockaddr_in 657 tools/testing/selftests/bpf/test_maps.c struct sockaddr_in addr; sockaddr_in 681 tools/testing/selftests/bpf/test_maps.c memset(&addr, 0, sizeof(struct sockaddr_in)); sockaddr_in 708 tools/testing/selftests/bpf/test_maps.c memset(&addr, 0, sizeof(struct sockaddr_in)); sockaddr_in 45 tools/testing/selftests/bpf/test_select_reuseport.c struct sockaddr_in v4; sockaddr_in 359 tools/testing/selftests/bpf/test_sock.c struct sockaddr_in *addr4; sockaddr_in 371 tools/testing/selftests/bpf/test_sock.c len = sizeof(struct sockaddr_in); sockaddr_in 372 tools/testing/selftests/bpf/test_sock.c addr4 = (struct sockaddr_in *)&addr; sockaddr_in 607 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr_in *addr4; sockaddr_in 617 tools/testing/selftests/bpf/test_sock_addr.c if (addr_len < sizeof(struct sockaddr_in)) sockaddr_in 619 tools/testing/selftests/bpf/test_sock_addr.c addr4 = (struct sockaddr_in *)addr; sockaddr_in 681 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr_in addr4_rw; sockaddr_in 893 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr_in dst4_rw_addr; sockaddr_in 945 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr_in src4_rw_addr; sockaddr_in 1098 tools/testing/selftests/bpf/test_sock_addr.c const struct sockaddr_in *four1, *four2; sockaddr_in 1105 tools/testing/selftests/bpf/test_sock_addr.c four1 = (const struct sockaddr_in *)addr1; sockaddr_in 1106 tools/testing/selftests/bpf/test_sock_addr.c four2 = (const struct sockaddr_in *)addr2; sockaddr_in 202 tools/testing/selftests/bpf/test_sockmap.c struct sockaddr_in addr; sockaddr_in 236 tools/testing/selftests/bpf/test_sockmap.c memset(&addr, 0, sizeof(struct sockaddr_in)); sockaddr_in 204 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c struct sockaddr_in addr4; sockaddr_in 97 tools/testing/selftests/bpf/xdping.c struct sockaddr_in rin; sockaddr_in 411 tools/testing/selftests/net/ip_defrag.c struct sockaddr_in addr = {0}; sockaddr_in 259 tools/testing/selftests/net/msg_zerocopy.c struct sockaddr_in *daddr = (void *) &cfg_dst_addr; sockaddr_in 260 tools/testing/selftests/net/msg_zerocopy.c struct sockaddr_in *saddr = (void *) &cfg_src_addr; sockaddr_in 299 tools/testing/selftests/net/msg_zerocopy.c struct sockaddr_in *addr4 = (void *) sockaddr; sockaddr_in 537 tools/testing/selftests/net/msg_zerocopy.c sizeof(struct sockaddr_in) : sockaddr_in 718 tools/testing/selftests/net/msg_zerocopy.c cfg_alen = sizeof(struct sockaddr_in); sockaddr_in 180 tools/testing/selftests/net/nettest.c struct sockaddr_in *s = (struct sockaddr_in *) sa; sockaddr_in 230 tools/testing/selftests/net/nettest.c struct sockaddr_in sin = { sockaddr_in 512 tools/testing/selftests/net/nettest.c struct sockaddr_in *s = (struct sockaddr_in *) sa; sockaddr_in 779 tools/testing/selftests/net/nettest.c struct sockaddr_in *sin; sockaddr_in 781 tools/testing/selftests/net/nettest.c sin = (struct sockaddr_in *) addr; sockaddr_in 1010 tools/testing/selftests/net/nettest.c struct sockaddr_in laddr = { sockaddr_in 1072 tools/testing/selftests/net/nettest.c struct sockaddr_in serv_addr = { sockaddr_in 1342 tools/testing/selftests/net/nettest.c struct sockaddr_in sin = { sockaddr_in 77 tools/testing/selftests/net/psock_lib.h struct sockaddr_in saddr, daddr; sockaddr_in 254 tools/testing/selftests/net/psock_snd.c struct sockaddr_in raddr = {0}; sockaddr_in 36 tools/testing/selftests/net/reuseaddr_conflict.c struct sockaddr_in addr4 = { sockaddr_in 37 tools/testing/selftests/net/reuseport_addr_any.c struct sockaddr_in addr4 = {0}; sockaddr_in 103 tools/testing/selftests/net/reuseport_addr_any.c struct sockaddr_in saddr4 = {0}; sockaddr_in 104 tools/testing/selftests/net/reuseport_addr_any.c struct sockaddr_in daddr4 = {0}; sockaddr_in 48 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr_in *addr4; sockaddr_in 56 tools/testing/selftests/net/reuseport_bpf.c addr4 = (struct sockaddr_in *)addr; sockaddr_in 76 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr_in *addr4; sockaddr_in 81 tools/testing/selftests/net/reuseport_bpf.c addr4 = (struct sockaddr_in *)addr; sockaddr_in 37 tools/testing/selftests/net/reuseport_bpf_cpu.c struct sockaddr_in *addr4; sockaddr_in 44 tools/testing/selftests/net/reuseport_bpf_cpu.c addr4 = (struct sockaddr_in *)&addr; sockaddr_in 97 tools/testing/selftests/net/reuseport_bpf_cpu.c struct sockaddr_in *saddr4, *daddr4; sockaddr_in 104 tools/testing/selftests/net/reuseport_bpf_cpu.c saddr4 = (struct sockaddr_in *)&saddr; sockaddr_in 109 tools/testing/selftests/net/reuseport_bpf_cpu.c daddr4 = (struct sockaddr_in *)&daddr; sockaddr_in 33 tools/testing/selftests/net/reuseport_bpf_numa.c struct sockaddr_in *addr4; sockaddr_in 40 tools/testing/selftests/net/reuseport_bpf_numa.c addr4 = (struct sockaddr_in *)&addr; sockaddr_in 110 tools/testing/selftests/net/reuseport_bpf_numa.c struct sockaddr_in *saddr4, *daddr4; sockaddr_in 116 tools/testing/selftests/net/reuseport_bpf_numa.c saddr4 = (struct sockaddr_in *)&saddr; sockaddr_in 121 tools/testing/selftests/net/reuseport_bpf_numa.c daddr4 = (struct sockaddr_in *)&daddr; sockaddr_in 34 tools/testing/selftests/net/reuseport_dualstack.c struct sockaddr_in *addr4; sockaddr_in 40 tools/testing/selftests/net/reuseport_dualstack.c addr4 = (struct sockaddr_in *)&addr; sockaddr_in 75 tools/testing/selftests/net/reuseport_dualstack.c struct sockaddr_in saddr, daddr; sockaddr_in 361 tools/testing/selftests/net/so_txtime.c struct sockaddr_in addr4 = {0}; sockaddr_in 93 tools/testing/selftests/net/tcp_fastopen_backup_key.c struct sockaddr_in addr4 = {0}; sockaddr_in 145 tools/testing/selftests/net/tcp_fastopen_backup_key.c struct sockaddr_in saddr4 = {0}; sockaddr_in 146 tools/testing/selftests/net/tcp_fastopen_backup_key.c struct sockaddr_in daddr4 = {0}; sockaddr_in 39 tools/testing/selftests/net/tcp_inq.c struct sockaddr_in *addr4 = (void *) sockaddr; sockaddr_in 62 tools/testing/selftests/net/tcp_inq.c struct sockaddr_in addr; sockaddr_in 112 tools/testing/selftests/net/tcp_inq.c addr_len = sizeof(struct sockaddr_in); sockaddr_in 247 tools/testing/selftests/net/tcp_mmap.c struct sockaddr_in *addr4 = (void *) sockaddr; sockaddr_in 281 tools/testing/selftests/net/tcp_mmap.c struct sockaddr_in addr; sockaddr_in 316 tools/testing/selftests/net/tcp_mmap.c cfg_alen = sizeof(struct sockaddr_in); sockaddr_in 36 tools/testing/selftests/net/tls.c struct sockaddr_in addr; sockaddr_in 107 tools/testing/selftests/net/tls.c struct sockaddr_in addr; sockaddr_in 1125 tools/testing/selftests/net/tls.c struct sockaddr_in addr; sockaddr_in 1149 tools/testing/selftests/net/tls.c struct sockaddr_in addr; sockaddr_in 1201 tools/testing/selftests/net/tls.c struct sockaddr_in addr; sockaddr_in 1266 tools/testing/selftests/net/tls.c struct sockaddr_in addr; sockaddr_in 621 tools/testing/selftests/net/udpgso.c struct sockaddr_in addr = {0}; sockaddr_in 64 tools/testing/selftests/net/udpgso_bench_rx.c struct sockaddr_in *addr4 = (void *) sockaddr; sockaddr_in 301 tools/testing/selftests/net/udpgso_bench_rx.c cfg_alen = sizeof(struct sockaddr_in); sockaddr_in 118 tools/testing/selftests/net/udpgso_bench_tx.c struct sockaddr_in *addr4 = (void *) sockaddr; sockaddr_in 431 tools/testing/selftests/net/udpgso_bench_tx.c cfg_alen = sizeof(struct sockaddr_in); sockaddr_in 277 tools/testing/selftests/networking/timestamping/rxtimestamp.c struct sockaddr_in addr; sockaddr_in 139 tools/testing/selftests/networking/timestamping/timestamping.c struct sockaddr_in *from_addr = (struct sockaddr_in *)msg->msg_name; sockaddr_in 265 tools/testing/selftests/networking/timestamping/timestamping.c struct sockaddr_in from_addr; sockaddr_in 310 tools/testing/selftests/networking/timestamping/timestamping.c struct sockaddr_in addr; sockaddr_in 386 tools/testing/selftests/networking/timestamping/timestamping.c sizeof(struct sockaddr_in)) < 0) sockaddr_in 394 tools/testing/selftests/networking/timestamping/timestamping.c ((struct sockaddr_in *)&device.ifr_addr)->sin_addr.s_addr; sockaddr_in 71 tools/testing/selftests/networking/timestamping/txtimestamp.c static struct sockaddr_in daddr;