tag | line | file | source code |
ih | 101 | net/ipv4/igmp.c | struct igmphdr *ih; |
ih | 112 | net/ipv4/igmp.c | ih=(struct igmphdr *)skb_put(skb,sizeof(struct igmphdr)); |
ih | 113 | net/ipv4/igmp.c | ih->type=IGMP_HOST_MEMBERSHIP_REPORT; |
ih | 114 | net/ipv4/igmp.c | ih->code=0; |
ih | 115 | net/ipv4/igmp.c | ih->csum=0; |
ih | 116 | net/ipv4/igmp.c | ih->group=address; |
ih | 117 | net/ipv4/igmp.c | ih->csum=ip_compute_csum((void *)ih,sizeof(struct igmphdr)); /* Checksum fill */ |
ih | 218 | net/ipv4/igmp.c | struct igmphdr *ih; |
ih | 232 | net/ipv4/igmp.c | ih=(struct igmphdr *)skb->h.raw; |
ih | 240 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_QUERY && daddr==IGMP_ALL_HOSTS) |
ih | 242 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_REPORT && daddr==ih->group) |
ih | 243 | net/ipv4/igmp.c | igmp_heard_report(dev,ih->group); |