Home
last modified time | relevance | path

Searched refs:peer_addr (Results 1 – 25 of 87) sorted by relevance

1234

/linux/net/rds/
H A Dtcp_listen.c107 struct in6_addr *my_addr, *peer_addr; in rds_tcp_accept_one() local
150 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()
155 peer_addr = &daddr; in rds_tcp_accept_one()
160 peer_addr, ntohs(inet->inet_dport)); in rds_tcp_accept_one()
168 !(ipv6_addr_type(peer_addr) & IPV6_ADDR_LINKLOCAL)) { in rds_tcp_accept_one()
178 if (!rds_tcp_laddr_check(sock_net(sock->sk), peer_addr, dev_if)) { in rds_tcp_accept_one()
185 my_addr, peer_addr, in rds_tcp_accept_one()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_nf.c54 struct sockaddr_in peer_addr = {}; in test_bpf_nf_ct() local
84 len = sizeof(peer_addr); in test_bpf_nf_ct()
85 srv_client_fd = accept(srv_fd, (struct sockaddr *)&peer_addr, &len); in test_bpf_nf_ct()
91 skel->bss->saddr = peer_addr.sin_addr.s_addr; in test_bpf_nf_ct()
92 skel->bss->sport = peer_addr.sin_port; in test_bpf_nf_ct()
93 skel->bss->daddr = peer_addr.sin_addr.s_addr; in test_bpf_nf_ct()
/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c34 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_wep_pair() argument
39 ether_addr_copy(msg->peer_address, peer_addr); in fill_wep_pair()
54 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_tkip_pair() argument
65 ether_addr_copy(msg->peer_address, peer_addr); in fill_tkip_pair()
91 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_ccmp_pair() argument
94 ether_addr_copy(msg->peer_address, peer_addr); in fill_ccmp_pair()
111 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_sms4_pair() argument
117 ether_addr_copy(msg->peer_address, peer_addr); in fill_sms4_pair()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-sync.c67 iwl_mvm_time_sync_find_skb(mvm, notif->peer_addr, in iwl_mvm_time_sync_msmt_event()
103 iwl_mvm_time_sync_find_skb(mvm, notif->peer_addr, in iwl_mvm_time_sync_msmt_confirm_event()
143 !ether_addr_equal(addr, mvm->time_sync.peer_addr)) { in iwl_mvm_time_sync_config()
155 ether_addr_copy(cmd.peer_addr, addr); in iwl_mvm_time_sync_config()
165 ether_addr_copy(mvm->time_sync.peer_addr, addr); in iwl_mvm_time_sync_config()
H A Dtime-sync.h22 if (ether_addr_equal(mvm->time_sync.peer_addr, addr) && in iwl_mvm_time_sync_frame()
/linux/net/mctp/
H A Daf_mctp.c380 ctl->peer_addr = ctl_compat.peer_addr; in mctp_ioctl_tag_copy_from_user()
409 ctl_compat.peer_addr = ctl->peer_addr; in mctp_ioctl_tag_copy_to_user()
442 ctl.peer_addr, true, &tag); in mctp_ioctl_alloctag()
489 if (ctl.peer_addr == MCTP_ADDR_NULL) in mctp_ioctl_droptag()
490 ctl.peer_addr = MCTP_ADDR_ANY; in mctp_ioctl_droptag()
500 ctl.peer_addr == key->peer_addr && in mctp_ioctl_droptag()
H A Droute.c119 if (!mctp_address_matches(key->peer_addr, peer)) in mctp_key_match()
182 key->peer_addr = peer; in mctp_key_alloc()
228 key->peer_addr, key->tag)) { in mctp_key_add()
709 !mctp_address_matches(tmp->peer_addr, peer)) in mctp_alloc_local_tag()
769 if (!mctp_address_matches(tmp->peer_addr, daddr)) in mctp_lookup_prealloc_tag()
/linux/include/uapi/linux/
H A Dmctp.h62 mctp_eid_t peer_addr; member
83 mctp_eid_t peer_addr; member
H A Drds.h220 __be32 peer_addr; member
233 struct in6_addr peer_addr; member
/linux/fs/smb/server/mgmt/
H A Dtree_connect.c25 struct sockaddr *peer_addr; in ksmbd_tree_conn_connect() local
47 peer_addr = KSMBD_TCP_PEER_SOCKADDR(conn); in ksmbd_tree_conn_connect()
51 peer_addr); in ksmbd_tree_conn_connect()
/linux/include/trace/events/
H A Dmctp.h37 __entry->paddr = key->peer_addr;
58 __entry->paddr = key->peer_addr;
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddatapath.h184 u8 peer_addr[ETH_ALEN]; member
295 u8 peer_addr[ETH_ALEN]; member
334 u8 peer_addr[ETH_ALEN]; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dpeer.c387 peer = ath11k_peer_find_by_addr(ar->ab, param->peer_addr); in ath11k_peer_create()
412 param->peer_addr); in ath11k_peer_create()
419 peer = ath11k_peer_find(ar->ab, param->vdev_id, param->peer_addr); in ath11k_peer_create()
424 param->peer_addr, param->vdev_id); in ath11k_peer_create()
466 fbret = __ath11k_peer_delete(ar, param->vdev_id, param->peer_addr); in ath11k_peer_create()
469 param->peer_addr, param->vdev_id, fbret); in ath11k_peer_create()
H A Ddp_rx.h50 const u8 *peer_addr,
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h96 const u8 peer_addr[ETH_ALEN],
99 const u8 peer_addr[ETH_ALEN]);
101 const u8 peer_addr[ETH_ALEN],
104 const u8 *peer_addr,
172 const u8 peer_addr[ETH_ALEN],
827 const u8 peer_addr[ETH_ALEN], in ath10k_wmi_vdev_sta_uapsd()
837 skb = ar->wmi.ops->gen_vdev_sta_uapsd(ar, vdev_id, peer_addr, args, in ath10k_wmi_vdev_sta_uapsd()
863 const u8 peer_addr[ETH_ALEN], in ath10k_wmi_peer_create()
871 skb = ar->wmi.ops->gen_peer_create(ar, vdev_id, peer_addr, peer_type); in ath10k_wmi_peer_create()
880 const u8 peer_addr[ETH_ALEN]) in ath10k_wmi_peer_delete()
[all …]
/linux/fs/smb/server/
H A Dconnection.h98 struct sockaddr_storage peer_addr; member
143 #define KSMBD_TCP_PEER_SOCKADDR(c) ((struct sockaddr *)&((c)->peer_addr))
H A Dtransport_ipc.c650 struct sockaddr *peer_addr) in ksmbd_ipc_tree_connect_request() argument
675 snprintf(req->peer_addr, sizeof(req->peer_addr), "%pIS", peer_addr); in ksmbd_ipc_tree_connect_request()
677 if (peer_addr->sa_family == AF_INET6) in ksmbd_ipc_tree_connect_request()
H A Dtransport_ipc.h27 struct sockaddr *peer_addr);
/linux/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c1129 ndev_db_addr(ndev, db_addr, db_size, ndev->peer_addr, in intel_ntb_peer_db_addr()
1185 return ndev_spad_addr(ndev, sidx, spad_addr, ndev->peer_addr, in intel_ntb_peer_spad_addr()
1293 const struct intel_b2b_addr *peer_addr) in xeon_setup_b2b_mw() argument
1483 bar_addr = peer_addr->bar2_addr64; in xeon_setup_b2b_mw()
1489 bar_addr = peer_addr->bar4_addr64; in xeon_setup_b2b_mw()
1494 bar_addr = peer_addr->bar4_addr32; in xeon_setup_b2b_mw()
1499 bar_addr = peer_addr->bar5_addr32; in xeon_setup_b2b_mw()
1507 bar_addr = peer_addr->bar0_addr; in xeon_setup_b2b_mw()
1509 bar_addr = peer_addr->bar2_addr64; in xeon_setup_b2b_mw()
1511 bar_addr = peer_addr->bar4_addr64; in xeon_setup_b2b_mw()
[all …]
H A Dntb_hw_intel.h174 phys_addr_t peer_addr; member
/linux/net/bluetooth/
H A D6lowpan.c62 struct in6_addr peer_addr; member
172 &peer->peer_addr); in peer_lookup_dst()
174 if (!ipv6_addr_cmp(&peer->peer_addr, nexthop)) { in peer_lookup_dst()
368 bdaddr_t *peer_addr, u8 *peer_addr_type) in setup_header() argument
401 *peer_addr = peer->chan->dst; in setup_header()
484 &pentry->peer_addr, pentry->chan); in send_mcast_pkt()
647 lowpan_iphc_uncompress_eui48_lladdr(&peer->peer_addr, peer->lladdr); in add_peer_chan()
/linux/net/ceph/
H A Dmessenger_v1.c694 ceph_pr_addr(&con->peer_addr)); in verify_hello()
715 if (memcmp(&con->peer_addr, &con->v1.actual_peer_addr, in process_banner()
716 sizeof(con->peer_addr)) != 0 && in process_banner()
718 con->v1.actual_peer_addr.nonce == con->peer_addr.nonce)) { in process_banner()
720 ceph_pr_addr(&con->peer_addr), in process_banner()
721 le32_to_cpu(con->peer_addr.nonce), in process_banner()
790 ceph_pr_addr(&con->peer_addr), in process_connect()
799 ceph_pr_addr(&con->peer_addr), in process_connect()
832 ceph_pr_addr(&con->peer_addr)); in process_connect()
888 ceph_pr_addr(&con->peer_addr), in process_connect()
[all …]
H A Dmessenger.c436 struct sockaddr_storage ss = con->peer_addr.in_addr; /* align */ in ceph_tcp_connect()
442 ceph_pr_addr(&con->peer_addr)); in ceph_tcp_connect()
466 ceph_pr_addr(&con->peer_addr), in ceph_tcp_connect()
470 ceph_pr_addr(&con->peer_addr), ret); in ceph_tcp_connect()
578 dout("con_close %p peer %s\n", con, ceph_pr_addr(&con->peer_addr)); in ceph_con_close()
610 memcpy(&con->peer_addr, addr, sizeof(*addr)); in ceph_con_open()
1617 con, con->state, ceph_pr_addr(&con->peer_addr)); in con_fault()
1620 ceph_pr_addr(&con->peer_addr), con->error_msg); in con_fault()
/linux/drivers/block/drbd/
H A Ddrbd_nl.c214 adm_ctx->peer_addr = nested_attr_tb[__nla_type(T_ctx_peer_addr)]; in drbd_adm_prepare()
217 (adm_ctx->peer_addr && in drbd_adm_prepare()
218 nla_len(adm_ctx->peer_addr) > sizeof(adm_ctx->connection->peer_addr))) { in drbd_adm_prepare()
257 if (adm_ctx->my_addr && adm_ctx->peer_addr) in drbd_adm_prepare()
260 nla_data(adm_ctx->peer_addr), in drbd_adm_prepare()
261 nla_len(adm_ctx->peer_addr)); in drbd_adm_prepare()
335 switch (((struct sockaddr *)&connection->peer_addr)->sa_family) { in setup_khelper_env()
339 &((struct sockaddr_in6 *)&connection->peer_addr)->sin6_addr); in setup_khelper_env()
344 &((struct sockaddr_in *)&connection->peer_addr)->sin_addr); in setup_khelper_env()
349 &((struct sockaddr_in *)&connection->peer_addr)->sin_addr); in setup_khelper_env()
[all …]
/linux/net/wireless/
H A Dsme.c1288 void __cfg80211_port_authorized(struct wireless_dev *wdev, const u8 *peer_addr, in __cfg80211_port_authorized() argument
1302 WARN_ON(!ether_addr_equal(wdev->u.client.connected_addr, peer_addr))) in __cfg80211_port_authorized()
1307 peer_addr, td_bitmap, td_bitmap_len); in __cfg80211_port_authorized()
1310 void cfg80211_port_authorized(struct net_device *dev, const u8 *peer_addr, in cfg80211_port_authorized() argument
1318 if (WARN_ON(!peer_addr)) in cfg80211_port_authorized()
1326 memcpy(ev->pa.peer_addr, peer_addr, ETH_ALEN); in cfg80211_port_authorized()

1234