Home
last modified time | relevance | path

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

/net/sctp/
Dipv6.c81 const union sctp_addr *addr2);
521 const union sctp_addr *addr2) in sctp_v6_cmp_addr() argument
523 if (addr1->sa.sa_family != addr2->sa.sa_family) { in sctp_v6_cmp_addr()
525 addr2->sa.sa_family == AF_INET6 && in sctp_v6_cmp_addr()
526 ipv6_addr_v4mapped(&addr2->v6.sin6_addr)) { in sctp_v6_cmp_addr()
527 if (addr2->v6.sin6_port == addr1->v4.sin_port && in sctp_v6_cmp_addr()
528 addr2->v6.sin6_addr.s6_addr32[3] == in sctp_v6_cmp_addr()
532 if (addr2->sa.sa_family == AF_INET && in sctp_v6_cmp_addr()
535 if (addr1->v6.sin6_port == addr2->v4.sin_port && in sctp_v6_cmp_addr()
537 addr2->v4.sin_addr.s_addr) in sctp_v6_cmp_addr()
[all …]
Dprotocol.c307 const union sctp_addr *addr2) in sctp_v4_cmp_addr() argument
309 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_v4_cmp_addr()
311 if (addr1->v4.sin_port != addr2->v4.sin_port) in sctp_v4_cmp_addr()
313 if (addr1->v4.sin_addr.s_addr != addr2->v4.sin_addr.s_addr) in sctp_v4_cmp_addr()
910 const union sctp_addr *addr2, in sctp_inet_cmp_addr() argument
914 if (addr1->sa.sa_family != addr2->sa.sa_family) in sctp_inet_cmp_addr()
917 htonl(INADDR_ANY) == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
919 if (addr1->v4.sin_addr.s_addr == addr2->v4.sin_addr.s_addr) in sctp_inet_cmp_addr()
/net/wireless/
Dlib80211_crypt_tkip.c325 tkip_mixing_phase1(tkey->tx_ttak, tkey->key, hdr->addr2, in lib80211_tkip_hdr()
421 hdr->addr2); in lib80211_tkip_decrypt()
432 hdr->addr2); in lib80211_tkip_decrypt()
443 hdr->addr2, keyidx); in lib80211_tkip_decrypt()
453 hdr->addr2, tkey->rx_iv32, tkey->rx_iv16, in lib80211_tkip_decrypt()
461 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in lib80211_tkip_decrypt()
472 hdr->addr2); in lib80211_tkip_decrypt()
489 hdr->addr2); in lib80211_tkip_decrypt()
540 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
552 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr()
[all …]
Dlib80211_crypt_ccmp.c141 memcpy(b0 + 2, hdr->addr2, ETH_ALEN); in ccmp_init_blocks()
308 hdr->addr2); in lib80211_ccmp_decrypt()
320 hdr->addr2, keyidx); in lib80211_ccmp_decrypt()
335 hdr->addr2, in lib80211_ccmp_decrypt()
365 hdr->addr2); in lib80211_ccmp_decrypt()
Dutil.c509 memcpy(hdr.addr2, addr, ETH_ALEN); in ieee80211_data_from_8023()
518 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_data_from_8023()
525 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_data_from_8023()
/net/mac80211/
Devent.c22 cfg80211_michael_mic_failure(sdata->dev, hdr->addr2, in mac80211_ev_michael_mic_failure()
Dtx.c1714 if (ether_addr_equal(tmp_sdata->vif.addr, hdr->addr2)) { in ieee80211_monitor_start_xmit()
1843 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_subif_start_xmit()
1867 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_subif_start_xmit()
1876 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_subif_start_xmit()
1988 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_subif_start_xmit()
1997 memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_subif_start_xmit()
2005 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_subif_start_xmit()
2017 memcpy(hdr.addr2, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_subif_start_xmit()
2865 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in ieee80211_nullfunc_get()
2900 memcpy(hdr->addr2, vif->addr, ETH_ALEN); in ieee80211_probereq_get()
[all …]
Drx.c1059 hdr->addr2, in ieee80211_rx_h_check()
1653 !ether_addr_equal(hdr->addr2, f_hdr->addr2)) in ieee80211_reassemble_find()
2205 memcpy(fwd_hdr->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_rx_h_mesh_fwding()
2216 fwd_hdr->addr2); in ieee80211_rx_h_mesh_fwding()
3128 if (ether_addr_equal(sdata->vif.addr, hdr->addr2) || in prepare_for_handlers()
3129 ether_addr_equal(sdata->u.ibss.bssid, hdr->addr2)) in prepare_for_handlers()
3146 ieee80211_ibss_rx_no_sta(sdata, bssid, hdr->addr2, in prepare_for_handlers()
3193 if (!ether_addr_equal(sdata->u.wds.remote_addr, hdr->addr2)) in prepare_for_handlers()
3302 for_each_sta_info(local, hdr->addr2, sta, tmp) { in __ieee80211_rx_handle_packet()
3346 rx.sta = sta_info_get_bss(prev, hdr->addr2); in __ieee80211_rx_handle_packet()
[all …]
Ddebugfs_netdev.c321 memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
334 memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
Dmesh_pathtbl.c217 memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN); in mesh_path_assign_nexthop()
260 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate()
Dmesh.c517 memcpy(hdr->addr2, meshsa, ETH_ALEN); in ieee80211_fill_mesh_addresses()
524 memcpy(hdr->addr2, meshsa, ETH_ALEN); in ieee80211_fill_mesh_addresses()
Dstatus.c623 if (!ether_addr_equal(hdr->addr2, sta->sdata->vif.addr)) in ieee80211_tx_status()
Dwpa.c351 memcpy(&b_0[2], hdr->addr2, ETH_ALEN); in ccmp_special_blocks()
Dmesh_hwmp.c1152 memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); in mesh_nexthop_lookup()
Dutil.c68 return hdr->addr2; in ieee80211_get_bssid()
86 return hdr->addr2; in ieee80211_get_bssid()
Dsta_info.c1211 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
Dcfg.c3426 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
Dmlme.c934 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
/net/rose/
Daf_rose.c115 int rosecmp(rose_address *addr1, rose_address *addr2) in rosecmp() argument
120 if (addr1->rose_addr[i] != addr2->rose_addr[i]) in rosecmp()
129 int rosecmpm(rose_address *addr1, rose_address *addr2, unsigned short mask) in rosecmpm() argument
140 if ((addr1->rose_addr[j] & 0x0F) != (addr2->rose_addr[j] & 0x0F)) in rosecmpm()
143 if ((addr1->rose_addr[j] & 0xF0) != (addr2->rose_addr[j] & 0xF0)) in rosecmpm()
/net/ipv6/
Dip6_vti.c56 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() argument
58 u32 hash = ipv6_addr_hash(addr1) ^ ipv6_addr_hash(addr2); in HASH()
Dip6_tunnel.c80 static u32 HASH(const struct in6_addr *addr1, const struct in6_addr *addr2) in HASH() argument
82 u32 hash = ipv6_addr_hash(addr1) ^ ipv6_addr_hash(addr2); in HASH()
/net/decnet/
Ddn_route.c911 static inline int dn_match_addr(__le16 addr1, __le16 addr2) in dn_match_addr() argument
913 __u16 tmp = le16_to_cpu(addr1) ^ le16_to_cpu(addr2); in dn_match_addr()