Searched refs:ml (Results 1 – 2 of 2) sorted by relevance
41 struct packet_mclist *ml; in pdiag_put_mclist() local48 for (ml = po->mclist; ml; ml = ml->next) { in pdiag_put_mclist()58 dml->pdmc_index = ml->ifindex; in pdiag_put_mclist()59 dml->pdmc_type = ml->type; in pdiag_put_mclist()60 dml->pdmc_alen = ml->alen; in pdiag_put_mclist()61 dml->pdmc_count = ml->count; in pdiag_put_mclist()62 BUILD_BUG_ON(sizeof(dml->pdmc_addr) != sizeof(ml->addr)); in pdiag_put_mclist()63 memcpy(dml->pdmc_addr, ml->addr, sizeof(ml->addr)); in pdiag_put_mclist()
3614 struct packet_mclist *ml; in packet_dev_mclist_delete() local3616 while ((ml = *mlp) != NULL) { in packet_dev_mclist_delete()3617 if (ml->ifindex == dev->ifindex) { in packet_dev_mclist_delete()3618 packet_dev_mc(dev, ml, -1); in packet_dev_mclist_delete()3619 *mlp = ml->next; in packet_dev_mclist_delete()3620 kfree(ml); in packet_dev_mclist_delete()3622 mlp = &ml->next; in packet_dev_mclist_delete()3629 struct packet_mclist *ml, *i; in packet_mc_add() local3650 for (ml = po->mclist; ml; ml = ml->next) { in packet_mc_add()3651 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add()[all …]