/net/sctp/ |
D | ipv6.c | 66 static int sctp_v6_cmp_addr(const union sctp_addr *addr1, 623 static int __sctp_v6_cmp_addr(const union sctp_addr *addr1, in __sctp_v6_cmp_addr() argument 626 if (addr1->sa.sa_family != addr2->sa.sa_family) { in __sctp_v6_cmp_addr() 627 if (addr1->sa.sa_family == AF_INET && in __sctp_v6_cmp_addr() 631 addr1->v4.sin_addr.s_addr) in __sctp_v6_cmp_addr() 635 addr1->sa.sa_family == AF_INET6 && in __sctp_v6_cmp_addr() 636 ipv6_addr_v4mapped(&addr1->v6.sin6_addr) && in __sctp_v6_cmp_addr() 637 addr1->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr() 644 if (!ipv6_addr_equal(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in __sctp_v6_cmp_addr() 648 if ((ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) && in __sctp_v6_cmp_addr() [all …]
|
D | protocol.c | 298 static int sctp_v4_cmp_addr(const union sctp_addr *addr1, in sctp_v4_cmp_addr() argument 301 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_v4_cmp_addr() 303 if (addr1->v4.sin_port != addr2->v4.sin_port) in sctp_v4_cmp_addr() 305 if (addr1->v4.sin_addr.s_addr != addr2->v4.sin_addr.s_addr) in sctp_v4_cmp_addr() 1007 static int sctp_inet_cmp_addr(const union sctp_addr *addr1, in sctp_inet_cmp_addr() argument 1012 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_inet_cmp_addr() 1014 if (htonl(INADDR_ANY) == addr1->v4.sin_addr.s_addr || in sctp_inet_cmp_addr() 1017 if (addr1->v4.sin_addr.s_addr == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
|
/net/rds/ |
D | threads.c | 269 int rds_addr_cmp(const struct in6_addr *addr1, in rds_addr_cmp() argument 276 a1 = (__be64 *)addr1; in rds_addr_cmp() 299 if (addr1->s6_addr32[i] != addr2->s6_addr32[i]) { in rds_addr_cmp() 300 a = ntohl(addr1->s6_addr32[i]); in rds_addr_cmp()
|
/net/mac80211/ |
D | mesh_ps.c | 40 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 193 if (WARN_ON(is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 198 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 215 if ((is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 217 (is_multicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 340 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_rx_h_sta_process()
|
D | rx.c | 268 if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr)) in ieee80211_handle_mu_mimo_mon() 959 if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_is_unicast_robust_mgmt_frame() 970 if (!is_multicast_ether_addr(hdr->addr1)) in ieee80211_is_multicast_robust_mgmt_frame() 1054 if (is_multicast_ether_addr(hdr->addr1)) { in ieee80211_rx_mesh_check() 1372 is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_reorder_ampdu() 1453 is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_h_check_dup() 1760 !is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_h_sta_process() 1767 !is_multicast_ether_addr(hdr->addr1)) { in ieee80211_rx_h_sta_process() 1813 !is_multicast_ether_addr(hdr->addr1) && in ieee80211_rx_h_sta_process() 1970 if (!is_multicast_ether_addr(hdr->addr1) && sta_ptk) { in ieee80211_rx_h_decrypt() [all …]
|
D | tx.c | 326 hdr->addr1); in ieee80211_tx_h_check_assoc() 599 is_multicast_ether_addr(hdr->addr1) && in ieee80211_tx_h_select_key() 603 else if (is_multicast_ether_addr(hdr->addr1) && in ieee80211_tx_h_select_key() 606 else if (!is_multicast_ether_addr(hdr->addr1) && in ieee80211_tx_h_select_key() 737 encap ? ((struct ethhdr *)hdr)->h_dest : hdr->addr1, in ieee80211_tx_h_rate_ctrl() 834 is_multicast_ether_addr(hdr->addr1)) { in ieee80211_tx_h_sequence() 1068 group_addr = is_multicast_ether_addr(hdr->addr1); in ieee80211_tx_h_calculate_duration() 1215 tx->sta = sta_info_get_bss(sdata, hdr->addr1); in ieee80211_tx_prepare() 1217 if (!tx->sta && !is_multicast_ether_addr(hdr->addr1)) { in ieee80211_tx_prepare() 1218 tx->sta = sta_info_get(sdata, hdr->addr1); in ieee80211_tx_prepare() [all …]
|
D | status.c | 194 ieee80211_check_pending_bar(sta, hdr->addr1, tid); in ieee80211_frame_acked() 343 !is_multicast_ether_addr(hdr->addr1)) in ieee80211_add_tx_radiotap_header() 644 cfg80211_probe_status(sdata->dev, hdr->addr1, in ieee80211_report_ack_skb() 684 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2); in ieee80211_report_used_skb() 944 ieee80211_send_bar(&sta->sdata->vif, hdr->addr1, in __ieee80211_tx_status() 1028 if (!is_multicast_ether_addr(hdr->addr1) || in __ieee80211_tx_status() 1087 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2); in ieee80211_tx_status()
|
D | wpa.c | 186 is_multicast_ether_addr(hdr->addr1) ? in ieee80211_rx_h_michael_mic_verify() 297 hdr->addr1, hwaccel, rx->security_idx, in ieee80211_crypto_tkip_decrypt() 365 memcpy(&aad[4], &hdr->addr1, 3 * ETH_ALEN); in ccmp_special_blocks() 600 memcpy(&aad[4], &hdr->addr1, 3 * ETH_ALEN); in gcmp_special_blocks() 918 memcpy(aad + 2, &hdr->addr1, 3 * ETH_ALEN); in bip_aad()
|
D | wme.c | 270 if (is_multicast_ether_addr(hdr->addr1) || in ieee80211_set_qos_hdr()
|
D | mesh_pathtbl.c | 89 memcpy(hdr->addr1, sta->sta.addr, ETH_ALEN); in mesh_path_assign_nexthop() 131 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate()
|
D | mesh_hwmp.c | 1196 if (is_multicast_ether_addr(hdr->addr1)) in mesh_nexthop_lookup_nolearn() 1208 memcpy(hdr->addr1, hdr->addr3, ETH_ALEN); in mesh_nexthop_lookup_nolearn() 1250 memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN); in mesh_nexthop_lookup()
|
D | debugfs_netdev.c | 329 memcpy(hdr->addr1, addr, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test() 342 memcpy(hdr->addr1, sdata->u.mgd.associated->bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
|
D | mesh.c | 716 memcpy(hdr->addr1, meshda, ETH_ALEN); in ieee80211_fill_mesh_addresses() 723 eth_zero_addr(hdr->addr1); /* RA is resolved later */ in ieee80211_fill_mesh_addresses()
|
D | util.c | 60 return hdr->addr1; in ieee80211_get_bssid() 81 return hdr->addr1; in ieee80211_get_bssid() 89 return hdr->addr1; in ieee80211_get_bssid()
|
D | sta_info.c | 1431 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response()
|
D | cfg.c | 3786 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client()
|
D | mlme.c | 1130 memcpy(nullfunc->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
|
/net/wireless/ |
D | lib80211_crypt_tkip.c | 337 hdr->addr1); in lib80211_tkip_encrypt() 519 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr() 527 memcpy(hdr, hdr11->addr1, ETH_ALEN); /* DA */ in michael_mic_hdr() 573 if (hdr->addr1[0] & 0x01) in lib80211_michael_mic_failure()
|
D | lib80211_crypt_ccmp.c | 139 memcpy(aad + 2, hdr->addr1, 3 * ETH_ALEN); in ccmp_init_iv_and_aad()
|
/net/rose/ |
D | af_rose.c | 112 int rosecmp(rose_address *addr1, rose_address *addr2) in rosecmp() argument 117 if (addr1->rose_addr[i] != addr2->rose_addr[i]) in rosecmp() 126 int rosecmpm(rose_address *addr1, rose_address *addr2, unsigned short mask) in rosecmpm() argument 137 if ((addr1->rose_addr[j] & 0x0F) != (addr2->rose_addr[j] & 0x0F)) in rosecmpm() 140 if ((addr1->rose_addr[j] & 0xF0) != (addr2->rose_addr[j] & 0xF0)) in rosecmpm()
|
/net/ipv6/ |
D | ip6_vti.c | 53 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() argument 55 u32 hash = ipv6_addr_hash(addr1) ^ ipv6_addr_hash(addr2); in HASH()
|
D | ip6_tunnel.c | 70 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() argument 72 u32 hash = ipv6_addr_hash(addr1) ^ ipv6_addr_hash(addr2); in HASH()
|