addr4 3654 drivers/infiniband/ulp/srpt/ib_srpt.c struct sockaddr_in addr4 = { .sin_family = AF_INET }; addr4 3671 drivers/infiniband/ulp/srpt/ib_srpt.c addr4.sin_port = cpu_to_be16(val); addr4 3672 drivers/infiniband/ulp/srpt/ib_srpt.c new_id = srpt_create_rdma_id((struct sockaddr *)&addr4); addr4 523 drivers/net/ethernet/mellanox/mlxsw/spectrum.h __be32 addr4; addr4 40 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c ntohl(key->group.addr4), addr4 41 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c ntohl(key->group_mask.addr4), addr4 42 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c ntohl(key->source.addr4), addr4 43 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c ntohl(key->source_mask.addr4), addr4 146 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c (char *) &key->source.addr4, addr4 147 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c (char *) &key->source_mask.addr4, 4); addr4 149 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c (char *) &key->group.addr4, addr4 150 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c (char *) &key->group_mask.addr4, 4); addr4 50 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c return (union mlxsw_sp_l3addr) { .addr4 = parms.iph.saddr }; addr4 62 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c return (union mlxsw_sp_l3addr) { .addr4 = parms.iph.daddr }; addr4 96 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c return mlxsw_sp_ipip_parms4_daddr(parms4).addr4; addr4 210 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c ipip_entry->ol_dev).addr4; addr4 796 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c key->group.addr4 = mfc->mfc_mcastgrp; addr4 797 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c key->group_mask.addr4 = htonl(0xffffffff); addr4 798 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c key->source.addr4 = mfc->mfc_origin; addr4 799 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c key->source_mask.addr4 = htonl(starg ? 0 : 0xffffffff); addr4 805 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c return mr_route->key.source_mask.addr4 == htonl(INADDR_ANY); addr4 56 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c __be32 addr4; addr4 90 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c mc_entry->addr4 = addr->addr4; addr4 106 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c u32 udip = be32_to_cpu(mc_entry->addr4); addr4 116 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c return mc_entry->addr4 == addr->addr4; addr4 183 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c addr->addr4 = cpu_to_be32(uip); addr4 731 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c config->ul_sip.addr4 == addr && config->ul_tb_id == tb_id) addr4 102 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c config->ul_sip.addr4 = cfg->saddr.sin.sin_addr.s_addr; addr4 181 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c mlxsw_reg_tngcr_usipv4_set(tngcr_pl, be32_to_cpu(config->ul_sip.addr4)); addr4 1168 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 addr4; addr4 1177 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c addr4 = be32_to_cpu(addr->addr4); addr4 1178 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c addrp = &addr4; addr4 1231 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c saddr4 = be32_to_cpu(saddr.addr4); addr4 1456 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c saddr4 = be32_to_cpu(lb_cf.saddr.addr4); addr4 4339 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) }; addr4 4355 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c dip.addr4)) { addr4 335 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; addr4 336 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr }; addr4 351 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c l3edev = mlxsw_sp_span_gretap4_route(to_dev, &saddr.addr4, &gw.addr4); addr4 376 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c be32_to_cpu(sparms.saddr.addr4), addr4 377 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c be32_to_cpu(sparms.daddr.addr4)); addr4 1235 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c uip = be32_to_cpu(addr->addr4); addr4 2377 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c addr->addr4 = vxlan_addr->sin.sin_addr.s_addr; addr4 2393 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_addr->sin.sin_addr.s_addr = addr->addr4; addr4 411 drivers/net/geneve.c __be32 addr4 = 0; addr4 415 drivers/net/geneve.c addr4 = iph->daddr; addr4 418 drivers/net/geneve.c return geneve_lookup(gs, addr4, vni) ? 0 : -ENOENT; addr4 465 drivers/net/wireless/admtek/adm8211.h u8 addr4[6]; addr4 856 drivers/net/wireless/atmel/atmel.c memcpy(&header.addr4, SNAP_RFC1024, ETH_ALEN); addr4 1073 drivers/net/wireless/cisco/airo.c char addr4[6]; addr4 384 drivers/net/wireless/intel/ipw2x00/ipw2200.h u8 addr4[MACADRR_BYTE_LEN]; addr4 395 drivers/net/wireless/intel/ipw2x00/ipw2200.h u8 addr4[MACADRR_BYTE_LEN]; addr4 365 drivers/net/wireless/intel/ipw2x00/libipw.h u8 addr4[ETH_ALEN]; addr4 504 drivers/net/wireless/intel/ipw2x00/libipw_rx.c memcpy(src, hdr->addr4, ETH_ALEN); addr4 1804 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_flip_address(hdr->addr4); addr4 56 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c printk(" A4=%pM", hdr->addr4); addr4 855 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c memcpy(src, hdr->addr4, ETH_ALEN); addr4 53 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c printk(" A4=%pM", hdr->addr4); addr4 157 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c &hdr.addr4, ETH_ALEN); addr4 171 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c &hdr.addr4, ETH_ALEN); addr4 246 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c skb_put_data(skb, &hdr.addr4, ETH_ALEN); addr4 1834 drivers/net/wireless/intersil/hostap/hostap_hw.c skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4, addr4 2388 drivers/net/wireless/intersil/hostap/hostap_hw.c txdesc.addr3, txdesc.addr4); addr4 541 drivers/net/wireless/intersil/hostap/hostap_main.c rx->addr1, rx->addr2, rx->addr3, rx->addr4); addr4 569 drivers/net/wireless/intersil/hostap/hostap_main.c tx->addr1, tx->addr2, tx->addr3, tx->addr4); addr4 95 drivers/net/wireless/intersil/hostap/hostap_wlan.h u8 addr4[ETH_ALEN]; addr4 124 drivers/net/wireless/intersil/hostap/hostap_wlan.h u8 addr4[ETH_ALEN]; addr4 332 drivers/net/wireless/intersil/orinoco/hermes.h u8 addr4[ETH_ALEN]; addr4 195 drivers/net/wireless/intersil/orinoco/main.c u8 addr4[ETH_ALEN]; addr4 285 drivers/net/wireless/wl3501.h u8 addr4[ETH_ALEN]; addr4 306 drivers/net/wireless/wl3501.h u8 addr4[ETH_ALEN]; addr4 492 drivers/net/wireless/wl3501_cs.c u8 addr4[ETH_ALEN] = { addr4 497 drivers/net/wireless/wl3501_cs.c offsetof(struct wl3501_tx_hdr, addr4), addr4 498 drivers/net/wireless/wl3501_cs.c addr4, sizeof(addr4)); addr4 525 drivers/net/wireless/wl3501_cs.c offsetof(struct wl3501_tx_hdr, addr4), addr4 953 drivers/net/wireless/wl3501_cs.c u8 rssi, addr4[ETH_ALEN]; addr4 965 drivers/net/wireless/wl3501_cs.c offsetof(struct wl3501_rx_hdr, addr4), addr4 966 drivers/net/wireless/wl3501_cs.c &addr4, sizeof(addr4)); addr4 967 drivers/net/wireless/wl3501_cs.c if (!(addr4[0] == 0xAA && addr4[1] == 0xAA && addr4 968 drivers/net/wireless/wl3501_cs.c addr4[2] == 0x03 && addr4[4] == 0x00)) { addr4 3103 drivers/scsi/qla2xxx/qla_nx2.c uint32_t addr3, addr4, addr5, addr6, addr7; addr4 3130 drivers/scsi/qla2xxx/qla_nx2.c addr4 = addr2 - stride1; addr4 3131 drivers/scsi/qla2xxx/qla_nx2.c ret = qla8044_ipmdio_wr_reg(vha, addr1, addr3, mask, addr4, addr4 2743 drivers/scsi/qla4xxx/ql4_nx.c uint32_t addr3, addr4, addr5, addr6, addr7; addr4 2769 drivers/scsi/qla4xxx/ql4_nx.c addr4 = addr2 - stride1; addr4 2770 drivers/scsi/qla4xxx/ql4_nx.c rval = ql4_84xx_ipmdio_wr_reg(ha, addr1, addr3, mask, addr4, addr4 63 drivers/soundwire/stream.c u32 addr1, addr2, addr3, addr4; addr4 71 drivers/soundwire/stream.c addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); addr4 76 drivers/soundwire/stream.c addr4 = SDW_DPN_HCTRL_B0(t_params->port_num); addr4 117 drivers/soundwire/stream.c ret = sdw_write(slave, addr4, wbuf); addr4 131 drivers/soundwire/stream.c u32 addr1, addr2, addr3, addr4, addr5, addr6; addr4 147 drivers/soundwire/stream.c addr4 = SDW_DPN_OFFSETCTRL1_B1(t_params->port_num); addr4 153 drivers/soundwire/stream.c addr4 = SDW_DPN_OFFSETCTRL1_B0(t_params->port_num); addr4 190 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr4, t_params->offset1); addr4 766 drivers/staging/rtl8192e/rtllib.h u8 addr4[ETH_ALEN]; addr4 788 drivers/staging/rtl8192e/rtllib.h u8 addr4[ETH_ALEN]; addr4 106 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pos = (u8 *) &hdr->addr4; addr4 142 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c memcpy(aad + 22, hdr->addr4, ETH_ALEN); addr4 543 drivers/staging/rtl8192e/rtllib_crypt_tkip.c ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ addr4 975 drivers/staging/rtl8192e/rtllib_rx.c ether_addr_copy(src, hdr->addr4); addr4 924 drivers/staging/rtl8192u/ieee80211/ieee80211.h u8 addr4[ETH_ALEN]; addr4 946 drivers/staging/rtl8192u/ieee80211/ieee80211.h u8 addr4[ETH_ALEN]; addr4 113 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pos = (u8 *)&hdr->addr4; addr4 150 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c memcpy(aad + 22, hdr->addr4, ETH_ALEN); addr4 539 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ addr4 1049 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(src, hdr->addr4, ETH_ALEN); addr4 136 drivers/staging/rtl8712/ieee80211.h u8 addr4[ETH_ALEN]; addr4 155 drivers/staging/rtl8712/ieee80211.h u8 addr4[ETH_ALEN]; addr4 1259 drivers/staging/vt6655/rxtx.c ether_addr_copy(mic_hdr->addr4, hdr->addr4); addr4 44 drivers/staging/vt6655/rxtx.h u8 addr4[ETH_ALEN]; addr4 772 drivers/staging/vt6656/rxtx.c ether_addr_copy(mic_hdr->addr4, hdr->addr4); addr4 39 drivers/staging/vt6656/rxtx.h u8 addr4[6]; addr4 2587 fs/cifs/connect.c struct sockaddr_in *addr4 = (struct sockaddr_in *)addr; addr4 2591 fs/cifs/connect.c if (addr4->sin_addr.s_addr != srv_addr4->sin_addr.s_addr) addr4 429 fs/cifs/smb2ops.c struct sockaddr_in *addr4; addr4 499 fs/cifs/smb2ops.c addr4 = (struct sockaddr_in *)&info->sockaddr; addr4 501 fs/cifs/smb2ops.c addr4->sin_family = AF_INET; addr4 502 fs/cifs/smb2ops.c memcpy(&addr4->sin_addr, &p4->IPv4Address, 4); addr4 505 fs/cifs/smb2ops.c addr4->sin_port = cpu_to_be16(CIFS_PORT); addr4 508 fs/cifs/smb2ops.c &addr4->sin_addr); addr4 240 include/linux/ieee80211.h u8 addr4[ETH_ALEN]; addr4 3141 include/linux/ieee80211.h return hdr->addr4; addr4 1805 net/ceph/messenger.c struct in_addr *addr4 = &((struct sockaddr_in *)&ss)->sin_addr; addr4 1810 net/ceph/messenger.c return addr4->s_addr == htonl(INADDR_ANY); addr4 304 net/core/utils.c struct sockaddr_in *addr4 = (struct sockaddr_in *)addr; addr4 310 net/core/utils.c if (in4_pton(src, srclen, (u8 *)&addr4->sin_addr.s_addr, addr4 314 net/core/utils.c addr4->sin_family = AF_INET; addr4 315 net/core/utils.c addr4->sin_port = htons(port_num); addr4 646 net/mac80211/mesh.c memcpy(hdr->addr4, meshsa, ETH_ALEN); addr4 1203 net/mac80211/mesh_hwmp.c ether_addr_equal(sdata->vif.addr, hdr->addr4) && addr4 129 net/mac80211/mesh_pathtbl.c memcpy(mshdr->eaddr2, hdr->addr4, ETH_ALEN); addr4 1070 net/mac80211/mlme.c memcpy(nullfunc->addr4, sdata->vif.addr, ETH_ALEN); addr4 1061 net/mac80211/rx.c if (ether_addr_equal(hdr->addr4, dev_addr)) addr4 2721 net/mac80211/rx.c mpp_addr = hdr->addr4; addr4 4009 net/mac80211/rx.c fastrx.sa_offs = offsetof(struct ieee80211_hdr, addr4); addr4 4042 net/mac80211/rx.c fastrx.sa_offs = offsetof(struct ieee80211_hdr, addr4); addr4 2505 net/mac80211/tx.c memcpy(hdr.addr4, skb->data + ETH_ALEN, ETH_ALEN); addr4 2542 net/mac80211/tx.c memcpy(hdr.addr4, skb->data + ETH_ALEN, ETH_ALEN); addr4 2649 net/mac80211/tx.c memcpy(hdr.addr4, skb->data + ETH_ALEN, ETH_ALEN); addr4 2960 net/mac80211/tx.c build.sa_offs = offsetof(struct ieee80211_hdr, addr4); addr4 2979 net/mac80211/tx.c build.sa_offs = offsetof(struct ieee80211_hdr, addr4); addr4 371 net/mac80211/wpa.c memcpy(&aad[24], hdr->addr4, ETH_ALEN); addr4 606 net/mac80211/wpa.c memcpy(&aad[24], hdr->addr4, ETH_ALEN); addr4 207 net/netlabel/netlabel_domainhash.c struct netlbl_af4list *addr4, addr4 221 net/netlabel/netlabel_domainhash.c if (addr4 != NULL) { addr4 223 net/netlabel/netlabel_domainhash.c map4 = netlbl_domhsh_addr4_entry(addr4); addr4 227 net/netlabel/netlabel_domainhash.c addr4->addr, addr4->mask); addr4 128 net/netlabel/netlabel_kapi.c const struct in_addr *addr4 = addr; addr4 134 net/netlabel/netlabel_kapi.c map4->list.addr = addr4->s_addr & mask4->s_addr; addr4 1107 net/netlabel/netlabel_kapi.c struct sockaddr_in *addr4; addr4 1116 net/netlabel/netlabel_kapi.c addr4 = (struct sockaddr_in *)addr; addr4 1118 net/netlabel/netlabel_kapi.c addr4->sin_addr.s_addr); addr4 407 net/netlabel/netlabel_unlabeled.c const struct in_addr *addr4 = addr; addr4 410 net/netlabel/netlabel_unlabeled.c ret_val = netlbl_unlhsh_add_addr4(iface, addr4, mask4, secid); addr4 414 net/netlabel/netlabel_unlabeled.c addr4->s_addr, addr4 1066 net/netlabel/netlabel_unlabeled.c const struct netlbl_unlhsh_addr4 *addr4, addr4 1097 net/netlabel/netlabel_unlabeled.c if (addr4) { addr4 1100 net/netlabel/netlabel_unlabeled.c addr_struct.s_addr = addr4->list.addr; addr4 1107 net/netlabel/netlabel_unlabeled.c addr_struct.s_addr = addr4->list.mask; addr4 1114 net/netlabel/netlabel_unlabeled.c secid = addr4->secid; addr4 1172 net/netlabel/netlabel_unlabeled.c struct netlbl_af4list *addr4; addr4 1190 net/netlabel/netlabel_unlabeled.c netlbl_af4list_foreach_rcu(addr4, addr4 1197 net/netlabel/netlabel_unlabeled.c netlbl_unlhsh_addr4_entry(addr4), addr4 1251 net/netlabel/netlabel_unlabeled.c struct netlbl_af4list *addr4; addr4 1265 net/netlabel/netlabel_unlabeled.c netlbl_af4list_foreach_rcu(addr4, &iface->addr4_list) { addr4 1270 net/netlabel/netlabel_unlabeled.c netlbl_unlhsh_addr4_entry(addr4), addr4 1476 net/netlabel/netlabel_unlabeled.c struct netlbl_af4list *addr4; addr4 1479 net/netlabel/netlabel_unlabeled.c addr4 = netlbl_af4list_search(hdr4->saddr, addr4 1481 net/netlabel/netlabel_unlabeled.c if (addr4 == NULL) addr4 1483 net/netlabel/netlabel_unlabeled.c secattr->attr.secid = netlbl_unlhsh_addr4_entry(addr4)->secid; addr4 583 net/rds/af_rds.c __be32 addr4; addr4 593 net/rds/af_rds.c addr4 = sin6->sin6_addr.s6_addr32[3]; addr4 594 net/rds/af_rds.c if (addr4 == htonl(INADDR_ANY) || addr4 595 net/rds/af_rds.c addr4 == htonl(INADDR_BROADCAST) || addr4 596 net/rds/af_rds.c ipv4_is_multicast(addr4)) { addr4 198 net/rds/bind.c __be32 addr4; addr4 206 net/rds/bind.c addr4 = sin6->sin6_addr.s6_addr32[3]; addr4 207 net/rds/bind.c if (addr4 == htonl(INADDR_ANY) || addr4 208 net/rds/bind.c addr4 == htonl(INADDR_BROADCAST) || addr4 209 net/rds/bind.c ipv4_is_multicast(addr4)) addr4 1165 net/rds/send.c __be32 addr4; addr4 1175 net/rds/send.c addr4 = sin6->sin6_addr.s6_addr32[3]; addr4 1176 net/rds/send.c if (addr4 == htonl(INADDR_ANY) || addr4 1177 net/rds/send.c addr4 == htonl(INADDR_BROADCAST) || addr4 1178 net/rds/send.c ipv4_is_multicast(addr4)) { addr4 108 net/wireless/lib80211_crypt_ccmp.c pos = (u8 *) & hdr->addr4; addr4 145 net/wireless/lib80211_crypt_ccmp.c memcpy(aad + 22, hdr->addr4, ETH_ALEN); addr4 524 net/wireless/lib80211_crypt_tkip.c memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ addr4 4585 security/selinux/hooks.c struct sockaddr_in *addr4 = NULL; addr4 4605 security/selinux/hooks.c addr4 = (struct sockaddr_in *)address; addr4 4610 security/selinux/hooks.c if (addr4->sin_addr.s_addr != htonl(INADDR_ANY)) addr4 4614 security/selinux/hooks.c snum = ntohs(addr4->sin_port); addr4 4615 security/selinux/hooks.c addrp = (char *)&addr4->sin_addr.s_addr; addr4 4680 security/selinux/hooks.c ad.u.net->v4info.saddr = addr4->sin_addr.s_addr; addr4 4730 security/selinux/hooks.c struct sockaddr_in *addr4 = NULL; addr4 4742 security/selinux/hooks.c addr4 = (struct sockaddr_in *)address; addr4 4745 security/selinux/hooks.c snum = ntohs(addr4->sin_port); addr4 277 security/selinux/netlabel.c struct sockaddr_in addr4; addr4 294 security/selinux/netlabel.c addr4.sin_family = AF_INET; addr4 295 security/selinux/netlabel.c addr4.sin_addr.s_addr = ip_hdr(skb)->saddr; addr4 296 security/selinux/netlabel.c rc = netlbl_conn_setattr(ep->base.sk, (void *)&addr4, &secattr); addr4 83 tools/testing/selftests/bpf/test_flow_dissector.c #define INIT_ADDR4(name, addr4, port) \ addr4 87 tools/testing/selftests/bpf/test_flow_dissector.c .sin_addr.s_addr = __constant_htonl(addr4), \ addr4 359 tools/testing/selftests/bpf/test_sock.c struct sockaddr_in *addr4; addr4 372 tools/testing/selftests/bpf/test_sock.c addr4 = (struct sockaddr_in *)&addr; addr4 373 tools/testing/selftests/bpf/test_sock.c addr4->sin_family = domain; addr4 374 tools/testing/selftests/bpf/test_sock.c addr4->sin_port = htons(port); addr4 375 tools/testing/selftests/bpf/test_sock.c if (inet_pton(domain, ip, (void *)&addr4->sin_addr) != 1) addr4 607 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr_in *addr4; addr4 619 tools/testing/selftests/bpf/test_sock_addr.c addr4 = (struct sockaddr_in *)addr; addr4 620 tools/testing/selftests/bpf/test_sock_addr.c addr4->sin_family = domain; addr4 621 tools/testing/selftests/bpf/test_sock_addr.c addr4->sin_port = htons(port); addr4 622 tools/testing/selftests/bpf/test_sock_addr.c if (inet_pton(domain, ip, (void *)&addr4->sin_addr) != 1) { addr4 204 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c struct sockaddr_in addr4; addr4 223 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c memset(&addr4, 0, sizeof(addr4)); addr4 224 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c addr4.sin_family = AF_INET; addr4 225 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); addr4 226 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c addr4.sin_port = 0; addr4 233 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c server = start_server((const struct sockaddr *)&addr4, sizeof(addr4)); addr4 26 tools/testing/selftests/net/ip_defrag.c const struct in_addr addr4 = { .s_addr = __constant_htonl(INADDR_LOOPBACK + 2) }; addr4 240 tools/testing/selftests/net/ip_defrag.c iphdr->ip_dst = addr4; addr4 415 tools/testing/selftests/net/ip_defrag.c addr.sin_addr = addr4; addr4 299 tools/testing/selftests/net/msg_zerocopy.c struct sockaddr_in *addr4 = (void *) sockaddr; addr4 303 tools/testing/selftests/net/msg_zerocopy.c memset(addr4, 0, sizeof(*addr4)); addr4 304 tools/testing/selftests/net/msg_zerocopy.c addr4->sin_family = AF_INET; addr4 305 tools/testing/selftests/net/msg_zerocopy.c addr4->sin_port = htons(cfg_port); addr4 307 tools/testing/selftests/net/msg_zerocopy.c inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) addr4 36 tools/testing/selftests/net/reuseaddr_conflict.c struct sockaddr_in addr4 = { addr4 47 tools/testing/selftests/net/reuseaddr_conflict.c addr = (struct sockaddr*)&addr4; addr4 48 tools/testing/selftests/net/reuseaddr_conflict.c addrlen = sizeof(addr4); addr4 37 tools/testing/selftests/net/reuseport_addr_any.c struct sockaddr_in addr4 = {0}; addr4 46 tools/testing/selftests/net/reuseport_addr_any.c addr4.sin_family = family; addr4 48 tools/testing/selftests/net/reuseport_addr_any.c addr4.sin_addr.s_addr = htonl(INADDR_ANY); addr4 49 tools/testing/selftests/net/reuseport_addr_any.c else if (!inet_pton(family, addr_str, &addr4.sin_addr.s_addr)) addr4 51 tools/testing/selftests/net/reuseport_addr_any.c addr4.sin_port = htons(PORT); addr4 52 tools/testing/selftests/net/reuseport_addr_any.c sz = sizeof(addr4); addr4 53 tools/testing/selftests/net/reuseport_addr_any.c addr = (struct sockaddr *)&addr4; addr4 48 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr_in *addr4; addr4 56 tools/testing/selftests/net/reuseport_bpf.c addr4 = (struct sockaddr_in *)addr; addr4 57 tools/testing/selftests/net/reuseport_bpf.c addr4->sin_family = AF_INET; addr4 58 tools/testing/selftests/net/reuseport_bpf.c addr4->sin_addr.s_addr = htonl(INADDR_ANY); addr4 59 tools/testing/selftests/net/reuseport_bpf.c addr4->sin_port = htons(port); addr4 76 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr_in *addr4; addr4 81 tools/testing/selftests/net/reuseport_bpf.c addr4 = (struct sockaddr_in *)addr; addr4 82 tools/testing/selftests/net/reuseport_bpf.c addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); addr4 37 tools/testing/selftests/net/reuseport_bpf_cpu.c struct sockaddr_in *addr4; addr4 44 tools/testing/selftests/net/reuseport_bpf_cpu.c addr4 = (struct sockaddr_in *)&addr; addr4 45 tools/testing/selftests/net/reuseport_bpf_cpu.c addr4->sin_family = AF_INET; addr4 46 tools/testing/selftests/net/reuseport_bpf_cpu.c addr4->sin_addr.s_addr = htonl(INADDR_ANY); addr4 47 tools/testing/selftests/net/reuseport_bpf_cpu.c addr4->sin_port = htons(PORT); addr4 33 tools/testing/selftests/net/reuseport_bpf_numa.c struct sockaddr_in *addr4; addr4 40 tools/testing/selftests/net/reuseport_bpf_numa.c addr4 = (struct sockaddr_in *)&addr; addr4 41 tools/testing/selftests/net/reuseport_bpf_numa.c addr4->sin_family = AF_INET; addr4 42 tools/testing/selftests/net/reuseport_bpf_numa.c addr4->sin_addr.s_addr = htonl(INADDR_ANY); addr4 43 tools/testing/selftests/net/reuseport_bpf_numa.c addr4->sin_port = htons(PORT); addr4 34 tools/testing/selftests/net/reuseport_dualstack.c struct sockaddr_in *addr4; addr4 40 tools/testing/selftests/net/reuseport_dualstack.c addr4 = (struct sockaddr_in *)&addr; addr4 41 tools/testing/selftests/net/reuseport_dualstack.c addr4->sin_family = AF_INET; addr4 42 tools/testing/selftests/net/reuseport_dualstack.c addr4->sin_addr.s_addr = htonl(INADDR_ANY); addr4 43 tools/testing/selftests/net/reuseport_dualstack.c addr4->sin_port = htons(PORT); addr4 361 tools/testing/selftests/net/so_txtime.c struct sockaddr_in addr4 = {0}; addr4 363 tools/testing/selftests/net/so_txtime.c addr4.sin_family = AF_INET; addr4 364 tools/testing/selftests/net/so_txtime.c addr4.sin_port = htons(cfg_port); addr4 365 tools/testing/selftests/net/so_txtime.c addr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); addr4 370 tools/testing/selftests/net/so_txtime.c do_test((void *)&addr4, sizeof(addr4)); addr4 93 tools/testing/selftests/net/tcp_fastopen_backup_key.c struct sockaddr_in addr4 = {0}; addr4 102 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr4.sin_family = family; addr4 103 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr4.sin_addr.s_addr = htonl(INADDR_ANY); addr4 104 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr4.sin_port = htons(PORT); addr4 105 tools/testing/selftests/net/tcp_fastopen_backup_key.c sz = sizeof(addr4); addr4 106 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr = (struct sockaddr *)&addr4; addr4 39 tools/testing/selftests/net/tcp_inq.c struct sockaddr_in *addr4 = (void *) sockaddr; addr4 43 tools/testing/selftests/net/tcp_inq.c memset(addr4, 0, sizeof(*addr4)); addr4 44 tools/testing/selftests/net/tcp_inq.c addr4->sin_family = AF_INET; addr4 45 tools/testing/selftests/net/tcp_inq.c addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); addr4 46 tools/testing/selftests/net/tcp_inq.c addr4->sin_port = htons(port); addr4 247 tools/testing/selftests/net/tcp_mmap.c struct sockaddr_in *addr4 = (void *) sockaddr; addr4 251 tools/testing/selftests/net/tcp_mmap.c memset(addr4, 0, sizeof(*addr4)); addr4 252 tools/testing/selftests/net/tcp_mmap.c addr4->sin_family = AF_INET; addr4 253 tools/testing/selftests/net/tcp_mmap.c addr4->sin_port = htons(cfg_port); addr4 255 tools/testing/selftests/net/tcp_mmap.c inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) addr4 73 tools/testing/selftests/net/udpgso.c const struct in_addr addr4 = { .s_addr = __constant_htonl(INADDR_LOOPBACK + 2) }; addr4 371 tools/testing/selftests/net/udpgso.c alen = is_ipv4 ? sizeof(addr4) : sizeof(addr6); addr4 397 tools/testing/selftests/net/udpgso.c memcpy(RTA_DATA(rta), &addr4, alen); addr4 625 tools/testing/selftests/net/udpgso.c addr.sin_addr = addr4; addr4 64 tools/testing/selftests/net/udpgso_bench_rx.c struct sockaddr_in *addr4 = (void *) sockaddr; addr4 68 tools/testing/selftests/net/udpgso_bench_rx.c addr4->sin_family = AF_INET; addr4 69 tools/testing/selftests/net/udpgso_bench_rx.c addr4->sin_port = htons(cfg_port); addr4 70 tools/testing/selftests/net/udpgso_bench_rx.c if (inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1) addr4 118 tools/testing/selftests/net/udpgso_bench_tx.c struct sockaddr_in *addr4 = (void *) sockaddr; addr4 122 tools/testing/selftests/net/udpgso_bench_tx.c addr4->sin_family = AF_INET; addr4 123 tools/testing/selftests/net/udpgso_bench_tx.c addr4->sin_port = htons(cfg_port); addr4 124 tools/testing/selftests/net/udpgso_bench_tx.c if (inet_pton(AF_INET, str_addr, &(addr4->sin_addr)) != 1)