LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Certain multicast address not updating the /proc/net/dev counters (https://www.linuxquestions.org/questions/linux-networking-3/certain-multicast-address-not-updating-the-proc-net-dev-counters-4175436921/)

Rajesh.CB 11-13-2012 06:22 AM

Certain multicast address not updating the /proc/net/dev counters
 
Hi all ,

My linux board running a pico chip and pc302_emac driver is not allowing a certain range of Multicast addresses , the counters in /proc/net/dev get updated only for 224.0.0.1 , 224.0.0.65 and other address with +65 .

Any idea how can I get to these counters and who is updating these , for debugging further.

Thanks & regards,
CBR

Rajesh.CB 12-03-2012 08:15 AM

mc_count > 0 , Significance of this flag
 
Hi all ,

My linux board running a pico chip and pc302_emac driver is not allowing a certain range of Multicast addresses , the counters in /proc/net/dev get updated only for 224.0.0.1 , 224.0.0.65 and other address with +65 .

I put some printfs to debug , and see that , the

dev->flags is set not to IFF_ALLMULTI , instead the code goes to dev->mc_count > 0 , where a sethash table function adds only specific , Multicast addresses are allowed.

I just wanted to know as to , where this dev->mc_count is set ? and what significance does it have .

Thanks & regards,
CBR


All times are GMT -5. The time now is 04:20 AM.