Home
last modified time | relevance | path

Searched refs:addr2 (Results 1 – 19 of 19) sorted by relevance

/net/sctp/
Dipv6.c66 const union sctp_addr *addr2);
576 const union sctp_addr *addr2) in __sctp_v6_cmp_addr() argument
578 if (addr1->sa.sa_family != addr2->sa.sa_family) { in __sctp_v6_cmp_addr()
580 addr2->sa.sa_family == AF_INET6 && in __sctp_v6_cmp_addr()
581 ipv6_addr_v4mapped(&addr2->v6.sin6_addr) && in __sctp_v6_cmp_addr()
582 addr2->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
586 if (addr2->sa.sa_family == AF_INET && in __sctp_v6_cmp_addr()
590 addr2->v4.sin_addr.s_addr) in __sctp_v6_cmp_addr()
596 if (!ipv6_addr_equal(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in __sctp_v6_cmp_addr()
601 addr1->v6.sin6_scope_id && addr2->v6.sin6_scope_id && in __sctp_v6_cmp_addr()
[all …]
Dprotocol.c298 const union sctp_addr *addr2) 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()
938 const union sctp_addr *addr2, in sctp_inet_cmp_addr() argument
942 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_inet_cmp_addr()
945 htonl(INADDR_ANY) == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
947 if (addr1->v4.sin_addr.s_addr == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
/net/wireless/
Dlib80211_crypt_tkip.c299 tkip_mixing_phase1(tkey->tx_ttak, tkey->key, hdr->addr2, in lib80211_tkip_hdr()
392 hdr->addr2); in lib80211_tkip_decrypt()
403 hdr->addr2); in lib80211_tkip_decrypt()
414 hdr->addr2, keyidx); in lib80211_tkip_decrypt()
424 hdr->addr2, tkey->rx_iv32, tkey->rx_iv16, in lib80211_tkip_decrypt()
432 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in lib80211_tkip_decrypt()
455 hdr->addr2); in lib80211_tkip_decrypt()
516 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
528 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
578 memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); in lib80211_michael_mic_failure()
[all …]
Dlib80211_crypt_ccmp.c126 memcpy(iv + 2, hdr->addr2, ETH_ALEN); in ccmp_init_iv_and_aad()
277 hdr->addr2); in lib80211_ccmp_decrypt()
289 hdr->addr2, keyidx); in lib80211_ccmp_decrypt()
304 hdr->addr2, in lib80211_ccmp_decrypt()
332 hdr->addr2, ret); in lib80211_ccmp_decrypt()
/net/rds/
Dthreads.c268 const struct in6_addr *addr2) in rds_addr_cmp() argument
275 a2 = (__be64 *)addr2; in rds_addr_cmp()
297 if (addr1->s6_addr32[i] != addr2->s6_addr32[i]) { in rds_addr_cmp()
299 b = ntohl(addr2->s6_addr32[i]); in rds_addr_cmp()
/net/mac80211/
Drx.c59 return hdr->addr2; in ieee80211_get_bssid()
77 return hdr->addr2; in ieee80211_get_bssid()
1517 hdr->addr2, in ieee80211_rx_h_check()
2159 !ether_addr_equal(hdr->addr2, f_hdr->addr2)) in ieee80211_reassemble_find()
2890 memcpy(fwd_hdr->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_rx_h_mesh_fwding()
2901 fwd_hdr->addr2); in ieee80211_rx_h_mesh_fwding()
3954 if (ether_addr_equal(sdata->vif.addr, hdr->addr2) || in ieee80211_accept_frame()
3955 ether_addr_equal(sdata->u.ibss.bssid, hdr->addr2) || in ieee80211_accept_frame()
3956 !is_valid_ether_addr(hdr->addr2)) in ieee80211_accept_frame()
3971 ieee80211_ibss_rx_no_sta(sdata, bssid, hdr->addr2, in ieee80211_accept_frame()
[all …]
Dtx.c2321 if (ether_addr_equal(tmp_sdata->vif.addr, hdr->addr2)) { in ieee80211_monitor_start_xmit()
2519 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_build_hdr()
2547 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_build_hdr()
2556 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_build_hdr()
2654 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_build_hdr()
2663 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_build_hdr()
2671 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_build_hdr()
2685 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_build_hdr()
2698 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_build_hdr()
2954 build.sa_offs = offsetof(struct ieee80211_hdr, addr2); in ieee80211_check_fast_xmit()
[all …]
Dwpa.c185 cfg80211_michael_mic_failure(rx->sdata->dev, hdr->addr2, in ieee80211_rx_h_michael_mic_verify()
358 memcpy(&b_0[2], hdr->addr2, ETH_ALEN); in ccmp_special_blocks()
579 memcpy(j_0, hdr->addr2, ETH_ALEN); in gcmp_special_blocks()
1172 memcpy(nonce, hdr->addr2, ETH_ALEN); in ieee80211_crypto_aes_gmac_encrypt()
1218 memcpy(nonce, hdr->addr2, ETH_ALEN); in ieee80211_crypto_aes_gmac_decrypt()
Dmesh_pathtbl.c91 memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN); in mesh_path_assign_nexthop()
134 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate()
Ddebugfs_netdev.c338 memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
351 memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
Dmesh.c657 memcpy(hdr->addr2, meshsa, ETH_ALEN); in ieee80211_fill_mesh_addresses()
664 memcpy(hdr->addr2, meshsa, ETH_ALEN); in ieee80211_fill_mesh_addresses()
Dstatus.c1083 if (!ether_addr_equal(hdr->addr2, sta->sdata->vif.addr)) in ieee80211_tx_status()
Dmesh_hwmp.c1211 memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); in mesh_nexthop_lookup()
Dsta_info.c1422 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
Dcfg.c3598 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
Dmlme.c1062 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
/net/rose/
Daf_rose.c90 int rosecmp(rose_address *addr1, rose_address *addr2) in rosecmp() argument
95 if (addr1->rose_addr[i] != addr2->rose_addr[i]) in rosecmp()
104 int rosecmpm(rose_address *addr1, rose_address *addr2, unsigned short mask) in rosecmpm() argument
115 if ((addr1->rose_addr[j] & 0x0F) != (addr2->rose_addr[j] & 0x0F)) in rosecmpm()
118 if ((addr1->rose_addr[j] & 0xF0) != (addr2->rose_addr[j] & 0xF0)) in rosecmpm()
/net/ipv6/
Dip6_vti.c53 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()
Dip6_tunnel.c70 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()