Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/include/uapi/linux/netfilter/
Dxt_mac.h8 unsigned char srcaddr[ETH_ALEN]; member
/linux-6.6.21/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.6.21/include/linux/sunrpc/
Dxprtsock.h61 struct sockaddr_storage srcaddr; member
Dxprt.h346 struct sockaddr * srcaddr; /* optional local address */ member
/linux-6.6.21/net/netfilter/
Dxt_mac.c36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
/linux-6.6.21/fs/smb/client/
Dcifsfs.c544 struct sockaddr *srcaddr; in cifs_show_options() local
545 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()
561 if (srcaddr->sa_family != AF_UNSPEC) { in cifs_show_options()
564 saddr4 = (struct sockaddr_in *)srcaddr; in cifs_show_options()
565 saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_show_options()
566 if (srcaddr->sa_family == AF_INET6) in cifs_show_options()
569 else if (srcaddr->sa_family == AF_INET) in cifs_show_options()
574 (int)(srcaddr->sa_family)); in cifs_show_options()
Dconnect.c1343 cifs_ipaddr_cmp(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_ipaddr_cmp() argument
1345 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_ipaddr_cmp()
1347 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_ipaddr_cmp()
1350 switch (srcaddr->sa_family) { in cifs_ipaddr_cmp()
1397 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_match_ipaddr() argument
1399 switch (srcaddr->sa_family) { in cifs_match_ipaddr()
1403 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_match_ipaddr()
1408 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_match_ipaddr()
1519 if (!cifs_match_ipaddr((struct sockaddr *)&ctx->srcaddr, in match_server()
1520 (struct sockaddr *)&server->srcaddr)) in match_server()
[all …]
Dfs_context.h258 struct sockaddr_storage srcaddr; /* allow binding to a local IP */ member
Dcifsproto.h92 extern int cifs_ipaddr_cmp(struct sockaddr *srcaddr, struct sockaddr *rhs);
93 extern bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs);
Dfs_context.c1287 (struct sockaddr *)&ctx->srcaddr, in smb3_fs_context_parse_param()
Dcifsglob.h664 struct sockaddr_storage srcaddr; /* locally bind to this IP */ member
/linux-6.6.21/arch/s390/kvm/
Dintercept.c360 unsigned long srcaddr, dstaddr; in handle_mvpg_pei() local
367 reg2, &srcaddr, GACC_FETCH, 0); in handle_mvpg_pei()
370 rc = kvm_arch_fault_in_page(vcpu, srcaddr, 0); in handle_mvpg_pei()
/linux-6.6.21/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.6.21/net/tipc/
Dsocket.c1700 DECLARE_SOCKADDR(struct sockaddr_pair *, srcaddr, m->msg_name); in tipc_sk_set_orig_addr()
1703 if (!srcaddr) in tipc_sk_set_orig_addr()
1706 srcaddr->sock.family = AF_TIPC; in tipc_sk_set_orig_addr()
1707 srcaddr->sock.addrtype = TIPC_SOCKET_ADDR; in tipc_sk_set_orig_addr()
1708 srcaddr->sock.scope = 0; in tipc_sk_set_orig_addr()
1709 srcaddr->sock.addr.id.ref = msg_origport(hdr); in tipc_sk_set_orig_addr()
1710 srcaddr->sock.addr.id.node = msg_orignode(hdr); in tipc_sk_set_orig_addr()
1711 srcaddr->sock.addr.name.domain = 0; in tipc_sk_set_orig_addr()
1718 srcaddr->member.family = AF_TIPC; in tipc_sk_set_orig_addr()
1719 srcaddr->member.addrtype = TIPC_SERVICE_ADDR; in tipc_sk_set_orig_addr()
[all …]
/linux-6.6.21/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.6.21/net/ipv6/
Dseg6_iptunnel.c281 goto srcaddr; in seg6_do_srh_encap_red()
300 srcaddr: in seg6_do_srh_encap_red()
/linux-6.6.21/net/sunrpc/
Dxprtsock.c1804 memcpy(&myaddr, &transport->srcaddr, transport->xprt.addrlen); in xs_bind()
3164 if (args->srcaddr) in xs_setup_xprt()
3165 memcpy(&new->srcaddr, args->srcaddr, args->addrlen); in xs_setup_xprt()
3169 (struct sockaddr *)&new->srcaddr); in xs_setup_xprt()
Dsysfs.c404 static struct kobj_attribute rpc_sysfs_xprt_srcaddr = __ATTR(srcaddr,
Dclnt.c534 .srcaddr = args->saddress, in rpc_create()
/linux-6.6.21/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.6.21/drivers/net/wireless/legacy/
Dray_cs.c2282 UCHAR srcaddr[ADDRLEN]; in untranslate() local
2288 memcpy(srcaddr, ieee80211_get_SA(pmac), ADDRLEN); in untranslate()
2349 memcpy(peth->h_source, srcaddr, ADDRLEN); in untranslate()
/linux-6.6.21/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()