neigh: convert parms to an array
[sfrench/cifs-2.6.git] / net / 802 / hippi.c
index 51a1f530417d35f9d99e18abf7152934cdea1e77..a97a3bde77bb8b8d6a83c7c5407343553db36f7f 100644 (file)
@@ -172,14 +172,14 @@ EXPORT_SYMBOL(hippi_mac_addr);
 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p)
 {
        /* Never send broadcast/multicast ARP messages */
-       p->mcast_probes = 0;
+       NEIGH_VAR_SET(p, MCAST_PROBES, 0);
 
        /* In IPv6 unicast probes are valid even on NBMA,
        * because they are encapsulated in normal IPv6 protocol.
        * Should be a generic flag.
        */
        if (p->tbl->family != AF_INET6)
-               p->ucast_probes = 0;
+               NEIGH_VAR_SET(p, UCAST_PROBES, 0);
        return 0;
 }
 EXPORT_SYMBOL(hippi_neigh_setup_dev);