Searched refs:mc (Results 1 – 7 of 7) sorted by relevance
/net/ipv6/ |
D | mcast.c | 127 #define for_each_psf_mclock(mc, psf) \ argument 128 for (psf = mc_dereference((mc)->mca_sources, mc->idev); \ 130 psf = mc_dereference(psf->sf_next, mc->idev)) 132 #define for_each_psf_rcu(mc, psf) \ argument 133 for (psf = rcu_dereference((mc)->mca_sources); \ 137 #define for_each_psf_tomb(mc, psf) \ argument 138 for (psf = mc_dereference((mc)->mca_tomb, mc->idev); \ 140 psf = mc_dereference(psf->sf_next, mc->idev)) 142 #define for_each_mc_mclock(idev, mc) \ argument 143 for (mc = mc_dereference((idev)->mc_list, idev); \ [all …]
|
/net/openvswitch/ |
D | flow_table.c | 348 static void __mask_cache_destroy(struct mask_cache *mc) in __mask_cache_destroy() argument 350 free_percpu(mc->mask_cache); in __mask_cache_destroy() 351 kfree(mc); in __mask_cache_destroy() 356 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb() local 358 __mask_cache_destroy(mc); in mask_cache_rcu_cb() 393 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_resize() local 396 if (size == mc->cache_size) in ovs_flow_tbl_masks_cache_resize() 408 call_rcu(&mc->rcu, mask_cache_rcu_cb); in ovs_flow_tbl_masks_cache_resize() 416 struct mask_cache *mc; in ovs_flow_tbl_init() local 419 mc = tbl_mask_cache_alloc(MC_DEFAULT_HASH_ENTRIES); in ovs_flow_tbl_init() [all …]
|
/net/core/ |
D | dev_addr_lists.c | 816 err = __hw_addr_add_ex(&dev->mc, addr, dev->addr_len, in dev_mc_add_excl() 832 err = __hw_addr_add_ex(&dev->mc, addr, dev->addr_len, in __dev_mc_add() 873 err = __hw_addr_del_ex(&dev->mc, addr, dev->addr_len, in __dev_mc_del() 929 err = __hw_addr_sync(&to->mc, &from->mc, to->addr_len); in dev_mc_sync() 959 err = __hw_addr_sync_multiple(&to->mc, &from->mc, to->addr_len); in dev_mc_sync_multiple() 984 __hw_addr_unsync(&to->mc, &from->mc, to->addr_len); in dev_mc_unsync() 1000 __hw_addr_flush(&dev->mc); in dev_mc_flush() 1013 __hw_addr_init(&dev->mc); in dev_mc_init()
|
D | pktgen.c | 2409 __u32 mc; in mod_cur_headers() local 2413 mc = prandom_u32() % pkt_dev->src_mac_count; in mod_cur_headers() 2415 mc = pkt_dev->cur_src_mac_offset++; in mod_cur_headers() 2421 tmp = pkt_dev->src_mac[5] + (mc & 0xFF); in mod_cur_headers() 2423 tmp = (pkt_dev->src_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); in mod_cur_headers() 2425 tmp = (pkt_dev->src_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); in mod_cur_headers() 2427 tmp = (pkt_dev->src_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); in mod_cur_headers() 2435 __u32 mc; in mod_cur_headers() local 2439 mc = prandom_u32() % pkt_dev->dst_mac_count; in mod_cur_headers() 2442 mc = pkt_dev->cur_dst_mac_offset++; in mod_cur_headers() [all …]
|
D | rtnetlink.c | 4291 err = nlmsg_populate_fdb(skb, cb, dev, idx, &dev->mc); in ndo_dflt_fdb_dump()
|
/net/mac80211/ |
D | main.c | 38 u64 mc; in ieee80211_configure_filter() local 73 mc = drv_prepare_multicast(local, &local->mc_list); in ieee80211_configure_filter() 79 drv_configure_filter(local, changed_flags, &new_flags, mc); in ieee80211_configure_filter()
|
D | iface.c | 441 __hw_addr_unsync(&local->mc_list, &sdata->dev->mc, in ieee80211_do_stop() 673 __hw_addr_sync(&local->mc_list, &dev->mc, dev->addr_len); in ieee80211_set_multicast_list()
|