Home
last modified time | relevance | path

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

/net/bridge/
Dbr_multicast_eht.c34 union net_bridge_eht_addr *src_addr,
38 union net_bridge_eht_addr *src_addr,
105 union net_bridge_eht_addr *src_addr) in br_multicast_eht_set_lookup() argument
115 result = memcmp(src_addr, &this->src_addr, sizeof(*src_addr)); in br_multicast_eht_set_lookup()
218 &set_h->eht_set->src_addr, in br_multicast_eht_set_entry_expired()
339 union net_bridge_eht_addr *src_addr) in __eht_lookup_create_set() argument
350 result = memcmp(src_addr, &this->src_addr, sizeof(*src_addr)); in __eht_lookup_create_set()
364 memcpy(&eht_set->src_addr, src_addr, sizeof(*src_addr)); in __eht_lookup_create_set()
419 union net_bridge_eht_addr *src_addr, in br_multicast_create_eht_set_entry() argument
431 if (!allow_zero_src && !memcmp(src_addr, &zero_addr, sizeof(zero_addr))) in br_multicast_create_eht_set_entry()
[all …]
Dbr_private_mcast_eht.h44 union net_bridge_eht_addr src_addr; member
/net/ieee802154/
Dsocket.c439 struct ieee802154_addr src_addr; member
522 ro->src_addr = haddr; in dgram_bind()
643 dev = ieee802154_get_dev(sock_net(sk), &ro->src_addr); in dgram_sendmsg()
680 ro->bound ? &ro->src_addr : NULL, size); in dgram_sendmsg()
783 if (ro->src_addr.mode == IEEE802154_ADDR_LONG && in ieee802154_match_sock()
784 hw_addr == ro->src_addr.extended_addr) in ieee802154_match_sock()
787 if (ro->src_addr.mode == IEEE802154_ADDR_SHORT && in ieee802154_match_sock()
788 pan_id == ro->src_addr.pan_id && in ieee802154_match_sock()
789 short_addr == ro->src_addr.short_addr) in ieee802154_match_sock()
/net/rose/
Drose_route.c860 rose_address *src_addr, *dest_addr; in rose_route_frame() local
882 src_addr = (rose_address *)(skb->data + ROSE_CALL_REQ_SRC_ADDR_OFF); in rose_route_frame()
1036 rosecmp(src_addr, &rose_route->src_addr) == 0 && in rose_route_frame()
1061 rose_route->src_addr = *src_addr; in rose_route_frame()
1273 rose2asc(rsbuf, &rose_route->src_addr), in rose_route_show()
/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c223 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in handle_connect_req()
343 sa = (struct sockaddr *)&cma_xprt->sc_cm_id->route.addr.src_addr; in svc_rdma_create()
512 sap = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in svc_rdma_accept()
/net/rds/
Dib.c306 iinfo->src_addr = conn->c_laddr.s6_addr32[3]; in rds_ib_conn_info_visitor()
343 iinfo6->src_addr = conn->c_laddr; in rds6_ib_conn_info_visitor()
/net/netfilter/ipvs/
Dip_vs_core.c266 const union nf_inet_addr *src_addr, *dst_addr; in ip_vs_sched_persist() local
269 src_addr = &iph->saddr; in ip_vs_sched_persist()
272 src_addr = &iph->daddr; in ip_vs_sched_persist()
280 ipv6_addr_prefix(&snet.in6, &src_addr->in6, in ip_vs_sched_persist()
284 snet.ip = src_addr->ip & svc->netmask; in ip_vs_sched_persist()
288 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist()
397 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.c527 const struct in6_addr *src_addr; in ndisc_send_na() local
534 src_addr = solicited_addr; in ndisc_send_na()
544 src_addr = &tmpaddr; in ndisc_send_na()
573 ndisc_send_skb(skb, daddr, src_addr); in ndisc_send_na()
Dmcast.c631 const struct in6_addr *src_addr) in inet6_mc_check() argument
654 if (ipv6_addr_equal(&psl->sl_addr[i], src_addr)) in inet6_mc_check()
1015 const struct in6_addr *src_addr) in ipv6_chk_mcast_addr() argument
1029 if (src_addr && !ipv6_addr_any(src_addr)) { in ipv6_chk_mcast_addr()
1033 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.c2715 int ip_check_mc_rcu(struct in_device *in_dev, __be32 mc_addr, __be32 src_addr, u8 proto) in ip_check_mc_rcu() argument
2741 if (src_addr) { in ip_check_mc_rcu()
2744 if (psf->sf_inaddr == src_addr) in ip_check_mc_rcu()
/net/mac80211/
Dtx.c5471 const u8 *src_addr, in ieee80211_probereq_get() argument
5494 memcpy(hdr->addr2, src_addr, ETH_ALEN); in ieee80211_probereq_get()