Home
last modified time | relevance | path

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

1234

/openbmc/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()
/openbmc/linux/net/rds/
H A Dtcp_listen.c107 struct in6_addr *my_addr, *peer_addr; in rds_tcp_accept_one() local
146 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()
151 peer_addr = &daddr; in rds_tcp_accept_one()
156 peer_addr, ntohs(inet->inet_dport)); in rds_tcp_accept_one()
164 !(ipv6_addr_type(peer_addr) & IPV6_ADDR_LINKLOCAL)) { in rds_tcp_accept_one()
174 if (!rds_tcp_laddr_check(sock_net(sock->sk), peer_addr, dev_if)) { in rds_tcp_accept_one()
181 my_addr, peer_addr, in rds_tcp_accept_one()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dpeer.c280 peer = ath12k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, arg->peer_addr); in ath12k_peer_create()
296 arg->peer_addr); in ath12k_peer_create()
302 peer = ath12k_peer_find(ar->ab, arg->vdev_id, arg->peer_addr); in ath12k_peer_create()
306 arg->peer_addr, arg->vdev_id); in ath12k_peer_create()
310 ret = ath12k_wmi_send_peer_delete_cmd(ar, arg->peer_addr, in ath12k_peer_create()
314 arg->vdev_id, arg->peer_addr); in ath12k_peer_create()
319 arg->peer_addr); in ath12k_peer_create()
/openbmc/linux/fs/smb/server/mgmt/
H A Dtree_connect.c25 struct sockaddr *peer_addr; in ksmbd_tree_conn_connect() local
46 peer_addr = KSMBD_TCP_PEER_SOCKADDR(conn); in ksmbd_tree_conn_connect()
50 peer_addr); in ksmbd_tree_conn_connect()
/openbmc/linux/include/trace/events/
H A Dmctp.h37 __entry->paddr = key->peer_addr;
58 __entry->paddr = key->peer_addr;
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dtrace.h310 TP_PROTO(struct ath11k *ar, const void *peer_addr,
312 TP_ARGS(ar, peer_addr, peer_ps_timestamp, peer_ps_state),
316 __dynamic_array(u8, peer_addr, ETH_ALEN)
323 memcpy(__get_dynamic_array(peer_addr), peer_addr,
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,
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddatapath.h177 u8 peer_addr[ETH_ALEN]; member
283 u8 peer_addr[ETH_ALEN]; member
322 u8 peer_addr[ETH_ALEN]; member
/openbmc/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],
824 const u8 peer_addr[ETH_ALEN], in ath10k_wmi_vdev_sta_uapsd()
834 skb = ar->wmi.ops->gen_vdev_sta_uapsd(ar, vdev_id, peer_addr, args, in ath10k_wmi_vdev_sta_uapsd()
860 const u8 peer_addr[ETH_ALEN], in ath10k_wmi_peer_create()
868 skb = ar->wmi.ops->gen_peer_create(ar, vdev_id, peer_addr, peer_type); in ath10k_wmi_peer_create()
877 const u8 peer_addr[ETH_ALEN]) in ath10k_wmi_peer_delete()
[all …]
/openbmc/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.c594 struct sockaddr *peer_addr) in ksmbd_ipc_tree_connect_request() argument
619 snprintf(req->peer_addr, sizeof(req->peer_addr), "%pIS", peer_addr); in ksmbd_ipc_tree_connect_request()
621 if (peer_addr->sa_family == AF_INET6) in ksmbd_ipc_tree_connect_request()
H A Dtransport_ipc.h25 struct sockaddr *peer_addr);
/openbmc/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
/openbmc/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()
/openbmc/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()
/openbmc/linux/include/uapi/linux/
H A Dmctp.h55 mctp_eid_t peer_addr; member
H A Drds.h220 __be32 peer_addr; member
233 struct in6_addr peer_addr; member
/openbmc/linux/net/mctp/
H A Daf_mctp.c370 key = mctp_alloc_local_tag(msk, ctl.peer_addr, MCTP_ADDR_ANY, in mctp_ioctl_alloctag()
425 ctl.peer_addr == key->peer_addr && in mctp_ioctl_droptag()
/openbmc/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 …]

1234