Lines Matching defs:ipm
1788 static void qeth_l3_get_mac_for_ipm(__u32 ipm, char *mac,
1792 ip_tr_mc_map(ipm, mac);
1794 ip_eth_mc_map(ipm, mac);
1799 struct qeth_ipaddr *ipm;
1806 ipm = qeth_l3_get_addr_buffer(QETH_PROT_IPV4);
1807 if (!ipm)
1809 ipm->u.a4.addr = im4->multiaddr;
1810 memcpy(ipm->mac, buf, OSA_ADDR_LEN);
1811 ipm->is_multicast = 1;
1812 if (!qeth_l3_add_ip(card, ipm))
1813 kfree(ipm);
1861 struct qeth_ipaddr *ipm;
1868 ipm = qeth_l3_get_addr_buffer(QETH_PROT_IPV6);
1869 if (!ipm)
1871 ipm->is_multicast = 1;
1872 memcpy(ipm->mac, buf, OSA_ADDR_LEN);
1873 memcpy(&ipm->u.a6.addr, &im6->mca_addr.s6_addr,
1875 if (!qeth_l3_add_ip(card, ipm))
1876 kfree(ipm);