Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 11 of 11) sorted by relevance

/net/ieee802154/
Dsocket.c444 struct ieee802154_addr src_addr; member
527 ro->src_addr = haddr; in dgram_bind()
648 dev = ieee802154_get_dev(sock_net(sk), &ro->src_addr); in dgram_sendmsg()
685 ro->bound ? &ro->src_addr : NULL, size); in dgram_sendmsg()
788 if (ro->src_addr.mode == IEEE802154_ADDR_LONG && in ieee802154_match_sock()
789 hw_addr == ro->src_addr.extended_addr) in ieee802154_match_sock()
792 if (ro->src_addr.mode == IEEE802154_ADDR_SHORT && in ieee802154_match_sock()
793 pan_id == ro->src_addr.pan_id && in ieee802154_match_sock()
794 short_addr == ro->src_addr.short_addr) in ieee802154_match_sock()
/net/rose/
Drose_route.c859 rose_address *src_addr, *dest_addr; in rose_route_frame() local
881 src_addr = (rose_address *)(skb->data + ROSE_CALL_REQ_SRC_ADDR_OFF); in rose_route_frame()
1035 rosecmp(src_addr, &rose_route->src_addr) == 0 && in rose_route_frame()
1060 rose_route->src_addr = *src_addr; in rose_route_frame()
1272 rose2asc(rsbuf, &rose_route->src_addr), in rose_route_show()
/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c221 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in handle_connect_req()
243 struct sockaddr *sap = (struct sockaddr *)&cma_id->route.addr.src_addr; in rdma_listen_handler()
365 sa = (struct sockaddr *)&cma_xprt->sc_cm_id->route.addr.src_addr; in svc_rdma_create()
534 sap = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in svc_rdma_accept()
/net/rds/
Dib.c302 iinfo->src_addr = conn->c_laddr.s6_addr32[3]; in rds_ib_conn_info_visitor()
339 iinfo6->src_addr = conn->c_laddr; in rds6_ib_conn_info_visitor()
/net/netfilter/ipvs/
Dip_vs_core.c278 const union nf_inet_addr *src_addr, *dst_addr; in ip_vs_sched_persist() local
281 src_addr = &iph->saddr; in ip_vs_sched_persist()
284 src_addr = &iph->daddr; in ip_vs_sched_persist()
292 ipv6_addr_prefix(&snet.in6, &src_addr->in6, in ip_vs_sched_persist()
296 snet.ip = src_addr->ip & svc->netmask; in ip_vs_sched_persist()
300 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist()
409 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist()
/net/wireless/
Dlib80211_crypt_tkip.c577 ev.src_addr.sa_family = ARPHRD_ETHER; in lib80211_michael_mic_failure()
578 memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); in lib80211_michael_mic_failure()
/net/ipv6/
Dndisc.c525 const struct in6_addr *src_addr; in ndisc_send_na() local
532 src_addr = solicited_addr; in ndisc_send_na()
542 src_addr = &tmpaddr; in ndisc_send_na()
571 ndisc_send_skb(skb, daddr, src_addr); in ndisc_send_na()
Dmcast.c621 const struct in6_addr *src_addr) in inet6_mc_check() argument
645 if (ipv6_addr_equal(&psl->sl_addr[i], src_addr)) in inet6_mc_check()
994 const struct in6_addr *src_addr) in ipv6_chk_mcast_addr() argument
1009 if (src_addr && !ipv6_addr_any(src_addr)) { in ipv6_chk_mcast_addr()
1014 if (ipv6_addr_equal(&psf->sf_addr, src_addr)) in ipv6_chk_mcast_addr()
/net/ax25/
Daf_ax25.c221 ax25_cb *ax25_find_cb(ax25_address *src_addr, ax25_address *dest_addr, in ax25_find_cb() argument
232 …if (ax25cmp(&s->source_addr, src_addr) == 0 && ax25cmp(&s->dest_addr, dest_addr) == 0 && s->ax25_d… in ax25_find_cb()
/net/ipv4/
Digmp.c2712 int ip_check_mc_rcu(struct in_device *in_dev, __be32 mc_addr, __be32 src_addr, u8 proto) in ip_check_mc_rcu() argument
2738 if (src_addr) { in ip_check_mc_rcu()
2741 if (psf->sf_inaddr == src_addr) in ip_check_mc_rcu()
/net/mac80211/
Dtx.c4853 const u8 *src_addr, in ieee80211_probereq_get() argument
4876 memcpy(hdr->addr2, src_addr, ETH_ALEN); in ieee80211_probereq_get()