/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 | 297 static int sctp_v4_cmp_addr(const union sctp_addr *addr1, in sctp_v4_cmp_addr() argument 300 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_v4_cmp_addr() 302 if (addr1->v4.sin_port != addr2->v4.sin_port) in sctp_v4_cmp_addr() 304 if (addr1->v4.sin_addr.s_addr != addr2->v4.sin_addr.s_addr) in sctp_v4_cmp_addr() 1011 static int sctp_inet_cmp_addr(const union sctp_addr *addr1, in sctp_inet_cmp_addr() argument 1016 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_inet_cmp_addr() 1018 if (htonl(INADDR_ANY) == addr1->v4.sin_addr.s_addr || in sctp_inet_cmp_addr() 1021 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 | 41 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 194 if (WARN_ON(is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 199 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 216 if ((is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 218 (is_multicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 341 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_rx_h_sta_process()
|
D | rx.c | 279 if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr)) in ieee80211_handle_mu_mimo_mon() 956 if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_is_unicast_robust_mgmt_frame() 967 if (!is_multicast_ether_addr(hdr->addr1)) in ieee80211_is_multicast_robust_mgmt_frame() 1028 if (is_multicast_ether_addr(hdr->addr1)) { in ieee80211_rx_mesh_check() 1348 is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_reorder_ampdu() 1429 is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_h_check_dup() 1738 !is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_h_sta_process() 1745 !is_multicast_ether_addr(hdr->addr1)) { in ieee80211_rx_h_sta_process() 1791 !is_multicast_ether_addr(hdr->addr1) && in ieee80211_rx_h_sta_process() 1945 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() 600 is_multicast_ether_addr(hdr->addr1) && in ieee80211_select_link_key() 603 else if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_select_link_key() 626 else if (!is_multicast_ether_addr(hdr->addr1) && in ieee80211_tx_h_select_key() 762 encap ? ((struct ethhdr *)hdr)->h_dest : hdr->addr1, in ieee80211_tx_h_rate_ctrl() 853 if (unlikely(is_multicast_ether_addr(hdr->addr1) && in ieee80211_tx_h_sequence() 869 is_multicast_ether_addr(hdr->addr1)) { in ieee80211_tx_h_sequence() 1101 group_addr = is_multicast_ether_addr(hdr->addr1); in ieee80211_tx_h_calculate_duration() 1244 tx->sta = sta_info_get_bss(sdata, hdr->addr1); in ieee80211_tx_prepare() 1246 if (!tx->sta && !is_multicast_ether_addr(hdr->addr1)) { in ieee80211_tx_prepare() [all …]
|
D | status.c | 195 ieee80211_check_pending_bar(sta, hdr->addr1, tid); in ieee80211_frame_acked() 353 !is_multicast_ether_addr(hdr->addr1)) in ieee80211_add_tx_radiotap_header() 674 cfg80211_probe_status(sdata->dev, hdr->addr1, in ieee80211_report_ack_skb() 715 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2); in ieee80211_report_used_skb() 972 ieee80211_send_bar(&sta->sdata->vif, hdr->addr1, in __ieee80211_tx_status() 1037 if (!is_multicast_ether_addr(hdr->addr1) || in __ieee80211_tx_status() 1096 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2); in ieee80211_tx_status()
|
D | wme.c | 224 if (is_multicast_ether_addr(hdr->addr1) || in ieee80211_set_qos_hdr()
|
D | mesh_hwmp.c | 1210 if (is_multicast_ether_addr(hdr->addr1)) in mesh_nexthop_lookup_nolearn() 1222 memcpy(hdr->addr1, hdr->addr3, ETH_ALEN); in mesh_nexthop_lookup_nolearn() 1272 memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN); in mesh_nexthop_lookup()
|
D | mesh_pathtbl.c | 125 memcpy(hdr->addr1, sta->sta.addr, ETH_ALEN); in mesh_path_assign_nexthop() 167 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate()
|
D | debugfs_netdev.c | 355 memcpy(hdr->addr1, addr, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test() 368 memcpy(hdr->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
|
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()
|
D | mesh.c | 875 memcpy(hdr->addr1, meshda, ETH_ALEN); in ieee80211_fill_mesh_addresses() 882 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 | 1812 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response()
|
D | cfg.c | 4185 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client()
|
D | mlme.c | 1667 memcpy(nullfunc->addr1, sdata->deflink.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()
|
/net/rose/ |
D | af_rose.c | 112 int rosecmp(const rose_address *addr1, const rose_address *addr2) in rosecmp() argument 117 if (addr1->rose_addr[i] != addr2->rose_addr[i]) in rosecmp() 126 int rosecmpm(const rose_address *addr1, const rose_address *addr2, in rosecmpm() argument 138 if ((addr1->rose_addr[j] & 0x0F) != (addr2->rose_addr[j] & 0x0F)) in rosecmpm() 141 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()
|