Home
last modified time | relevance | path

Searched refs:src_idx (Results 1 – 4 of 4) sorted by relevance

/net/bridge/
Dbr_multicast_eht.c514 u32 src_idx; in __eht_create_set_entries() local
517 for (src_idx = 0; src_idx < nsrcs; src_idx++) { in __eht_create_set_entries()
518 memcpy(&eht_src_addr, srcs + (src_idx * addr_size), addr_size); in __eht_create_set_entries()
536 u32 src_idx; in __eht_del_set_entries() local
541 for (src_idx = 0; src_idx < nsrcs; src_idx++) { in __eht_del_set_entries()
542 memcpy(&eht_src_addr, srcs + (src_idx * addr_size), addr_size); in __eht_del_set_entries()
545 memcpy(&src_ip, srcs + (src_idx * addr_size), addr_size); in __eht_del_set_entries()
Dbr_multicast.c2093 u32 src_idx; in br_multicast_isinc_allow() local
2097 for (src_idx = 0; src_idx < nsrcs; src_idx++) { in br_multicast_isinc_allow()
2098 memcpy(&src_ip.src, srcs + (src_idx * addr_size), addr_size); in br_multicast_isinc_allow()
2129 u32 src_idx; in __grp_src_isexc_incl() local
2136 for (src_idx = 0; src_idx < nsrcs; src_idx++) { in __grp_src_isexc_incl()
2137 memcpy(&src_ip.src, srcs + (src_idx * addr_size), addr_size); in __grp_src_isexc_incl()
2168 u32 src_idx; in __grp_src_isexc_excl() local
2175 for (src_idx = 0; src_idx < nsrcs; src_idx++) { in __grp_src_isexc_excl()
2176 memcpy(&src_ip.src, srcs + (src_idx * addr_size), addr_size); in __grp_src_isexc_excl()
2236 u32 src_idx, to_send = pg->src_ents; in __grp_src_toin_incl() local
[all …]
/net/can/
Dgw.c122 int src_idx; member
733 if (nla_put_u32(skb, CGW_SRC_IF, gwj->ccgw.src_idx) < 0) in cgw_put_job()
1033 ccgw->src_idx = nla_get_u32(tb[CGW_SRC_IF]); in cgw_parse_attr()
1037 if (!ccgw->src_idx && !ccgw->dst_idx) in cgw_parse_attr()
1041 if (!ccgw->src_idx || !ccgw->dst_idx) in cgw_parse_attr()
1100 if (!ccgw.src_idx || !ccgw.dst_idx) in cgw_create_job()
1120 gwj->src.dev = __dev_get_by_index(net, gwj->ccgw.src_idx); in cgw_create_job()
1194 if (!ccgw.src_idx && !ccgw.dst_idx) { in cgw_remove_job()
/net/ipv6/
Ddatagram.c788 int src_idx; in ip6_datagram_send_ctl() local
796 src_idx = src_info->ipi6_ifindex; in ip6_datagram_send_ctl()
798 if (src_idx) { in ip6_datagram_send_ctl()
800 src_idx != fl6->flowi6_oif && in ip6_datagram_send_ctl()
802 !sk_dev_equal_l3scope(sk, src_idx))) in ip6_datagram_send_ctl()
804 fl6->flowi6_oif = src_idx; in ip6_datagram_send_ctl()