| /net/sctp/ |
| A D | ipv6.c | 66 static int sctp_v6_cmp_addr(const union sctp_addr *addr1, 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() 662 return __sctp_v6_cmp_addr(addr1, addr2) && in sctp_v6_cmp_addr() 663 addr1->v6.sin6_port == addr2->v6.sin6_port; in sctp_v6_cmp_addr() 966 af1 = sctp_get_af_specific(addr1->sa.sa_family); in sctp_inet6_cmp_addr() [all …]
|
| A D | protocol.c | 296 static int sctp_v4_cmp_addr(const union sctp_addr *addr1, in sctp_v4_cmp_addr() argument 299 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_v4_cmp_addr() 301 if (addr1->v4.sin_port != addr2->v4.sin_port) in sctp_v4_cmp_addr() 303 if (addr1->v4.sin_addr.s_addr != addr2->v4.sin_addr.s_addr) in sctp_v4_cmp_addr() 1027 static int sctp_inet_cmp_addr(const union sctp_addr *addr1, in sctp_inet_cmp_addr() argument 1032 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_inet_cmp_addr() 1034 if (htonl(INADDR_ANY) == addr1->v4.sin_addr.s_addr || in sctp_inet_cmp_addr() 1037 if (addr1->v4.sin_addr.s_addr == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
|
| /net/rds/ |
| A 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/ |
| A D | mesh_ps.c | 43 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 198 if (WARN_ON(is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 203 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 220 if ((is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 222 (is_multicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags() 345 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_rx_h_sta_process()
|
| A D | rx.c | 984 if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_is_unicast_robust_mgmt_frame() 995 if (!is_multicast_ether_addr(hdr->addr1)) in ieee80211_is_multicast_robust_mgmt_frame() 1056 if (is_multicast_ether_addr(hdr->addr1)) { in ieee80211_rx_mesh_check() 1375 is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_reorder_ampdu() 1782 !is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_h_sta_process() 1789 !is_multicast_ether_addr(hdr->addr1)) { in ieee80211_rx_h_sta_process() 2093 if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_h_decrypt() 2239 !ether_addr_equal(hdr->addr1, f_hdr->addr1) || in ieee80211_reassemble_find() 2290 if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_rx_h_defragment() 2555 if (is_multicast_ether_addr(hdr->addr1) && in __ieee80211_data_to_8023() [all …]
|
| A D | tx.c | 309 hdr->addr1); in ieee80211_tx_h_check_assoc() 583 is_multicast_ether_addr(hdr->addr1) && in ieee80211_select_link_key() 2659 memcpy(hdr.addr1, skb->data, ETH_ALEN); in ieee80211_build_hdr() 2760 is_zero_ether_addr(hdr.addr1)) in ieee80211_build_hdr() 2804 memcpy(hdr.addr1, skb->data, ETH_ALEN); in ieee80211_build_hdr() 2811 memcpy(hdr.addr1, skb->data, ETH_ALEN); in ieee80211_build_hdr() 2860 sdata->name, hdr.addr1); in ieee80211_build_hdr() 2980 sdata->name, hdr.addr1, in ieee80211_build_hdr() 4828 sta = sta_info_get(sdata, hdr->addr1); in ieee80211_tx_pending_skb() 5730 memset(hdr->addr1, 0, sizeof(hdr->addr1)); in ieee80211_proberesp_get() [all …]
|
| A D | status.c | 193 ieee80211_check_pending_bar(sta, hdr->addr1, tid); in ieee80211_frame_acked() 318 !is_multicast_ether_addr(hdr->addr1)) in ieee80211_add_tx_radiotap_header() 639 cfg80211_probe_status(sdata->dev, hdr->addr1, in ieee80211_report_ack_skb() 733 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2); in ieee80211_report_used_skb() 1000 ieee80211_send_bar(&sta->sdata->vif, hdr->addr1, in __ieee80211_tx_status() 1065 if (!is_multicast_ether_addr(hdr->addr1) || in __ieee80211_tx_status() 1112 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2); in ieee80211_tx_status_skb()
|
| A D | wme.c | 224 if (is_multicast_ether_addr(hdr->addr1) || in ieee80211_set_qos_hdr()
|
| A D | mesh_hwmp.c | 1220 if (is_multicast_ether_addr(hdr->addr1)) in mesh_nexthop_lookup_nolearn() 1232 memcpy(hdr->addr1, hdr->addr3, ETH_ALEN); in mesh_nexthop_lookup_nolearn() 1282 memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN); in mesh_nexthop_lookup()
|
| A D | mesh_pathtbl.c | 126 memcpy(hdr->addr1, sta->sta.addr, ETH_ALEN); in mesh_path_assign_nexthop() 168 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate()
|
| A 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()
|
| A D | debugfs_netdev.c | 469 memcpy(hdr->addr1, addr, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test() 480 memcpy(hdr->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
|
| A D | mesh.c | 858 memcpy(hdr->addr1, meshda, ETH_ALEN); in ieee80211_fill_mesh_addresses() 865 eth_zero_addr(hdr->addr1); /* RA is resolved later */ in ieee80211_fill_mesh_addresses()
|
| A D | util.c | 66 return hdr->addr1; in ieee80211_get_bssid() 87 return hdr->addr1; in ieee80211_get_bssid() 95 return hdr->addr1; in ieee80211_get_bssid()
|
| A D | sta_info.c | 1883 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response()
|
| A D | cfg.c | 4513 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client()
|
| A D | mlme.c | 2394 memcpy(nullfunc->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
|
| /net/mac80211/tests/ |
| A D | mfp.c | 223 .addr1 = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, in accept_mfp() 253 hdr.addr1[0] = 0x02; in accept_mfp()
|
| /net/rose/ |
| A 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/ |
| A D | ip6_vti.c | 54 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() argument 56 u32 hash = ipv6_addr_hash(addr1) ^ ipv6_addr_hash(addr2); in HASH()
|
| A D | ip6_tunnel.c | 72 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() argument 74 u32 hash = ipv6_addr_hash(addr1) ^ ipv6_addr_hash(addr2); in HASH()
|
| /net/ipv4/ |
| A D | tcp_ao.c | 128 static int ipv4_prefix_cmp(const struct in_addr *addr1, in ipv4_prefix_cmp() argument 133 __be32 a1 = addr1->s_addr & mask; in ipv4_prefix_cmp()
|