Home
last modified time | relevance | path

Searched refs:dmi1 (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/net/core/
Ddev_mcast.c157 struct dev_mc_list *dmi, *dmi1; in dev_mc_add() local
159 dmi1 = (struct dev_mc_list *)kmalloc(sizeof(*dmi), GFP_ATOMIC); in dev_mc_add()
176 if ((dmi = dmi1) == NULL) { in dev_mc_add()
195 if (dmi1) in dev_mc_add()
196 kfree(dmi1); in dev_mc_add()
/linux-2.4.37.9/net/8021q/
Dvlan_dev.c734 static inline int vlan_dmi_equals(struct dev_mc_list *dmi1, in vlan_dmi_equals() argument
737 return ((dmi1->dmi_addrlen == dmi2->dmi_addrlen) && in vlan_dmi_equals()
738 (memcmp(dmi1->dmi_addr, dmi2->dmi_addr, dmi1->dmi_addrlen) == 0)); in vlan_dmi_equals()
/linux-2.4.37.9/drivers/net/bonding/
Dbond_main.c1163 static inline int bond_is_dmi_same(struct dev_mc_list *dmi1, struct dev_mc_list *dmi2) in bond_is_dmi_same() argument
1165 return memcmp(dmi1->dmi_addr, dmi2->dmi_addr, dmi1->dmi_addrlen) == 0 && in bond_is_dmi_same()
1166 dmi1->dmi_addrlen == dmi2->dmi_addrlen; in bond_is_dmi_same()