Lines Matching refs:ipm
1104 struct qeth_ipaddr *tmp, *ipm; in qeth_l3_add_mc_to_hash() local
1118 ipm = qeth_l3_find_addr_by_ip(card, tmp); in qeth_l3_add_mc_to_hash()
1119 if (ipm) { in qeth_l3_add_mc_to_hash()
1121 ipm->disp_flag = QETH_DISP_ADDR_DO_NOTHING; in qeth_l3_add_mc_to_hash()
1123 ipm = qeth_l3_get_addr_buffer(QETH_PROT_IPV4); in qeth_l3_add_mc_to_hash()
1124 if (!ipm) in qeth_l3_add_mc_to_hash()
1126 ether_addr_copy(ipm->mac, tmp->mac); in qeth_l3_add_mc_to_hash()
1127 ipm->u.a4.addr = be32_to_cpu(im4->multiaddr); in qeth_l3_add_mc_to_hash()
1128 ipm->is_multicast = 1; in qeth_l3_add_mc_to_hash()
1129 ipm->disp_flag = QETH_DISP_ADDR_ADD; in qeth_l3_add_mc_to_hash()
1131 &ipm->hnode, qeth_l3_ipaddr_hash(ipm)); in qeth_l3_add_mc_to_hash()
1183 struct qeth_ipaddr *ipm; in qeth_l3_add_mc6_to_hash() local
1199 ipm = qeth_l3_find_addr_by_ip(card, tmp); in qeth_l3_add_mc6_to_hash()
1200 if (ipm) { in qeth_l3_add_mc6_to_hash()
1202 ipm->disp_flag = QETH_DISP_ADDR_DO_NOTHING; in qeth_l3_add_mc6_to_hash()
1206 ipm = qeth_l3_get_addr_buffer(QETH_PROT_IPV6); in qeth_l3_add_mc6_to_hash()
1207 if (!ipm) in qeth_l3_add_mc6_to_hash()
1210 ether_addr_copy(ipm->mac, tmp->mac); in qeth_l3_add_mc6_to_hash()
1211 memcpy(&ipm->u.a6.addr, &im6->mca_addr.s6_addr, in qeth_l3_add_mc6_to_hash()
1213 ipm->is_multicast = 1; in qeth_l3_add_mc6_to_hash()
1214 ipm->disp_flag = QETH_DISP_ADDR_ADD; in qeth_l3_add_mc6_to_hash()
1216 &ipm->hnode, qeth_l3_ipaddr_hash(ipm)); in qeth_l3_add_mc6_to_hash()