Lines Matching refs:igmplen
1013 int i, igmplen, version = ifp->igmpi_version;
1044 igmplen = 8;
1048 igmplen = 8;
1055 igmplen = sizeof(*query)+(numsrc-1)*sizeof(struct in_addr);
1079 query->igmpq_cksum = in_cksum((unsigned short*) query, igmplen);
1087 sendto(ifp->igmpi_socket, (void*) query, igmplen, 0,
1276 int igmplen=0,size=0;
1294 igmplen += sizeof(igmpr_t);
1336 v2_report->igmpr_cksum = in_cksum((unsigned short*) v2_report, igmplen);
1408 //igmplen += 4; /* Foxconn removed, zacker, 05/11/2009, no need */
1411 v2_report->igmpr_cksum = in_cksum((unsigned short*) v2_report, igmplen);
1462 int igmplen=0, recordnum=0;
1504 igmplen += sizeof(igmp_report_t);
1529 igmplen += sizeof(igmp_grouprec_t);
1537 v3_report->igmpr_cksum = in_cksum((unsigned short*) v3_report, igmplen);
1546 ret=sendto(wan_igmp_socket2, (void*) v3_report, igmplen, 0, (struct sockaddr*)&sin, sizeof(sin));
1547 // duplicate_igmp_to_vlan2((void*) v3_report, igmplen, 0, (struct sockaddr*)&sin, sizeof(sin));
1550 sendto(wan_igmp_socket, (void*) v3_report, igmplen, 0, (struct sockaddr*)&sin, sizeof(sin));
1586 igmplen += sizeof(igmp_grouprec_t);
1607 v3_report->igmpr_cksum = in_cksum((unsigned short*) v3_report, igmplen);
1621 ret=sendto(wan_igmp_socket2, (void*) v3_report, igmplen, 0, (struct sockaddr*)&sin, sizeof(sin));
1622 // duplicate_igmp_to_vlan2((void*) v3_report, igmplen, 0, (struct sockaddr*)&sin, sizeof(sin));
1625 sendto(wan_igmp_socket, (void*) v3_report, igmplen, 0, (struct sockaddr*)&sin, sizeof(sin));
1869 int igmplen=0,size;
1888 igmplen += 4;
1893 igmplen += 4;
1895 v2_report->igmpr_cksum = in_cksum((unsigned short*) v2_report, igmplen);