Home
last modified time | relevance | path

Searched refs:srcaddr (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/infiniband/core/
Dcma_trace.h31 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
38 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
45 __entry->cm_id, __entry->srcaddr, __entry->dstaddr, __entry->tos
76 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
83 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
91 __entry->cm_id, __entry->srcaddr, __entry->dstaddr,
107 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
115 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
122 __entry->cm_id, __entry->srcaddr, __entry->dstaddr, __entry->tos,
190 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
[all …]
/linux-6.1.9/include/uapi/linux/netfilter/
Dxt_mac.h8 unsigned char srcaddr[ETH_ALEN]; member
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-rnbd-client12 > Usage: echo "sessname=<name of the rtrs session> path=<[srcaddr,]dstaddr>
13 > [path=<[srcaddr,]dstaddr>] device_path=<full path on remote side>
25 path=<[srcaddr,]dstaddr> [path=<[srcaddr,]dstaddr> ...]
/linux-6.1.9/include/linux/sunrpc/
Dxprtsock.h60 struct sockaddr_storage srcaddr; member
Dxprt.h329 struct sockaddr * srcaddr; /* optional local address */ member
/linux-6.1.9/net/netfilter/
Dxt_mac.c36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
/linux-6.1.9/fs/cifs/
Dcifsfs.c539 struct sockaddr *srcaddr; in cifs_show_options() local
540 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()
556 if (srcaddr->sa_family != AF_UNSPEC) { in cifs_show_options()
559 saddr4 = (struct sockaddr_in *)srcaddr; in cifs_show_options()
560 saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_show_options()
561 if (srcaddr->sa_family == AF_INET6) in cifs_show_options()
564 else if (srcaddr->sa_family == AF_INET) in cifs_show_options()
569 (int)(srcaddr->sa_family)); in cifs_show_options()
Dconnect.c1329 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_match_ipaddr() argument
1331 switch (srcaddr->sa_family) { in cifs_match_ipaddr()
1335 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_match_ipaddr()
1340 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_match_ipaddr()
1391 struct sockaddr *srcaddr) in match_address() argument
1420 if (!cifs_match_ipaddr(srcaddr, (struct sockaddr *)&server->srcaddr)) in match_address()
1479 (struct sockaddr *)&ctx->srcaddr)) in match_server()
1669 memcpy(&tcp_ses->srcaddr, &ctx->srcaddr, in cifs_get_tcp_session()
1670 sizeof(tcp_ses->srcaddr)); in cifs_get_tcp_session()
2815 if (server->srcaddr.ss_family != AF_UNSPEC) { in bind_socket()
[all …]
Dfs_context.h257 struct sockaddr_storage srcaddr; /* allow binding to a local IP */ member
Dcifsproto.h88 extern bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs);
Dfs_context.c1213 (struct sockaddr *)&ctx->srcaddr, in smb3_fs_context_parse_param()
Dcifsglob.h627 struct sockaddr_storage srcaddr; /* locally bind to this IP */ member
/linux-6.1.9/arch/s390/kvm/
Dintercept.c329 unsigned long srcaddr, dstaddr; in handle_mvpg_pei() local
336 reg2, &srcaddr, GACC_FETCH, 0); in handle_mvpg_pei()
339 rc = kvm_arch_fault_in_page(vcpu, srcaddr, 0); in handle_mvpg_pei()
/linux-6.1.9/drivers/dma/
Dsun4i-dma.c802 dma_addr_t srcaddr, dstaddr; in sun4i_dma_prep_slave_sg() local
842 srcaddr = sg_dma_address(sg); in sun4i_dma_prep_slave_sg()
845 srcaddr = sconfig->src_addr; in sun4i_dma_prep_slave_sg()
862 promise = generate_ddma_promise(chan, srcaddr, dstaddr, in sun4i_dma_prep_slave_sg()
866 promise = generate_ndma_promise(chan, srcaddr, dstaddr, in sun4i_dma_prep_slave_sg()
/linux-6.1.9/net/tipc/
Dsocket.c1699 DECLARE_SOCKADDR(struct sockaddr_pair *, srcaddr, m->msg_name); in tipc_sk_set_orig_addr()
1702 if (!srcaddr) in tipc_sk_set_orig_addr()
1705 srcaddr->sock.family = AF_TIPC; in tipc_sk_set_orig_addr()
1706 srcaddr->sock.addrtype = TIPC_SOCKET_ADDR; in tipc_sk_set_orig_addr()
1707 srcaddr->sock.scope = 0; in tipc_sk_set_orig_addr()
1708 srcaddr->sock.addr.id.ref = msg_origport(hdr); in tipc_sk_set_orig_addr()
1709 srcaddr->sock.addr.id.node = msg_orignode(hdr); in tipc_sk_set_orig_addr()
1710 srcaddr->sock.addr.name.domain = 0; in tipc_sk_set_orig_addr()
1717 srcaddr->member.family = AF_TIPC; in tipc_sk_set_orig_addr()
1718 srcaddr->member.addrtype = TIPC_SERVICE_ADDR; in tipc_sk_set_orig_addr()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c168 struct sockaddr_storage srcaddr, dstaddr; in add_path_store() local
170 .src = &srcaddr, in add_path_store()
/linux-6.1.9/net/ipv6/
Dseg6_iptunnel.c281 goto srcaddr; in seg6_do_srh_encap_red()
300 srcaddr: in seg6_do_srh_encap_red()
/linux-6.1.9/net/sunrpc/
Dxprtsock.c1738 memcpy(&myaddr, &transport->srcaddr, transport->xprt.addrlen); in xs_bind()
2806 if (args->srcaddr) in xs_setup_xprt()
2807 memcpy(&new->srcaddr, args->srcaddr, args->addrlen); in xs_setup_xprt()
2811 (struct sockaddr *)&new->srcaddr); in xs_setup_xprt()
Dsysfs.c403 static struct kobj_attribute rpc_sysfs_xprt_srcaddr = __ATTR(srcaddr,
Dclnt.c530 .srcaddr = args->saddress, in rpc_create()
/linux-6.1.9/include/trace/events/
Drpcrdma.h646 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
657 memcpy(__entry->srcaddr, &id->route.addr.src_addr,
664 __entry->srcaddr, __entry->dstaddr,
/linux-6.1.9/drivers/net/wireless/
Dray_cs.c2277 UCHAR srcaddr[ADDRLEN]; in untranslate() local
2283 memcpy(srcaddr, ieee80211_get_SA(pmac), ADDRLEN); in untranslate()
2344 memcpy(peth->h_source, srcaddr, ADDRLEN); in untranslate()
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-hcd.c382 static void isp1763_mem_read(struct usb_hcd *hcd, u16 srcaddr, in isp1763_mem_read() argument
388 isp1760_reg_write(priv->regs, ISP1763_HC_MEMORY, srcaddr); in isp1763_mem_read()