Home
last modified time | relevance | path

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

123

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
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-6.1.9/net/rds/
Dtcp_listen.c106 struct in6_addr *my_addr, *peer_addr; in rds_tcp_accept_one() local
145 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()
150 peer_addr = &daddr; in rds_tcp_accept_one()
155 peer_addr, ntohs(inet->inet_dport)); in rds_tcp_accept_one()
163 !(ipv6_addr_type(peer_addr) & IPV6_ADDR_LINKLOCAL)) { in rds_tcp_accept_one()
173 if (!rds_tcp_laddr_check(sock_net(sock->sk), peer_addr, dev_if)) { in rds_tcp_accept_one()
180 my_addr, peer_addr, in rds_tcp_accept_one()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
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-6.1.9/fs/ksmbd/mgmt/
Dtree_connect.c26 struct sockaddr *peer_addr; in ksmbd_tree_conn_connect() local
45 peer_addr = KSMBD_TCP_PEER_SOCKADDR(conn); in ksmbd_tree_conn_connect()
49 peer_addr); in ksmbd_tree_conn_connect()
/linux-6.1.9/include/trace/events/
Dmctp.h37 __entry->paddr = key->peer_addr;
58 __entry->paddr = key->peer_addr;
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dtrace.h309 TP_PROTO(struct ath11k *ar, const void *peer_addr,
311 TP_ARGS(ar, peer_addr, peer_ps_timestamp, peer_ps_state),
315 __dynamic_array(u8, peer_addr, ETH_ALEN)
322 memcpy(__get_dynamic_array(peer_addr), peer_addr,
Dpeer.c386 peer = ath11k_peer_find_by_addr(ar->ab, param->peer_addr); in ath11k_peer_create()
411 param->peer_addr); in ath11k_peer_create()
418 peer = ath11k_peer_find(ar->ab, param->vdev_id, param->peer_addr); in ath11k_peer_create()
423 param->peer_addr, param->vdev_id); in ath11k_peer_create()
465 fbret = __ath11k_peer_delete(ar, param->vdev_id, param->peer_addr); in ath11k_peer_create()
468 param->peer_addr, param->vdev_id, fbret); in ath11k_peer_create()
Ddp_rx.h49 const u8 *peer_addr,
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
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 …]
/linux-6.1.9/fs/ksmbd/
Dconnection.h95 struct sockaddr_storage peer_addr; member
139 #define KSMBD_TCP_PEER_SOCKADDR(c) ((struct sockaddr *)&((c)->peer_addr))
Dtransport_ipc.h25 struct sockaddr *peer_addr);
Dtransport_ipc.c554 struct sockaddr *peer_addr) in ksmbd_ipc_tree_connect_request() argument
579 snprintf(req->peer_addr, sizeof(req->peer_addr), "%pIS", peer_addr); in ksmbd_ipc_tree_connect_request()
581 if (peer_addr->sa_family == AF_INET6) in ksmbd_ipc_tree_connect_request()
/linux-6.1.9/net/ceph/
Dmessenger_v1.c700 ceph_pr_addr(&con->peer_addr)); in verify_hello()
721 if (memcmp(&con->peer_addr, &con->v1.actual_peer_addr, in process_banner()
722 sizeof(con->peer_addr)) != 0 && in process_banner()
724 con->v1.actual_peer_addr.nonce == con->peer_addr.nonce)) { in process_banner()
726 ceph_pr_addr(&con->peer_addr), in process_banner()
727 le32_to_cpu(con->peer_addr.nonce), in process_banner()
796 ceph_pr_addr(&con->peer_addr), in process_connect()
805 ceph_pr_addr(&con->peer_addr), in process_connect()
838 ceph_pr_addr(&con->peer_addr)); in process_connect()
894 ceph_pr_addr(&con->peer_addr), in process_connect()
[all …]
Dmessenger.c432 struct sockaddr_storage ss = con->peer_addr.in_addr; /* align */ in ceph_tcp_connect()
438 ceph_pr_addr(&con->peer_addr)); in ceph_tcp_connect()
461 ceph_pr_addr(&con->peer_addr), in ceph_tcp_connect()
465 ceph_pr_addr(&con->peer_addr), ret); in ceph_tcp_connect()
573 dout("con_close %p peer %s\n", con, ceph_pr_addr(&con->peer_addr)); in ceph_con_close()
605 memcpy(&con->peer_addr, addr, sizeof(*addr)); in ceph_con_open()
1545 con, con->state, ceph_pr_addr(&con->peer_addr)); in con_fault()
1548 ceph_pr_addr(&con->peer_addr), con->error_msg); in con_fault()
Dmessenger_v2.c1266 ctrl_len = 1 + ceph_entity_addr_encoding_len(&con->peer_addr); in prepare_hello()
1273 ceph_encode_entity_addr(&p, &con->peer_addr); in prepare_hello()
1396 ceph_pr_addr(&con->peer_addr), le32_to_cpu(con->peer_addr.nonce), in prepare_client_ident()
1401 ceph_entity_addr_encoding_len(&con->peer_addr) + 6 * 8; in prepare_client_ident()
1410 ceph_encode_entity_addr(&p, &con->peer_addr); in prepare_client_ident()
2036 ceph_pr_addr(&con->peer_addr)); in process_hello()
2311 if (memcmp(&addr, &con->peer_addr, sizeof(con->peer_addr))) { in process_server_ident()
2313 ceph_pr_addr(&con->peer_addr), in process_server_ident()
2314 le32_to_cpu(con->peer_addr.nonce), in process_server_ident()
2495 ceph_pr_addr(&con->peer_addr)); in process_session_reset()
[all …]
/linux-6.1.9/net/bluetooth/
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-6.1.9/include/uapi/linux/
Dmctp.h55 mctp_eid_t peer_addr; member
Drds.h220 __be32 peer_addr; member
233 struct in6_addr peer_addr; member
/linux-6.1.9/drivers/ntb/hw/intel/
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 …]
Dntb_hw_intel.h174 phys_addr_t peer_addr; member
/linux-6.1.9/net/mctp/
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()
Droute.c82 if (key->peer_addr != peer) in mctp_key_match()
143 key->peer_addr = peer; in mctp_key_alloc()
188 if (mctp_key_match(tmp, key->local_addr, key->peer_addr, in mctp_key_add()
638 if (!(mctp_address_matches(tmp->peer_addr, daddr) && in mctp_alloc_local_tag()
691 if (!mctp_address_matches(tmp->peer_addr, daddr)) in mctp_lookup_prealloc_tag()
/linux-6.1.9/drivers/block/drbd/
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-6.1.9/include/net/
Dmctp.h136 mctp_eid_t peer_addr; member
/linux-6.1.9/net/sctp/
Dsm_make_chunk.c65 const union sctp_addr *peer_addr,
1644 SCTP_INPUT_CB(skb)->af->from_skb(&asoc->c.peer_addr, skb, 1); in sctp_make_temp_asoc()
1817 if (chunk->sctp_hdr->source != bear_cookie->peer_addr.v4.sin_port || in sctp_unpack_cookie()
2356 const union sctp_addr *peer_addr, in sctp_process_init() argument
2377 if (!sctp_assoc_add_peer(asoc, peer_addr, gfp, SCTP_ACTIVE)) in sctp_process_init()
2380 if (sctp_cmp_addr_exact(sctp_source(chunk), peer_addr)) in sctp_process_init()
2396 if (!sctp_process_param(asoc, param, peer_addr, gfp)) in sctp_process_init()
2542 const union sctp_addr *peer_addr, in sctp_process_param() argument
2574 scope = sctp_scope(peer_addr); in sctp_process_param()
2606 if (peer_addr->sa.sa_family == AF_INET6) in sctp_process_param()
[all …]

123